[jbosstools-issues] [JBoss JIRA] (JBIDE-12356) Target Platform is not built with Maven and Ant
Xavier Coulon (JIRA)
jira-events at lists.jboss.org
Mon Jul 23 09:16:07 EDT 2012
Xavier Coulon created JBIDE-12356:
-------------------------------------
Summary: Target Platform is not built with Maven and Ant
Key: JBIDE-12356
URL: https://issues.jboss.org/browse/JBIDE-12356
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: Build/Releng
Affects Versions: 3.3.0.Final
Reporter: Xavier Coulon
Assignee: Nick Boldt
Following the https://community.jboss.org/wiki/HowToBuildJBossToolsWithMaven3 guidelines, I try to build the Target Platform with Maven + Ant on my Macbook:
{code}
xcoulon at macbook:~/DevToolz/code/jbosstools/trunk/build/target-platform$ mvn clean install -Pget.local.target
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building JBoss Tools Target Platform Definition 3.4.0.M1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ org.jboss.tools.target.platform ---
[INFO] Deleting /Users/xcoulon/DevToolz/code/jbosstools/trunk/build/target-platform/target
[INFO]
[INFO] --- target-platform-validation-plugin:0.16.0-SNAPSHOT:validate-target-platform (default) @ org.jboss.tools.target.platform ---
[INFO] Validating /Users/xcoulon/DevToolz/code/jbosstools/trunk/build/target-platform/multiple.target...
[INFO] OK!
[INFO] Validating /Users/xcoulon/DevToolz/code/jbosstools/trunk/build/target-platform/unified.target...
[INFO] OK!
[INFO]
[INFO] --- maven-antrun-plugin:1.6:run (default) @ org.jboss.tools.target.platform ---
[WARNING] Parameter tasks is deprecated, use target instead
[INFO] Executing tasks
main:
init:
get.ant-contrib:
get.arch:
get.eclipse:
[delete] Deleting directory /Users/xcoulon/DevToolz/code/jbosstools/trunk/build/target-platform/eclipse-4.2
[untar] Expanding: /Users/xcoulon/DevToolz/code/jbosstools/trunk/build/target-platform/eclipse-platform-4.2-macosx-cocoa-x86_64.tar.gz into /Users/xcoulon/DevToolz/code/jbosstools/trunk/build/target-platform/eclipse-4.2
gen.p2mirror.script:
gen.p2mirror.script:
[delete] Deleting: /Users/xcoulon/DevToolz/code/jbosstools/trunk/build/target-platform/multiple.target.p2mirror.xml
[xslt] Processing /Users/xcoulon/DevToolz/code/jbosstools/trunk/build/target-platform/multiple.target to /Users/xcoulon/DevToolz/code/jbosstools/trunk/build/target-platform/multiple.target.p2mirror.xml
[xslt] Loading stylesheet /Users/xcoulon/DevToolz/code/jbosstools/trunk/build/target-platform/target2p2mirrorXml.xsl
[echo] -----------
[echo]
[echo] Next, be sure to run the resulting p2.mirror script.
[echo] You may need to run it a few times for it to complete
[echo] successfully (due to network timeouts and invalid mirrors).
[echo]
[echo] For instructions on running the script, do this:
[echo]
[echo] ant -f multiple.target.p2mirror.xml help
[echo]
custom.build:
run.p2mirror.script:
update.target.file:
[echo]
[echo] This step - calling targetUpdateFromRepo.xml - is no longer enabled to prevent the .target
[echo] file from being stripped of duplicate IUs. Instead, generation is a one-way process:
[echo]
[echo] 1. Manually update .target file
[echo] 2. Generate .p2mirror.xml file, with useLatest=false
[echo] 3. ...
[echo] 4. Profit!
cleanup:
build.local.target.platform.repo:
[INFO] Executed tasks
[INFO]
[INFO] --- build-helper-maven-plugin:1.3:attach-artifact (attach-artifacts) @ org.jboss.tools.target.platform ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @ org.jboss.tools.target.platform ---
[INFO] Installing /Users/xcoulon/DevToolz/code/jbosstools/trunk/build/target-platform/pom.xml to /Users/xcoulon/.m2/repository/org/jboss/tools/org.jboss.tools.target.platform/3.4.0.M1-SNAPSHOT/org.jboss.tools.target.platform-3.4.0.M1-SNAPSHOT.pom
[INFO] Installing /Users/xcoulon/DevToolz/code/jbosstools/trunk/build/target-platform/multiple.target to /Users/xcoulon/.m2/repository/org/jboss/tools/org.jboss.tools.target.platform/3.4.0.M1-SNAPSHOT/org.jboss.tools.target.platform-3.4.0.M1-SNAPSHOT-multiple.target
[INFO] Installing /Users/xcoulon/DevToolz/code/jbosstools/trunk/build/target-platform/unified.target to /Users/xcoulon/.m2/repository/org/jboss/tools/org.jboss.tools.target.platform/3.4.0.M1-SNAPSHOT/org.jboss.tools.target.platform-3.4.0.M1-SNAPSHOT-unified.target
[INFO] Installing /Users/xcoulon/DevToolz/code/jbosstools/trunk/build/target-platform/local.target to /Users/xcoulon/.m2/repository/org/jboss/tools/org.jboss.tools.target.platform/3.4.0.M1-SNAPSHOT/org.jboss.tools.target.platform-3.4.0.M1-SNAPSHOT-local.target
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 41.148s
[INFO] Finished at: Mon Jul 23 12:27:53 CEST 2012
[INFO] Final Memory: 34M/554M
[INFO] ------------------------------------------------------------------------
{code}
At the end, I have the following content:
{code}
xcoulon at macbook:~/DevToolz/code/jbosstools/trunk/build/target-platform$ ll
total 115424
drwxr-xr-x 24 xcoulon staff 816 Jul 23 12:27 ./
drwxr-xr-x 18 xcoulon staff 612 Jul 23 12:01 ../
-rw-r--r-- 1 xcoulon staff 52 Jul 23 12:01 .gitignore
-rw-r--r-- 1 xcoulon staff 357 Jul 23 12:01 .project
drwxr-xr-x 9 xcoulon staff 306 Jul 23 12:01 .svn/
-rw-r--r-- 1 xcoulon staff 2913 Jul 23 12:01 README.txt
-rw-r--r-- 1 xcoulon staff 14903 Jul 23 12:01 build.xml
-rw-r--r-- 1 xcoulon staff 1328 Jul 23 12:01 contentXml2artifactVersions.xsl
drwxr-xr-x 3 xcoulon staff 102 Jul 23 12:27 eclipse-4.2/
-rw-r--r-- 1 xcoulon staff 58841287 Jul 23 12:09 eclipse-platform-4.2-macosx-cocoa-x86_64.tar.gz
-rwxr-xr-x 1 xcoulon staff 344 Jul 23 12:01 getArch.sh*
-rw-r--r-- 1 xcoulon staff 31322 Jul 23 12:01 jbds.target
-rw-r--r-- 1 xcoulon staff 28918 Jul 23 12:01 jbds.target.p2mirror.xml
-rw-r--r-- 1 xcoulon staff 31317 Jul 23 12:01 multiple.target
-rw-r--r-- 1 xcoulon staff 28726 Jul 23 12:27 multiple.target.p2mirror.xml
-rw-r--r-- 1 xcoulon staff 8126 Jul 23 12:01 pom.xml
-rw-r--r-- 1 xcoulon staff 4059 Jul 23 12:01 publish.sh
drwxr-xr-x 3 xcoulon staff 102 Jul 23 12:27 target/
-rw-r--r-- 1 xcoulon staff 1565 Jul 23 12:01 target2p2mirror.xml
-rw-r--r-- 1 xcoulon staff 3134 Jul 23 12:01 target2p2mirrorXml.xsl
-rw-r--r-- 1 xcoulon staff 1457 Jul 23 12:01 target2targetTemplate.xsl
-rw-r--r-- 1 xcoulon staff 7729 Jul 23 12:01 targetUpdateFromRepo.xml
-rw-r--r-- 1 xcoulon staff 31441 Jul 23 12:01 unified.target
-rw-r--r-- 1 xcoulon staff 17739 Jul 23 12:01 unified.target.p2mirror.xml
{code}
There is no REPO directory as expected :-(
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list