[JBoss JIRA] (JBIDE-22373) discovery site build does not need to fetch ant-contrib repeatedly when already available as maven dependency
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22373?page=com.atlassian.jira.plugi... ]
Nick Boldt resolved JBIDE-22373.
--------------------------------
Resolution: Done
Fixed in https://github.com/jbosstools/jbosstools-discovery/commit/8c35ecc980f9956...
> 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)
9 years, 11 months
[JBoss JIRA] (JBIDE-22373) discovery site build does not need to fetch ant-contrib repeatedly when already available as maven dependency
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22373?page=com.atlassian.jira.plugi... ]
Nick Boldt reassigned JBIDE-22373:
----------------------------------
Assignee: Nick Boldt
> 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)
9 years, 11 months
[JBoss JIRA] (JBIDE-22373) discovery site build does not need to fetch ant-contrib repeatedly when already available as maven dependency
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22373?page=com.atlassian.jira.plugi... ]
Nick Boldt updated JBIDE-22373:
-------------------------------
Fix Version/s: 4.4.0.Alpha2
> 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)
9 years, 11 months
[JBoss JIRA] (JBIDE-22373) discovery site build does not need to fetch ant-contrib repeatedly when already available as maven dependency
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22373?page=com.atlassian.jira.plugi... ]
Nick Boldt updated JBIDE-22373:
-------------------------------
Story Points: 2 (was: 1)
> 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)
9 years, 11 months
[JBoss JIRA] (JBIDE-22373) discovery site build does not need to fetch ant-contrib repeatedly when already available as maven dependency
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22373?page=com.atlassian.jira.plugi... ]
Nick Boldt updated JBIDE-22373:
-------------------------------
Sprint: devex #114 May 2016
> 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)
9 years, 11 months
[JBoss JIRA] (JBIDE-22373) discovery site build does not need to fetch ant-contrib repeatedly when already available as maven dependency
by Nick Boldt (JIRA)
Nick Boldt created JBIDE-22373:
----------------------------------
Summary: 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
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)
9 years, 11 months
[JBoss JIRA] (JBIDE-20904) automate publishing latest CI build to staging, then from staging to development (or stable)
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20904?page=com.atlassian.jira.plugi... ]
Nick Boldt updated JBIDE-20904:
-------------------------------
Story Points: 2
> automate publishing latest CI build to staging, then from staging to development (or stable)
> --------------------------------------------------------------------------------------------
>
> Key: JBIDE-20904
> URL: https://issues.jboss.org/browse/JBIDE-20904
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: build
> Affects Versions: 4.4.0.Alpha1
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Fix For: 4.4.0.Alpha2
>
>
> Suggestion:
> rather than opening 10 bash terminals to perform the copy-from-one-place-on-disk-to-local, copy-from-local-to-another-place steps required to clone CI bits to Stage or from Stage to release, [~mickael_istria] and I discovered today that we could use `wait` or `parallel` to orchestrate these steps via a bash script so they run in parallel (as quickly as possible), but still return feedback when all parallel steps are completed.
> So, where today we run these steps sorta-by-hand (copy script into a console and wait until it's done) [1], in future we could simply kick a job and wait for the job to notify its completion.
> [1] https://github.com/jbdevstudio/jbdevstudio-devdoc/tree/master/release_gui...
> Examples of using a series of commands in parallel w/ a wait at the end:
> http://stackoverflow.com/questions/19543139/bash-script-processing-comman...
> {code:title=spawns the 3 parallel steps, waits until #3 is done (2 seconds later) and returns the PID of the last one + its return code}
> echo "1" & echo 2 & (sleep 2;echo 3) & wait && echo $! $#
> {code}
> More discussion:
> {quote}
> [12:44:46 PM] Mickael Istria: I believe some parts would have to be turned into functions
> [12:54:41 PM] Mickael Istria: so, to hack the script, it could be just:
> * add && after the 1st rsync in each loop
> * add & after the last one
> * put a wait after the last loop
> * give the big piece of code to procede directly to bash
> {quote}
> After this job is done, releng would still have to "wire up" the new bits by updating composite*.xml and index.html pages, but that's considerably easier to do locally in a terminal, or even to script too. Rather than updating these files w/ sed, we could generate them from a template.
> And if we don't care about committing those changes back to github, we could even push them to the dl.jb.o and ds.jb.c servers directly as part of the above job.
> Scary, but much faster!
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (JBIDE-20904) automate publishing latest CI build to staging, then from staging to development (or stable)
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-20904?page=com.atlassian.jira.plugi... ]
Nick Boldt updated JBIDE-20904:
-------------------------------
Story Points: 20 (was: 2)
> automate publishing latest CI build to staging, then from staging to development (or stable)
> --------------------------------------------------------------------------------------------
>
> Key: JBIDE-20904
> URL: https://issues.jboss.org/browse/JBIDE-20904
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: build
> Affects Versions: 4.4.0.Alpha1
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Fix For: 4.4.0.Alpha2
>
>
> Suggestion:
> rather than opening 10 bash terminals to perform the copy-from-one-place-on-disk-to-local, copy-from-local-to-another-place steps required to clone CI bits to Stage or from Stage to release, [~mickael_istria] and I discovered today that we could use `wait` or `parallel` to orchestrate these steps via a bash script so they run in parallel (as quickly as possible), but still return feedback when all parallel steps are completed.
> So, where today we run these steps sorta-by-hand (copy script into a console and wait until it's done) [1], in future we could simply kick a job and wait for the job to notify its completion.
> [1] https://github.com/jbdevstudio/jbdevstudio-devdoc/tree/master/release_gui...
> Examples of using a series of commands in parallel w/ a wait at the end:
> http://stackoverflow.com/questions/19543139/bash-script-processing-comman...
> {code:title=spawns the 3 parallel steps, waits until #3 is done (2 seconds later) and returns the PID of the last one + its return code}
> echo "1" & echo 2 & (sleep 2;echo 3) & wait && echo $! $#
> {code}
> More discussion:
> {quote}
> [12:44:46 PM] Mickael Istria: I believe some parts would have to be turned into functions
> [12:54:41 PM] Mickael Istria: so, to hack the script, it could be just:
> * add && after the 1st rsync in each loop
> * add & after the last one
> * put a wait after the last loop
> * give the big piece of code to procede directly to bash
> {quote}
> After this job is done, releng would still have to "wire up" the new bits by updating composite*.xml and index.html pages, but that's considerably easier to do locally in a terminal, or even to script too. Rather than updating these files w/ sed, we could generate them from a template.
> And if we don't care about committing those changes back to github, we could even push them to the dl.jb.o and ds.jb.c servers directly as part of the above job.
> Scary, but much faster!
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months