Before I go further, the two files can be combined if you just want a standalone
project, e.g.: This file will actually cause my ant classes to build 
themselves...


  | <?xml version="1.0"?>
  | 
  | <!--
  |  JBoss, the OpenSource J2EE webOS
  |  
  |  Distributable under LGPL license.
  |  See terms of license at gnu.org.
  | -->
  | <project name="project"
  |          default="build" 
  |          basedir="."
  | >
  |    <!-- Import the types -->
  |    <import file="src/resources/tasks.xml"/>
  | 
  |    <build id="JBossBuild" targetdefs="targets" description="The main build">
  | 
  |       <component id="ant">
  |          <artifact id="ant.jar"
  |                    location="file:///usr/java/apache-ant-1.6.2/lib/ant.jar"
  |          />
  |       </component>
  | 
  |       <component id="jbossbuild">
  |          <artifact id="jbossbuild.jar"/>
  |          <artifact id="jbossbuild.api"/>
  |       </component>
  |    </build>
  | 
  |    <!-- The component definition -->
  |    <componentdef component="jbossbuild" description="JBoss Build">
  | 
  |       <source id="main">
  |          <include input="ant.jar"/>
  |       </source>
  | 
  |       <artifactdef artifact="jbossbuild.jar">
  |          <include input="main"/>
  |       </artifactdef>
  | 
  |       <artifactdef artifact="jbossbuild.api">
  |          <include input="main"/>
  |       </artifactdef>
  |    </componentdef>
  | 
  | </project>
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860511#3860511

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860511


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to