Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344851 - [repository] Composite repo "create" ant tasks should have the ability to set atomic flag
Summary: [repository] Composite repo "create" ant tasks should have the ability to set...
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.7 RC1   Edit
Assignee: Pascal Rapicault CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-05 10:57 EDT by Katya Stoycheva CLA
Modified: 2011-05-05 23:19 EDT (History)
1 user (show)

See Also:


Attachments
Ant tasks modified to be atomic aware; test cases added (6.88 KB, patch)
2011-05-05 11:11 EDT, Katya Stoycheva CLA
pascal: iplog+
pascal: review+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.