Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Not seeing repositories from feature.xml files in content.xml/jar

Try creating a p2.inf file and placing it in your feature project right next to your feature.xml.  Add the instructions.configure line like this but reference your repositories.

instructions.configure=\
org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//download.eclipse.org/tools/mylyn/update/indigo,type:0,name:Mylyn for Eclipse Indigo,enabled:true); \
org.eclipse.equinox.p2.touchpoint.eclipse.addRepository(location:http${#58}//download.eclipse.org/tools/mylyn/update/indigo,type:1,name:Mylyn for Eclipse Indigo,enabled:true); 

Currently I'm doing this but with an eclipse product, but it should work for features as well according to this:  http://wiki.eclipse.org/Equinox/p2/Customizing_Metadata

On Sat, Nov 5, 2011 at 6:38 AM, Jeff Johnston <jjohnstn@xxxxxxxxxx> wrote:
I am using tycho to build my project.

 <packaging>eclipse-repository</packaging>

 <build>
   <plugins>
     <plugin>
       <groupId>org.eclipse.tycho</groupId>
       <artifactId>tycho-p2-publisher-plugin</artifactId>
       <version>${tycho-version}</version>
       <configuration>
         <publishArtifacts>true</publishArtifacts>
       </configuration>
     </plugin>
   </plugins>
 </build>


The content.xml file created does not contain references to the update repository site that is mentioned in all my feature.xml files.

How do I get the publisher to add that refence into content.xml?

-- Jeff J.
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user



--
Greg Amerson
Liferay, Inc.


Back to the top