On Oct 20, 2007, at 10:08 PM, Kevin Menard wrote:
> It looks like the Node interface is being defined in two places,
> one in the
> main sources and one generated by javacc:
>
> src/main/java/org/apache/cayenne/ejbql/parser/Node.java
>
> target/generated-sources/jjtree/org/apache/cayenne/ejbql/org/apache/
> cayenne/
> ejbql/parser/Node.java
>
> These both define a "Node" interface in the package
> "org.apache.cayenne.ejbql.parser"
Ah ok... We have this (pretty old) hack in the pom to clean it up.
Wonder why it doesn't work for you:
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>process-sources</phase>
<configuration>
<tasks>
<delete
file="${project.build.directory}/
generated-sources/jjtree/org/apache/cayenne/ejbql/Node.java"/>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
Andrus
This archive was generated by hypermail 2.0.0 : Sat Oct 20 2007 - 15:16:56 EDT