[
http://jira.jboss.com/jira/browse/JBWS-1994?page=comments#action_12399481 ]
Thomas Diesler commented on JBWS-1994:
--------------------------------------
The metro build is invoked every time, even when we had a successful build previously
[tdiesler@tddell trunk]$ ./build.sh deploy-jboss500
....
[exec] BUILD SUCCESSFUL
[exec] Total time: 1 minute 23 seconds
[echo] *********************************
[echo] The metro binaries have been copied to 'thirdparty-gen'
[echo] *********************************
To fix this, you can study the CXF build
[tdiesler@tddell trunk]$ cat ant-import/build-thirdparty.xml | grep "target "
<target name="thirdparty" depends="thirdparty-classpath">
<target name="thirdparty-init" depends="prepare">
<target name="thirdparty-get" depends="thirdparty-init,
cxf-copy-jars" if="force.thirdparty.get"
<target name="thirdparty-classpath" depends="thirdparty-get">
<target name="cxf-build" depends="cxf-copy-jars"
description="Build Apache CXF from source">
<target name="cxf-checkout-dir" depends="thirdparty-init"
unless="apache.cxf.available">
<target name="cxf-checkout-required" depends="cxf-checkout-dir"
if="apache.cxf.available">
<target name="cxf-checkout" depends="cxf-checkout-required"
if="cxf.checkout.required">
<target name="cxf-update-required" depends="thirdparty-init"
if="apache.cxf.available">
<target name="cxf-update" depends="cxf-update-required"
if="cxf.update.required" unless="cxf.checkout.required">
<target name="cxf-svn-info"
depends="cxf-checkout,cxf-update">
<target name="cxf-maven-build" depends="cxf-svn-info"
unless="cxf.build.available">
<target name="cxf-copy-jars" depends="cxf-maven-build">
Fix metro build issues
----------------------
Key: JBWS-1994
URL:
http://jira.jboss.com/jira/browse/JBWS-1994
Project: JBoss Web Services
Issue Type: Task
Security Level: Public(Everyone can see)
Reporter: Thomas Diesler
Fix For: jbossws-metro-1.0.1
The build fails when invoked with Ant. If this is intensional, we should have proper
error messages
[tdiesler@tddell trunk]$ ant main
build.metro:
[exec] Buildfile: metro-build-adapter.xml
[exec] BUILD FAILED
[exec] Target `WSIT.main' does not exist in this project. It is used from target
`-metro.runtime.jar'.
[exec] Total time: 1 second
BUILD FAILED
/home/tdiesler/svn/jbossws/stack/metro/trunk/ant-import/build-metro.xml:78: The following
error occurred while executing this line:
/home/tdiesler/svn/jbossws/stack/metro/trunk/ant-import/build-metro.xml:23: exec
returned: 1
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira