[jbossws-issues] [JBoss JIRA] Reopened: (JBWS-1994) Fix metro build issues
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Thu Mar 13 10:30:57 EDT 2008
[ http://jira.jboss.com/jira/browse/JBWS-1994?page=all ]
Thomas Diesler reopened JBWS-1994:
----------------------------------
The metro build needs to copy named artifacts to the thirdparty directory like this
<!-- Copy the cxf jars -->
<target name="cxf-copy-jars" depends="cxf-maven-build">
<mkdir dir="${thirdparty.dir}"/>
<property name="cxf.distribution.lib" value="${apache.cxf.dir}/distribution/target/apache-cxf-${cxf.version}.dir/apache-cxf-${cxf.version}/lib"/>
<available property="cxf.available" filepath="${cxf.distribution.lib}" file="cxf-${cxf.version}.jar"/>
<available property="geronimo-javamail.available" filepath="${cxf.distribution.lib}" file="geronimo-javamail_${cxf.geronimo.javamail}.jar"/>
<available property="geronimo-ws-metadata.available" filepath="${cxf.distribution.lib}" file="geronimo-ws-metadata_${cxf.geronimo.ws.metadata}.jar"/>
<available property="jaxws-api.available" filepath="${cxf.distribution.lib}" file="jaxws-api-${cxf.jaxws.api}.jar"/>
<available property="jetty.available" filepath="${cxf.distribution.lib}" file="jetty-${cxf.jetty}.jar"/>
<available property="jetty-util.available" filepath="${cxf.distribution.lib}" file="jetty-util-${cxf.jetty}.jar"/>
<available property="jdom.available" filepath="${cxf.distribution.lib}" file="jdom-${cxf.jdom}.jar"/>
<available property="neethi.available" filepath="${cxf.distribution.lib}" file="neethi-${cxf.neethi}.jar"/>
<available property="saaj-api.available" filepath="${cxf.distribution.lib}" file="saaj-api-${cxf.saaj}.jar"/>
<available property="saaj-impl.available" filepath="${cxf.distribution.lib}" file="saaj-impl-${cxf.saaj}.jar"/>
<available property="spring-beans.available" filepath="${cxf.distribution.lib}" file="spring-beans-${cxf.spring}.jar"/>
<available property="spring-context.available" filepath="${cxf.distribution.lib}" file="spring-context-${cxf.spring}.jar"/>
<available property="spring-core.available" filepath="${cxf.distribution.lib}" file="spring-core-${cxf.spring}.jar"/>
<available property="xbean.available" filepath="${cxf.distribution.lib}" file="xbean-${cxf.xbean}.jar"/>
<available property="xml-resolver.available" filepath="${cxf.distribution.lib}" file="xml-resolver-${cxf.xml.resolver}.jar"/>
<available property="XmlSchema.available" filepath="${cxf.distribution.lib}" file="XmlSchema-${cxf.xmlschema}.jar"/>
<fail message="cxf-${cxf.version}.jar not available" unless="cxf.available"/>
<fail message="geronimo-javamail_${cxf.geronimo.javamail}.jar not available" unless="geronimo-javamail.available"/>
<fail message="geronimo-ws-metadata_${cxf.geronimo.ws.metadata}.jar not available" unless="geronimo-ws-metadata.available"/>
<fail message="jaxws-api-${cxf.jaxws.api}.jar not available" unless="jaxws-api.available"/>
<fail message="jetty-${cxf.jetty}.jar not available" unless="jetty.available"/>
<fail message="jetty-util-${cxf.jetty}.jar not available" unless="jetty-util.available"/>
<fail message="jdom-${cxf.jdom}.jar not available" unless="jdom.available"/>
<fail message="neethi-${cxf.neethi}.jar not available" unless="neethi.available"/>
<fail message="saaj-api-${cxf.saaj}.jar not available" unless="saaj-api.available"/>
<fail message="saaj-impl-${cxf.saaj}.jar not available" unless="saaj-impl.available"/>
<fail message="spring-beans-${cxf.spring}.jar not available" unless="spring-beans.available"/>
<fail message="spring-context-${cxf.spring}.jar not available" unless="spring-context.available"/>
<fail message="spring-core-${cxf.spring}.jar not available" unless="spring-core.available"/>
<fail message="xbean-${cxf.xbean}.jar not available" unless="xbean.available"/>
<fail message="xml-resolver-${cxf.xml.resolver}.jar not available" unless="xml-resolver.available"/>
<fail message="XmlSchema-${cxf.xmlschema}.jar not available" unless="XmlSchema.available"/>
<copy todir="${thirdparty.dir}">
<fileset dir="${cxf.distribution.lib}">
<include name="cxf-${cxf.version}.jar"/>
<include name="geronimo-javamail_${cxf.geronimo.javamail}.jar"/>
<include name="geronimo-ws-metadata_${cxf.geronimo.ws.metadata}.jar"/>
<include name="jaxws-api-${cxf.jaxws.api}.jar"/>
<include name="jetty-${cxf.jetty}.jar"/>
<include name="jetty-util-${cxf.jetty}.jar"/>
<include name="jdom-${cxf.jdom}.jar"/>
<include name="neethi-${cxf.neethi}.jar"/>
<include name="saaj-api-${cxf.saaj}.jar"/>
<include name="saaj-impl-${cxf.saaj}.jar"/>
<include name="spring-beans-${cxf.spring}.jar"/>
<include name="spring-context-${cxf.spring}.jar"/>
<include name="spring-core-${cxf.spring}.jar"/>
<include name="xbean-${cxf.xbean}.jar"/>
<include name="xml-resolver-${cxf.xml.resolver}.jar"/>
<include name="XmlSchema-${cxf.xmlschema}.jar"/>
</fileset>
</copy>
</target>
This should go in prepare-deploy
<fileset dir="glassfish-metro/output">
<patternset refid="jbossws.client.patternset"/>
<patternset refid="jbossws.lib.patternset"/>
<patternset refid="jbossws.lib.endorsed.patternset"/>
<patternset refid="jbossws.server.lib.patternset"/>
<patternset refid="jbossws.service.lib.patternset"/>
</fileset>
> 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)
> Components: jbossws-metro
> Reporter: Thomas Diesler
> Assigned To: Richard Opalka
> 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 at 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
More information about the jbossws-issues
mailing list