[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6982) Create eclipse.org deps mirror from .target file on download.jboss.org
Nick Boldt (JIRA)
jira-events at lists.jboss.org
Sun Sep 26 19:52:45 EDT 2010
[ https://jira.jboss.org/browse/JBIDE-6982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12553278#action_12553278 ]
Nick Boldt commented on JBIDE-6982:
-----------------------------------
Brainstormed how to do this using p2.mirror & p2.director:
creation of shared target platform (including Eclipse SDK + delta pack)
-------------------------------------------------------------------------
* wget target file + xslt script
* wget eclipse platform RCP [linux x86, x86_64]
* wget delta pack
* unzip eclipse x 2
* unzip delta pack
--> shared dir in Hudson: /shared/reqs/helios/360/linux-gtk-x86
--> shared dir in Hudson: /shared/reqs/helios/361/linux-gtk-x86
--> shared dir in Hudson: /shared/reqs/helios/360/linux-gtk-x86_64
--> shared dir in Hudson: /shared/reqs/helios/361/linux-gtk-x86_64
* xslt: target2ant
* run eclipse from /shared/reqs/ against ant script (p2.mirror)
--> shared dir in Hudson: /shared/reqs/helios/e362-wtp322.target/repo/
* run eclipse from /shared/reqs/ against ant script (p2.director install)
--> shared dir in Hudson: /shared/reqs/helios/e362-wtp322.target/runnable/
* xslt: target2ant using 0.0.0 instead of actual versions (?)
* run eclipse from /shared/reqs/ against ant script (p2.mirror)
--> shared dir in Hudson: /shared/reqs/helios/latest/repo/
* run eclipse from /shared/reqs/ against ant script (p2.director install)
--> shared dir in Hudson: /shared/reqs/helios/latest/runnable/
* rsync files to download.jboss.org
http://download.jboss.org/jbosstools/updates/target-platform/e36-wtp32.target.zip
http://download.jboss.org/jbosstools/updates/target-platform/e361-wtp322.target.zip
http://download.jboss.org/jbosstools/updates/target-platform/latest/
* cleanup ?
delete /repo/ to save space; on next iteration of job will have to fetch everything again
------------------------------------
Have also tried to do this using Tycho after doing an XSLT generation of pom.xml and site.xml, but blocked by:
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Could not resolve feature org.maven.ide.eclipse.feature_0.0.0
Other problem is that using Tycho, can only have FEATURES in the .target file, and currently we have a half-dozen plugins as well. This is not a problem for the p2.mirror solution.
> Create eclipse.org deps mirror from .target file on download.jboss.org
> ----------------------------------------------------------------------
>
> Key: JBIDE-6982
> URL: https://jira.jboss.org/browse/JBIDE-6982
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Build/Releng
> Affects Versions: 3.2.0.Beta1
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Fix For: 3.2.0.Beta1
>
>
> 1. resolve .target file's contents (build target platform pom)
> 2. create site.xml for target file's features
> 3. generate update site w/ Tycho
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list