cmlenz      2003/02/08 08:26:02

  Modified:    integration/ant/src/scripts/share build-share.xml
               integration/ant build.xml
  Log:
  - Added a property file that can be used by Ant's <taskdef>-task to 
    map tasks to class names. This file is dynamically generated using the 
    <propertyfile>-task, and put in the root of the JAR.
  - Changed build-share.xml to use that property file for the <taskdef>
  
  Revision  Changes    Path
  1.2       +2 -6      jakarta-cactus/integration/ant/src/scripts/share/build-share.xml
  
  Index: build-share.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-cactus/integration/ant/src/scripts/share/build-share.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build-share.xml   3 Feb 2003 10:52:39 -0000       1.1
  +++ build-share.xml   8 Feb 2003 16:26:01 -0000       1.2
  @@ -67,12 +67,8 @@
   
           <!-- Initialize Cactus custom Ant task needed for running the server
                tests -->
  -        <taskdef name="runservertests"
  -            classname="org.apache.cactus.integration.ant.RunServerTestsTask">
  -            <classpath>
  -                <pathelement location="${cactus.antintegration.jar}"/>
  -            </classpath>
  -        </taskdef>
  +        <taskdef resource="cactus.tasks"
  +          classpath="${cactus.antintegration.jar}"/>
   
       </target>
   
  
  
  
  1.2       +6 -0      jakarta-cactus/integration/ant/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/integration/ant/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml 3 Feb 2003 10:52:43 -0000       1.1
  +++ build.xml 8 Feb 2003 16:26:01 -0000       1.2
  @@ -114,6 +114,12 @@
   
           <mkdir dir="${target.classes.java.dir}"/>
   
  +        <propertyfile file="${target.classes.java.dir}/cactus.tasks"
  +          comment="Cactus Tasks for Ant">
  +            <entry key="runservertests"
  +              value="org.apache.cactus.integration.ant.RunServerTestsTask"/>
  +        </propertyfile>
  +
           <javac srcdir="${src.java.dir}" destdir="${target.classes.java.dir}"
             deprecation="${deprecation}" optimize="${optimize}" 
             debug="${debug}"/>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to