thank you very much,Stefan!
that is very useful for me!
expecting your article!
2011-05-24
oliver_tech
·¢ŒþÈË£º Stefan Weber
·¢ËÍʱŒä£º 2011-05-24 15:25:12
ÊÕŒþÈË£º tycho-user
³ËÍ£º
Ö÷Ì⣺ Re: [tycho-user] [tycho-user] how to use a local p2 repository?
Hi Oliver,
i'm working on our eclipse projects with 5 collegues. So we had the same issue (no bandwidth for always downloading).
For this reason i downloaded every eclipse package/install i needed (e.g. RCP, JEE, WTP, Delta Pack etc.) and put it into one eclipse folder. After that i created a site.xml containing all features from the merged packages (I have a tool for this [1]). From this merged site.xml i ran the eclipse p2 publisher:
java -jar plugins/org.eclipse.equinox.launcher_*.jar
-nosplash -application org.eclipse.equinox.p2.publisher.UpdateSitePublisher
-metadataRepository file:/<location_where_the_repository_will_be_created>
-artifactRepository file:/<location_where_the_repository_will_be_created>
-source <the_eclipse_installation_directory_for_which_the_p2_repository_will_be_created>
-compress -publishArtifacts -addJREIU
After this you have a fully functional eclipse p2 mirror for all the packages you downloaded. You can add it to your repository location with e.g. 'file://c:/repo'
P.S. i'm currently working on a blog post describing this procedure in detail. I will let you know about this when i'm finished.
[1] https://github.com/sweber/EclipseToMavenTooling
Regards
Stefan
----- Original Message -----
From: ***@126.com
To: tycho-***@eclipse.org
Date: 24.05.2011 03:28:54
Subject: [tycho-user] how to use a local p2 repository?
Post by oliver_techhi,everyone
i am new to tycho,and i have built the tycho demo successfully.But when i change my working envrionment ,which cant connect to the internet,it failed to build because cant reach to the p2 repository
helios
p2
http://download.eclipse.org/releases/helios
i wonder how to make a proxy like nexus to maven,so that i can use tycho offline?
thank you very much!
2011-05-24
oliver_tech
_______________________________________________
tycho-user mailing list
https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-***@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tycho-user