Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 344851

Summary: [repository] Composite repo "create" ant tasks should have the ability to set atomic flag
Product: [Eclipse Project] Equinox Reporter: Katya Stoycheva <katya.stoycheva>
Component: p2Assignee: Pascal Rapicault <pascal>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: pascal
Version: unspecified   
Target Milestone: 3.7 RC1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Ant tasks modified to be atomic aware; test cases added pascal: iplog+, pascal: review+

Description Katya Stoycheva CLA 2011-05-05 10:57:42 EDT
Build Identifier: I20110310-1119

There should be a way for the end user to set the "atomic" flag of the repositories (both artifact and metadata) when they are created.

Reproducible: Always
Comment 1 Katya Stoycheva CLA 2011-05-05 11:11:27 EDT
Created attachment 194839 [details]
Ant tasks modified to be atomic aware; test cases added

This bug is related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=312984
Ant tasks modified to set the atomic flag of newly created repository if passed "atomic" attribute to the ant task is set to "true"
CreateCompositeArtifactRepositoryTask corresponding to "p2.composite.artifact.repository.create"
CreateCompositeMetadataRepositoryTask corresponding to "p2.composite.metadata.repository.create"

If there are other ant tasks which need to be atomic aware please let me know and I'll modify them accordingly.
Comment 2 Pascal Rapicault CLA 2011-05-05 23:18:53 EDT
I reviewed and released the patch. Thx for doing this work.