You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by un...@apache.org on 2003/11/10 15:20:22 UTC

cvs commit: cocoon-2.2/src/targets init-build.xml compile-build.xml

unico       2003/11/10 06:20:22

  Modified:    src/targets init-build.xml compile-build.xml
  Added:       tools/lib qdox-1.1.jar excalibur-fortress-tools-1.0.jar
  Log:
  install fortress meta info collector task
  
  Revision  Changes    Path
  1.1                  cocoon-2.2/tools/lib/qdox-1.1.jar
  
  	<<Binary file>>
  
  
  1.1                  cocoon-2.2/tools/lib/excalibur-fortress-tools-1.0.jar
  
  	<<Binary file>>
  
  
  1.21      +7 -1      cocoon-2.2/src/targets/init-build.xml
  
  Index: init-build.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.2/src/targets/init-build.xml,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- init-build.xml	4 Sep 2003 12:42:41 -0000	1.20
  +++ init-build.xml	10 Nov 2003 14:20:22 -0000	1.21
  @@ -113,7 +113,7 @@
     </target>
   
     <target name="init-tasks" depends="init">
  -
  +    
       <!-- Set classpath for building ant tasks -->
       <path id="tasks.classpath">
         <path refid="classpath"/>
  @@ -141,6 +141,12 @@
       <!-- Jing is used in various targets for XML validation with RELAX NG -->
       <taskdef name="jing" classname="com.thaiopensource.relaxng.util.JingTask" classpathref="tasks.classpath"/>
   
  +    <!-- Fortress meta info task -->
  +    <taskdef 
  +      name="fortress-meta" 
  +      classname="org.apache.avalon.fortress.tools.ComponentMetaInfoCollector"
  +      classpathref="tasks.classpath"/>
  +    
       <!-- compile the loader, used to change classpath especially for the CLI and Jetty -->
       <mkdir dir="${tools.loader.dest}"/>
       <javac srcdir="${tools.loader.src}"
  
  
  
  1.16      +8 -0      cocoon-2.2/src/targets/compile-build.xml
  
  Index: compile-build.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.2/src/targets/compile-build.xml,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- compile-build.xml	4 Sep 2003 12:42:41 -0000	1.15
  +++ compile-build.xml	10 Nov 2003 14:20:22 -0000	1.16
  @@ -14,6 +14,13 @@
           <exclude name="**/*.xconf"/>
         </fileset>
       </copy>
  +	
  +	<!-- generate fortress meta descriptors -->
  +    <fortress-meta destdir="${build.dest}">
  +      <fileset dir="${java}">
  +        <include name="**/*.java"/>
  +      </fileset>
  +    </fortress-meta>
   
       <!-- compile mock classes -->
       <mkdir dir="${build.mocks}"/>
  @@ -37,6 +44,7 @@
              nowarn="${compiler.nowarn}"
              compiler="${compiler}"
              classpathref="classpath"/>
  +    
     </target>
   
     <!-- compiles deprecated code -->