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)
<!--
  * Copyright (C) 2006 Funambol
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-->
<project xmlns="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";>
    <modelVersion>4.0.0</modelVersion>
    <artifactId>pim</artifactId>
    <groupId>funambol</groupId>
    <version>6.0-SNAPSHOT</version>
    <name>Funambol Common PIM</name>

    <parent>
        <artifactId>common</artifactId>
        <groupId>funambol</groupId>
        <version>6.0-SNAPSHOT</version>
    </parent>

    <!--
        SITE
    -->
    <distributionManagement>
        <site>
            <id>objectweb</id>
            <url>file://${basedir}/../../target/deploy/site/common/pim</url>
        </site>
   </distributionManagement>

    <!--
        DEPENDENCIES
    -->
    <dependencies>
        <!--
            External dependencies
        -->
        <dependency>
            <artifactId>commons-codec</artifactId>
            <groupId>commons-codec</groupId>
            <version>1.3</version>
        </dependency>

        <dependency>
            <artifactId>commons-lang</artifactId>
            <groupId>commons-lang</groupId>
            <version>2.1</version>
        </dependency>

        <dependency>
            <artifactId>joda-time</artifactId>
            <groupId>joda-time</groupId>
            <version>1.1</version>
        </dependency>

        <!--
            Internal dependencies
        -->
    </dependencies>

    <!--
        BUILD
    -->
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.0</version>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>javacc-maven-plugin</artifactId>
                <version>2.2</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>javacc</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

</project>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to