Jump to: navigation, search

Difference between revisions of "Talk:Tycho/Additional Tools"

m
m
Line 2: Line 2:
  
 
Ant:
 
Ant:
<source lang="xml">
+
<source lang="xml"><property name="URL" value="http://dist.springsource.com/release/TOOLS/update/e3.7/" />
<property name="URL" value="http://dist.springsource.com/release/TOOLS/update/e3.7/" />
+
<p2.mirror>
<p2.mirror>
+
<repository location="file:${destination}/2.6.0.201103160035/" name="SpringIDE plugins for Eclipse 3.7" />
<repository location="file:${destination}/2.6.0.201103160035/" name="SpringIDE plugins for Eclipse 3.7" />
+
< source>
< source>
+
<repository location="${URL}" />
<repository location="${URL}" />
+
</ source>
</ source>
+
</p2.mirror></source>
</p2.mirror>
+
</source>
+
  
 
Maven:
 
Maven:
Line 16: Line 14:
 
I can only set a destination path:
 
I can only set a destination path:
  
<source lang="xml">
+
<source lang="xml"><destination>${project.build.directory}/site</destination></source>
  <destination>${project.build.directory}/site</destination>
+
</source>
+
 
And while the *source* can include nested properties...
 
And while the *source* can include nested properties...
  
<source lang="xml">
+
<source lang="xml">< source>
< source>
+
<repository>
<repository>
+
<url>http://dist.springsource.com/release/TOOLS/update/e3.7</url>
<url>http://dist.springsource.com/release/TOOLS/update/e3.7</url>
+
<layout>p2</layout>
<layout>p2</layout>
+
</repository>
</repository>
+
</ source></source>
</ source>
+
</source>
+
 
... I can't do the same for the *destination*:
 
... I can't do the same for the *destination*:
  
<destination>
+
<source lang="xml"><destination>
<repository>
+
<repository>
<url>${project.build.directory}/site</url>
+
<url>${project.build.directory}/site</url>
<layout>p2</layout>
+
<layout>p2</layout>
<name>SpringIDE plugins for eclipse 3.7</name>
+
<name>SpringIDE plugins for eclipse 3.7</name>
</repository>
+
</repository>
</destination>
+
</destination></source>

Revision as of 11:39, 23 September 2011

How can I name the destination repo?

Ant:

<property name="URL" value="http://dist.springsource.com/release/TOOLS/update/e3.7/" />
<p2.mirror>
	<repository location="file:${destination}/2.6.0.201103160035/" name="SpringIDE plugins for Eclipse 3.7" />
	< source>
		<repository location="${URL}" />
	</ source>
</p2.mirror>

Maven:

I can only set a destination path:

<destination>${project.build.directory}/site</destination>

And while the *source* can include nested properties...

< source>
	<repository>
		<url>http://dist.springsource.com/release/TOOLS/update/e3.7</url>
		<layout>p2</layout>
	</repository>
</ source>

... I can't do the same for the *destination*:

<destination>
	<repository>
		<url>${project.build.directory}/site</url>
		<layout>p2</layout>
		<name>SpringIDE plugins for eclipse 3.7</name>
	</repository>
</destination>