Re: JavaCC plug-in and multiple grammar files
did not find your attached pom. sorry here is the pom ... You can however run the javacc plugin multiple times with different configurations (output dir/package). I guess you mean with also different source dir, otherwise it would not work anyway, would it? What instead about making the plugin using the OUTPUT_DIRECTORY option inside the jj. I am thinking of appending it (if specified) to the output directory. Something like the attached code. What do the others think? Would it be a change that may worth to be contributed back? How can I contribute it to the JavaCC project? Stefano -- Stefano Fornari - Funambol Chief Architect / Funambol CTO === Home: http://www.funambol.org Documents: http://www.funambol.org/documentation/documents.html FAQ: http://www.funambol.org/support/faq.html WIKI: https://wiki.objectweb.org/sync4j/ Mailinglist archives: http://groups.yahoo.com/group/Sync4j (login required) http://sourceforge.net/mailarchive/forum.php?forum_id=215 (sync4j-users) http://sourceforge.net/mailarchive/forum.php?forum_id=48877 (funambol-dev) http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 pim funambol 6.0-SNAPSHOT Funambol Common PIM common funambol 6.0-SNAPSHOT objectweb file://${basedir}/../../target/deploy/site/common/pim commons-codec commons-codec 1.3 commons-lang commons-lang 2.1 joda-time joda-time 1.1 org.apache.maven.plugins maven-compiler-plugin 2.0 1.5 1.5 org.codehaus.mojo javacc-maven-plugin 2.2 javacc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JavaCC plug-in and multiple grammar files
Hi did not find your attached pom. You can however run the javacc plugin multiple times with different configurations (output dir/package). Regards Mark Donszelmann On Sep 27, 2006, at 4:10 AM, Stefano Fornari wrote: Hi All, I have multiple grammar files, each going into a different package. Therefore, I cannot specify either the output directory nor the package. I created the attached pom, but when maven generates the parser, all source codes go in the same generated-files directory. Looking at the code of the plug-in, it looks like it is a limitation in the plug-in (please forgive me if I am saying an heresy, it is the first time I see a mojo... :) ). Has anyone ever encountered the same problem? How did you fix it? Thanks in advance. Ste -- Stefano Fornari - Funambol Chief Architect / Funambol CTO === Home: http://www.funambol.org Documents: http://www.funambol.org/documentation/documents.html FAQ: http://www.funambol.org/support/faq.html WIKI: https://wiki.objectweb.org/sync4j/ Mailinglist archives: http://groups.yahoo.com/group/Sync4j (login required) http://sourceforge.net/mailarchive/forum.php?forum_id=215 (sync4j- users) http://sourceforge.net/mailarchive/forum.php?forum_id=48877 (funambol-dev) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JavaCC plug-in and multiple grammar files
Hi All, I have multiple grammar files, each going into a different package. Therefore, I cannot specify either the output directory nor the package. I created the attached pom, but when maven generates the parser, all source codes go in the same generated-files directory. Looking at the code of the plug-in, it looks like it is a limitation in the plug-in (please forgive me if I am saying an heresy, it is the first time I see a mojo... :) ). Has anyone ever encountered the same problem? How did you fix it? Thanks in advance. Ste -- Stefano Fornari - Funambol Chief Architect / Funambol CTO === Home: http://www.funambol.org Documents: http://www.funambol.org/documentation/documents.html FAQ: http://www.funambol.org/support/faq.html WIKI: https://wiki.objectweb.org/sync4j/ Mailinglist archives: http://groups.yahoo.com/group/Sync4j (login required) http://sourceforge.net/mailarchive/forum.php?forum_id=215 (sync4j-users) http://sourceforge.net/mailarchive/forum.php?forum_id=48877 (funambol-dev) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]