You can almost get that now except it includes the ant cruft: | [EMAIL PROTECTED] kernel]$ ant -emacs -f jbossbuild.xml show > test | produces:
| Buildfile: jbossbuild.xml | | show: | <!-- Build All --> | <target name="all" depends="build, doc, test"> | </target> | | <!-- Javadoc --> | <target name="api"> | </target> | | <!-- Build --> | <target name="build" depends="build.etc, build.main, build.tests, build.xml-test, build.jboss-microcontainer.jar"> | <mkdir dir="/home/ejort/jboss-head/workspace/kernel/output/etc"/> | <copy todir="/home/ejort/jboss-head/workspace/kernel/output/etc" filtering="yes"> | <fileset dir="/home/ejort/jboss-head/workspace/kernel/src/etc/" includes="**"/> | </copy> | </target> | | <target name="build.etc"> | <mkdir dir="/home/ejort/jboss-head/workspace/kernel/output/etc"/> | <copy todir="/home/ejort/jboss-head/workspace/kernel/output/etc" filtering="yes"> | <fileset dir="/home/ejort/jboss-head/workspace/kernel/src/etc/" includes="**"/> | <filterset> | <filter token="java.vm.version" value="1.4.2_04-b05"/> | <filter token="java.vm.vendor" value="Sun Microsystems Inc."/> | <filter token="specification.title" value="JBossAS"/> | <filter token="specification.version" value="5.0.0alpha"/> | <filter token="specification.vendor" value="JBoss Inc."/> | <filter token="implementation.title" value="JBossAS"/> | <filter token="implementation.url" value="http://www.jboss.org"/> | <filter token="implementation.version" value="5.0.0alpha"/> | <filter token="implementation.vendor" value="JBoss Inc."/> | <filter token="implementation.vendor.id" value="http://www.jboss.org"/> | </filterset> | </copy> | </target> | | <!-- Build for the artifact jboss-microcontainer.jar --> | <target name="build.jboss-microcontainer.jar"> | <mkdir dir="/home/ejort/jboss-head/workspace/kernel/output/lib"/> | <jar destfile="/home/ejort/jboss-head/workspace/kernel/output/lib/jboss-microcontainer.jar"> | <manifest> | <attribute name="Created-by" value="1.4.2_04-b05 Sun Microsystems Inc."/> | <attribute name="Specification-Title" value="JBossAS"/> | <attribute name="Specification-Version" value="5.0.0alpha"/> | <attribute name="Specification-Vendor" value="JBoss Inc."/> | <attribute name="Implementation-Title" value="JBossAS"/> | <attribute name="Implementation-URL" value="http://www.jboss.org"/> | <attribute name="Implementation-Version" value="5.0.0alpha"/> | <attribute name="Implementation-Vendor" value="JBoss Inc."/> | <attribute name="Implementation-Vendor-Id" value="http://www.jboss.org"/> | <attribute name="Class-Path" value="jboss-common.jar namespace.jar jboss-container.jar concurrent.jar"/> | </manifest> | <zipfileset file="/home/ejort/jboss-head/workspace/kernel/output/classes/main"/> | </jar> | </target> | | <!-- Build for the source src/main --> | <target name="build.main"> | <property name="javac.excludes" value=""/> | Unable to locate '../conf/' in Class-Path of jboss-container.jar | <mkdir dir="/home/ejort/jboss-head/workspace/kernel/output/classes/main"/> | <depend destdir="/home/ejort/jboss-head/workspace/kernel/output/classes/main" srcdir="src/main"> | <classpath> | <pathelement location="/home/ejort/jboss-head/workspace/common/output/lib/namespace.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/thirdparty/apache-xerces/lib/xercesImpl.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/thirdparty/apache-log4j/lib/log4j.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/common/output/lib/jboss-common.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/thirdparty/oswego-concurrent/lib/concurrent.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/kernel/output/classes/main"/> | <pathelement location="/home/ejort/jboss-head/workspace/container/output/lib/jboss-container.jar"/> | </classpath> | Unable to locate '../conf/' in Class-Path of jboss-container.jar | </depend> | <javac destdir="/home/ejort/jboss-head/workspace/kernel/output/classes/main" deprecation="true" srcdir="src/main" debug="true" excludes="${javac.excludes}"> | <classpath> | <pathelement location="/home/ejort/jboss-head/workspace/common/output/lib/namespace.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/thirdparty/apache-xerces/lib/xercesImpl.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/thirdparty/apache-log4j/lib/log4j.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/common/output/lib/jboss-common.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/thirdparty/oswego-concurrent/lib/concurrent.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/kernel/output/classes/main"/> | <pathelement location="/home/ejort/jboss-head/workspace/container/output/lib/jboss-container.jar"/> | </classpath> | </javac> | <copy todir="/home/ejort/jboss-head/workspace/kernel/output/classes/main"> | <fileset dir="src/main"> | <include name="**/*.properties"/> | </fileset> | </copy> | </target> | | <target name="build.resources"> | <mkdir dir="/home/ejort/jboss-head/workspace/kernel/output/resources"/> | <copy todir="/home/ejort/jboss-head/workspace/kernel/output" filtering="no"> | <fileset dir="/home/ejort/jboss-head/workspace/kernel/src" includes="resources/**"/> | </copy> | </target> | | <!-- Build for the source src/tests --> | <target name="build.tests"> | <property name="javac.excludes" value=""/> | Unable to locate '../conf/' in Class-Path of jboss-container.jar | <mkdir dir="/home/ejort/jboss-head/workspace/kernel/output/classes/tests"/> | <depend destdir="/home/ejort/jboss-head/workspace/kernel/output/classes/tests" srcdir="src/tests"> | <classpath> | <pathelement location="/home/ejort/jboss-head/workspace/common/output/lib/namespace.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/kernel/output/resources/xml-test"/> | <pathelement location="/home/ejort/jboss-head/workspace/kernel/output/classes/tests"/> | <pathelement location="/home/ejort/jboss-head/workspace/thirdparty/apache-xerces/lib/xercesImpl.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/thirdparty/apache-log4j/lib/log4j.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/common/output/lib/jboss-common.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/test/output/lib/jboss-test.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/thirdparty/oswego-concurrent/lib/concurrent.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/kernel/output/classes/main"/> | <pathelement location="/home/ejort/jboss-head/workspace/container/output/lib/jboss-container.jar"/> | </classpath> | Unable to locate '../conf/' in Class-Path of jboss-container.jar | </depend> | <javac destdir="/home/ejort/jboss-head/workspace/kernel/output/classes/tests" deprecation="true" srcdir="src/tests" debug="true" excludes="${javac.excludes}"> | <classpath> | <pathelement location="/home/ejort/jboss-head/workspace/common/output/lib/namespace.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/kernel/output/resources/xml-test"/> | <pathelement location="/home/ejort/jboss-head/workspace/kernel/output/classes/tests"/> | <pathelement location="/home/ejort/jboss-head/workspace/thirdparty/apache-xerces/lib/xercesImpl.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/thirdparty/apache-log4j/lib/log4j.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/common/output/lib/jboss-common.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/test/output/lib/jboss-test.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/thirdparty/oswego-concurrent/lib/concurrent.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/kernel/output/classes/main"/> | <pathelement location="/home/ejort/jboss-head/workspace/container/output/lib/jboss-container.jar"/> | </classpath> | </javac> | <copy todir="/home/ejort/jboss-head/workspace/kernel/output/classes/tests"> | <fileset dir="src/tests"> | <include name="**/*.properties"/> | </fileset> | </copy> | </target> | | <!-- Build for the resource resources/xml-test --> | <target name="build.xml-test" depends="build.resources"> | </target> | | <!-- Clean --> | <target name="clean"> | <delete dir="/home/ejort/jboss-head/workspace/kernel/output"/> | </target> | | <!-- Commit --> | <target name="commit"> | <fail message="Use -Dm="xxx" to specify the commit message" unless="m"/> | <cvs failonerror="true"> | <commandline> | <argument value="commit"/> | <argument value="-m"/> | <argument value="${m}"/> | </commandline> | </cvs> | </target> | | <!-- Documentation --> | <target name="doc" depends="api"> | </target> | | <!-- Synchronize then build --> | <target name="rebuild" depends="synchronize"> | <execant target="build"/> | </target> | | <!-- Synchronize then build all --> | <target name="rebuildall" depends="synchronize"> | <execant target="all"/> | </target> | | <!-- Run tests --> | <target name="runtest" depends="runtest.tests"> | </target> | | <!-- Run tests for the source src/tests --> | <target name="runtest.tests"> | <mkdir dir="/home/ejort/jboss-head/workspace/kernel/output/reports/tests"/> | Unable to locate '../conf/' in Class-Path of jboss-container.jar | <delete file="/home/ejort/jboss-head/workspace/kernel/output/reports/tests/test.log"/> | <junit printsummary="true" fork="true"> | <sysproperty key="org.jboss.test.logfile" value="/home/ejort/jboss-head/workspace/kernel/output/reports/tests/test.log"/> | <formatter type="plain"/> | <classpath> | <pathelement location="/home/ejort/jboss-head/workspace/common/output/lib/namespace.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/kernel/output/resources/xml-test"/> | <pathelement location="/home/ejort/jboss-head/workspace/kernel/output/classes/tests"/> | <pathelement location="/home/ejort/jboss-head/workspace/thirdparty/apache-xerces/lib/xercesImpl.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/thirdparty/apache-log4j/lib/log4j.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/common/output/lib/jboss-common.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/test/output/lib/jboss-test.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/thirdparty/oswego-concurrent/lib/concurrent.jar"/> | <pathelement location="/home/ejort/jboss-head/workspace/kernel/output/classes/main"/> | <pathelement location="/home/ejort/jboss-head/workspace/container/output/lib/jboss-container.jar"/> | </classpath> | <batchtest todir="/home/ejort/jboss-head/workspace/kernel/output/reports/tests"> | <fileset dir="/home/ejort/jboss-head/workspace/kernel/src/tests" includes="org/jboss/test/**/*TestCase.java"/> | </batchtest> | </junit> | </target> | | <!-- Show the targets --> | <target name="show"> | <!-- Dynamic Target --> | </target> | | <!-- Synchronize --> | <target name="synchronize"> | <cvs failonerror="true" command="update -dP"/> | </target> | | <!-- After synchronization processing --> | <target name="synchronize.after"> | <idecomponent/> | </target> | | <!-- Build and run the tests --> | <target name="test" depends="build, runtest"> | </target> | | | BUILD SUCCESSFUL | Total time: 1 second | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869602#3869602 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869602 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
