User: user57 Date: 02/02/13 18:54:29 Modified: . build.xml Log: o Removing files generated by JavaCC. o Renamed jms.jj to SelectorParser.jj (it generates SelectorParser.java) o Made SelectorParser the deafult o Fixed build system to correctly build the parser Revision Changes Path 1.18 +18 -5 jbossmq/build.xml Index: build.xml =================================================================== RCS file: /cvsroot/jboss/jbossmq/build.xml,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- build.xml 13 Feb 2002 06:38:33 -0000 1.17 +++ build.xml 14 Feb 2002 02:54:29 -0000 1.18 @@ -12,7 +12,7 @@ <!-- --> <!-- ====================================================================== --> -<!-- $Id: build.xml,v 1.17 2002/02/13 06:38:33 user57 Exp $ --> +<!-- $Id: build.xml,v 1.18 2002/02/14 02:54:29 user57 Exp $ --> <project default="main" name="JBoss/Messaging"> @@ -262,7 +262,7 @@ | documentation compiles. --> <target name="compile" - depends="compile-classes, compile-parsers, compile-rmi, compile-resources, compile-etc" + depends="compile-parsers, compile-classes, compile-rmi, compile-resources, compile-etc" description="Compile all source files."/> <!-- Compile parsers --> @@ -270,7 +270,7 @@ <mkdir dir="${build.parsers}"/> <!-- message selector parser --> - <javacc target="${source.java}/org/jboss/mq/selectors/jms.jj" + <javacc target="${source.java}/org/jboss/mq/selectors/SelectorParser.jj" outputdirectory="${build.parsers}" javacchome="${sun.javacc.lib}" static="false"/> @@ -287,9 +287,22 @@ 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"/> + + <!-- + | Ant really pissses me off! Why can't I create a fileset + | and list the includes/excludes there? Why the *uck do I have + | to use this src crap... + --> + + <!-- JavaCC creates output in a flat namespace --> + <src path="${build.parsers}"/> + <include name="*.java"/> + + <!-- Only want to build required the bits under selectors.* here --> + <src path="${source.java}"/> + <include name="org/jboss/mq/selectors/Operator.java"/> + <include name="org/jboss/mq/selectors/Identifier.java"/> </javac> </target>
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development