Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358242 - layout=p2 should be the default in source/repository configuration of mirror goal
Summary: layout=p2 should be the default in source/repository configuration of mirror ...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Tycho (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Tobias Oberlies CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-20 09:19 EDT by Tobias Oberlies CLA
Modified: 2021-04-28 16:54 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Oberlies CLA 2011-09-20 09:19:44 EDT
The mirror goal [1] currently takes the following configuration:

				<source>
					<repository>
						<url>http://download.eclipse.org/releases/indigo/</url>
						<layout>p2</layout>
					</repository>
				</source>

It should be possible to omit the layout attribute:

				<source>
					<repository>
						<url>http://download.eclipse.org/releases/indigo/</url>
					</repository>
				</source>

Currently this yields an NPE.

[1] http://wiki.eclipse.org/Tycho/Additional_Tools
Comment 1 Tobias Oberlies CLA 2012-05-22 09:52:45 EDT
This has been fixed with commit 981f99f (in tycho-extras) a while ago. The fix is already included in 0.14.0.