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

From Eclipsepedia

Jump to: navigation, search
m
Line 19: Line 19:
 
  <destination>${project.build.directory}/site</destination>
 
  <destination>${project.build.directory}/site</destination>
 
</source>
 
</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>
Line 29: Line 29:
 
</ source>
 
</ source>
 
</source>
 
</source>
... I can't do the same for the destination:
+
... I can't do the same for the *destination*:
  
 
<destination>
 
<destination>

Revision as of 12:37, 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>