You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jv...@apache.org on 2002/02/20 23:50:12 UTC

cvs commit: jakarta-turbine-maven build-project.xml build.xml

jvanzyl     02/02/20 14:50:12

  Modified:    .        build.xml
  Added:       .        build-project.xml
  Log:
  - moving project specific parser generation to project-build.xml and will
    use that as the standard project specific extension mechanism.
  
  Revision  Changes    Path
  1.6       +1 -60     jakarta-turbine-maven/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/build.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- build.xml	20 Feb 2002 16:20:02 -0000	1.5
  +++ build.xml	20 Feb 2002 22:50:12 -0000	1.6
  @@ -46,39 +46,11 @@
     </target>
   
     <!-- ================================================================== -->
  -  <!-- T E S T                                                            -->
  -  <!-- ================================================================== -->
  -
  -  <target
  -    name="test"
  -    depends="dist"
  -    description="==> run tests">
  -
  -    <ant antfile="build-test.xml"/>
  -  </target>
  -
  -  <!-- ================================================================== -->
  -  <!-- I N I T                                                            -->
  -  <!-- ================================================================== -->
  -
  -  <target
  -    name="init">
  -
  -    <available
  -      classname="org.apache.velocity.anakia.AnakiaTask"
  -      property="AnakiaTask.present"
  -      classpathref="classpath"
  -    />
  -
  -  </target>
  -
  -  <!-- ================================================================== -->
     <!-- P R E P A R E                                                      -->
     <!-- ================================================================== -->
   
     <target
  -    name="prepare"
  -    depends="init">
  +    name="prepare">
   
       <mkdir dir="${build.dir}"/>
       <mkdir dir="${build.dest}"/>
  @@ -93,36 +65,6 @@
     </target>
   
     <!-- ================================================================== -->
  -  <!-- J A V A C C                                                        -->
  -  <!-- ================================================================== -->
  -
  -  <target name="javacc">
  -
  -    <echo>
  -      JavaCC Home => ${javacc.home}
  -    </echo>
  -
  -    <mkdir dir="${outputDirectory}"/>
  -
  -    <jjtree
  -      target="${parserJJTreeGrammar}"
  -      javacchome="${javacc.home}"
  -      nodepackage="${nodePackage}"
  -    />
  -
  -    <javacc
  -      target="${parserGrammar}"
  -      javacchome="${javacc.home}"
  -    />
  -
  -  </target>
  -
  -  <target
  -    name="all"
  -    depends="javacc,compile"/>
  -
  -
  -  <!-- ================================================================== -->
     <!-- C O M P I L E                                                      -->
     <!-- ================================================================== -->
   
  @@ -164,7 +106,6 @@
   
     <target
       name="docs"
  -    depends="init"
       description="Generate Documentation for the Project">
   
       <ant antfile="build-docs.xml"/>
  
  
  
  1.1                  jakarta-turbine-maven/build-project.xml
  
  Index: build-project.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <project name="Maven" default="jar" basedir=".">
  
    <!-- Allow any user specific values to override the defaults -->
    <property file="${user.home}/build.properties" />
    <!-- Allow user defaults for this project -->
    <property file="build.properties" />
    <!-- Set default values for the build -->
    <property file="default.properties" />
  
    <!-- ================================================================== -->
    <!-- J A V A C C                                                        -->
    <!-- ================================================================== -->
  
    <target 
      name="javacc">
  
      <echo>
        JavaCC Home => ${javacc.home}
      </echo>
  
      <mkdir dir="${outputDirectory}"/>
  
      <jjtree
        target="${parserJJTreeGrammar}"
        javacchome="${javacc.home}"
        nodepackage="${nodePackage}"
      />
  
      <javacc
        target="${parserGrammar}"
        javacchome="${javacc.home}"
      />
  
    </target>
  
  </project>
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>