Hi Arnaud, thanks for your reply. Originally, it was:
<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>funambol-framework</artifactId> <groupId>com.funambol</groupId> <version>3.0-SNAPSHOT</version> <name>Funambol Framework</name> <dependencies> <!-- External dependencies --> [...] </dependencies> </projects> and I invoked the plugin goal directly with javacc:javacc and then compile, but the generated code did not compile. Now I am trying adding the plugin in the build section of the pom , but I am getting a strange NPE... (see the other message). I am attaching the pom I testing now. Thanks again. Ste On 5/23/06, Arnaud Bailly <[EMAIL PROTECTED]> wrote:
"Stefano Fornari" <[EMAIL PROTECTED]> writes: > Hi All, > I found out how to invoke the compiler (using the javacc:javacc goal). > I am sure it is a stupid question, please forgive me, but how can I > automatically compile the classes generated under target? Is adding a > src directory to the javac plug-in the only option? > Hello, AFAIK, the javacc plugin generate sources in target/generated-sources whcich are automatically added to the files compiled. Could you send fragment of the pom ? regards, -- OQube < software engineering \ génie logiciel > Arnaud Bailly, Dr. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- 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
<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>funambol-framework</artifactId> <groupId>com.funambol</groupId> <version>3.0-SNAPSHOT</version> <name>Funambol Framework</name> <dependencies> <!-- External dependencies --> <dependency> <artifactId>commons-lang</artifactId> <groupId>commons-lang</groupId> <version>2.0</version> </dependency> <dependency> <artifactId>servlet-api</artifactId> <groupId>javax.servlet</groupId> <version>2.4</version> </dependency> <dependency> <artifactId>p6spy</artifactId> <groupId>p6spy</groupId> <version>1.3</version> </dependency> <!-- Internal dependencies --> <dependency> <artifactId>jibx-run</artifactId> <groupId>jibx</groupId> <version>3.0</version> <scope>provided</scope> </dependency> <dependency> <artifactId>funambol-ext</artifactId> <groupId>com.funambol</groupId> <version>3.0-SNAPSHOT</version> </dependency> </dependencies> <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>net.java.dev.javacc</groupId> <artifactId>javacc</artifactId> <version>4.0</version> </plugin> </plugins> </build> </project>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
