From: <sco...@jb...> - 2005-05-02 18:48:08
|
So I created such a minimal build file that only references the apache-commons component: | <?xml version="1.0"?> | | <project name="jbossas-thirdparty" | default="synchronize" | basedir="."> | <!-- Import the types --> | <import file="../tools/etc/jbossbuild/tasks.xml"/> | | <property file="synchronize.properties"/> | <property file="local.properties"/> | | <build id="jbossas-thirdparty" | impltitle="JBossAS" | implversion="4.0.2" | implvendor="JBoss Inc." | implurl="http://www.jboss.org" | description="JBoss Application Server" | cvsroot="${cvs.prefix}@cvs.forge.jboss.com:/cvsroot/jboss" | thirdpartypath="../thirdparty/" | location="http://cruisecontrol.jboss.com/repository" | targetdefs="targets"> | | <component id="apache-commons" | version="mixed"> | <artifact id="commons-logging.jar" release="lib"/> | <artifact id="commons-httpclient.jar" release="lib"/> | <artifact id="commons-discovery.jar"/> | <artifact id="commons-collections.jar"/> | </component> | | </build> | | <!-- Generate the targets --> | <generate generate="jbossas-thirdparty"/> | | </project> | but when I try to execute the build, it says there is no synchronize target. Using synchronize.artifacts works, so is that what you meant or is there a synchronize target that is supposed to be created? | [starksm@banshee9100 jboss-4.0_thirdparty]$ ant -projecthelp | Buildfile: build.xml | Overriding previous definition of reference to jbossas-thirdparty | | Main targets: | | show Show the targets | synchronize.artifacts Synchronize for all the artifacts | synchronize.commons-collections.jar Synchronize for the artifact commons-collections.jar | synchronize.commons-discovery.jar Synchronize for the artifact commons-discovery.jar | synchronize.commons-httpclient.jar Synchronize for the artifact commons-httpclient.jar | synchronize.commons-logging.jar Synchronize for the artifact commons-logging.jar | Default target: synchronize | | [starksm@banshee9100 jboss-4.0_thirdparty]$ ant synchronize | Buildfile: build.xml | Overriding previous definition of reference to jbossas-thirdparty | | BUILD FAILED | Target `synchronize' does not exist in this project. | | Total time: 0 seconds | Also, why is there the anonymous wrote : Overriding previous definition of reference to jbossas-thirdparty message? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876191#3876191 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876191 |