[
https://issues.jboss.org/browse/JBIDE-22373?page=com.atlassian.jira.plugi...
]
Martin Malina closed JBIDE-22373.
---------------------------------
I haven't really verified this, but I assume we would have noticed if the build
didn't work after this change. So closing.
discovery site build does not need to fetch ant-contrib repeatedly
when already available as maven dependency
-------------------------------------------------------------------------------------------------------------
Key: JBIDE-22373
URL:
https://issues.jboss.org/browse/JBIDE-22373
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: build, central-update
Affects Versions: 4.4.0.Alpha1
Reporter: Nick Boldt
Assignee: Nick Boldt
Fix For: 4.4.0.Alpha2
Realized due to a network glitch that the process of building the discovery sites
currently attempts to fetch & unzip ant-contrib 4 times.
{code}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run
(install) on project org.jboss.tools.central.discovery: An Ant BuildException has occured:
The following error occurred while executing this line:
[ERROR]
/home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-discovery/build.xml:37:
The following error occurred while executing this line:
[ERROR]
/home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-discovery/build.xml:52:
Error while expanding /home/hudson/static_build_env/jbds/tools/ant-contrib-1.0b2-bin.zip
[ERROR] java.io.IOException: Negative seek offset
[ERROR] around Ant part ...<ant antfile="build.xml" dir="../../"
target="basic.build">... @ 4:62 in
/home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-discovery/jbosstools/org.jboss.tools.central.discovery/target/antrun/build-main.xml
[ERROR] -> [Help 1]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run
(install) on project org.jboss.tools.central.discovery.earlyaccess: An Ant BuildException
has occured: The following error occurred while executing this line:
[ERROR]
/home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-discovery/build.xml:37:
The following error occurred while executing this line:
[ERROR]
/home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-discovery/build.xml:52:
Error while expanding /home/hudson/static_build_env/jbds/tools/ant-contrib-1.0b2-bin.zip
[ERROR] java.io.IOException: Negative seek offset
[ERROR] around Ant part ...<ant antfile="build.xml" dir="../../"
target="basic.build">... @ 4:62 in
/home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-discovery/jbosstools/org.jboss.tools.central.discovery.earlyaccess/target/antrun/build-main.xml
[ERROR] -> [Help 1]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run
(install) on project com.jboss.jbds.central.discovery: An Ant BuildException has occured:
The following error occurred while executing this line:
[ERROR]
/home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-discovery/build.xml:37:
The following error occurred while executing this line:
[ERROR]
/home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-discovery/build.xml:52:
Error while expanding /home/hudson/static_build_env/jbds/tools/ant-contrib-1.0b2-bin.zip
[ERROR] java.io.IOException: Negative seek offset
[ERROR] around Ant part ...<ant antfile="build.xml" dir="../../"
target="basic.build">... @ 4:62 in
/home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-discovery/jbdevstudio/com.jboss.jbds.central.discovery/target/antrun/build-main.xml
[ERROR] -> [Help 1]
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run
(install) on project com.jboss.jbds.central.discovery.earlyaccess: An Ant BuildException
has occured: The following error occurred while executing this line:
[ERROR]
/home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-discovery/build.xml:37:
The following error occurred while executing this line:
[ERROR]
/home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-discovery/build.xml:52:
Error while expanding /home/hudson/static_build_env/jbds/tools/ant-contrib-1.0b2-bin.zip
[ERROR] java.io.IOException: Negative seek offset
[ERROR] around Ant part ...<ant antfile="build.xml" dir="../../"
target="basic.build">... @ 4:62 in
/home/nboldt/eclipse/workspace-jboss/jbosstools-github-master/jbosstools-discovery/jbdevstudio/com.jboss.jbds.central.discovery.earlyaccess/target/antrun/build-main.xml
{code}
But this is declared as a dependency in each pom that uses the build.xml script.
So we can probably skip this step entirely and just rely on the maven dep.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)