User: user57  
  Date: 01/08/26 14:39:02

  Modified:    .        build.xml
  Log:
   o added javacc of jms.jj to the build via compile-parsers (part of the
     compile target)
  
  Revision  Changes    Path
  1.9       +35 -3     jbossmq/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jbossmq/build.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- build.xml 2001/08/26 07:00:30     1.8
  +++ build.xml 2001/08/26 21:39:02     1.9
  @@ -10,7 +10,7 @@
   <!--                                                                        -->
   <!-- ====================================================================== -->
   
  -<!-- $Id: build.xml,v 1.8 2001/08/26 07:00:30 user57 Exp $ -->
  +<!-- $Id: build.xml,v 1.9 2001/08/26 21:39:02 user57 Exp $ -->
   
   <project default="main">
   
  @@ -87,7 +87,9 @@
     <!-- Tool Configuration                                                 -->
     <!-- ================================================================== -->
   
  -  <!-- No non-standard tools are required for this module. -->
  +  <!-- JavaCC -->
  +  <property name="sun.javacc.root" value="${thirdparty.root}/sun/javacc"/>
  +  <property name="sun.javacc.lib" value="${sun.javacc.root}/lib"/>
   
   
     <!-- ================================================================== -->
  @@ -255,6 +257,7 @@
   
     <!-- Where build generated files will go -->
     <property name="build.classes" value="${module.build}/classes"/>
  +  <property name="build.parsers" value="${module.build}/parsers"/>
     <property name="build.jars" value="${module.build}/lib"/>
     <property name="build.api" value="${module.build}/api"/>
     <property name="build.etc" value="${module.build}/etc"/>
  @@ -328,8 +331,37 @@
        |  documentation compiles.
       -->
     <target name="compile" 
  -       depends="compile-classes, compile-rmi, compile-resources, compile-etc"
  +       depends="compile-classes, compile-parsers, compile-rmi, compile-resources, 
compile-etc"
          description="Compile all source files."/>
  +
  +  <!-- Compile parsers -->
  +  <target name="compile-parsers" depends="init">
  +    <mkdir dir="${build.parsers}"/>
  +
  +    <!-- message selector parser -->
  +    <javacc target="${source.java}/org/jboss/mq/selectors/jms.jj" 
  +         outputdirectory="${build.parsers}"
  +         javacchome="${sun.javacc.lib}"
  +         static="false"/>
  +
  +    <!-- compile them now -->
  +    <mkdir dir="${build.classes}"/>
  +    <javac destdir="${build.classes}"
  +           optimize="${javac.optimize}"
  +        target="${javac.target}"
  +           debug="${javac.debug}"
  +        depend="${javac.depend}"
  +        verbose="${javac.verbose}"
  +        deprecation="${javac.deprecation}"
  +        includeAntRuntime="${javac.include.ant.runtime}"
  +        includeJavaRuntime="${javac.include.java.runtime}"
  +        failonerror="${javac.fail.onerror}">
  +       <src path="${build.parsers}"/>
  +       <classpath refid="javac.classpath"/>
  +       <include name="**/*.java"/>
  +    </javac>
  +
  +  </target>
   
     <!-- Compile all class files -->
     <target name="compile-classes" depends="init">
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to