On Oct 1, 2008, at 3:05 AM, Benjamin Bentmann wrote:
Jason Dillon wrote:
Alrighty, I see a problem now. While my build is fine, my IDE (Intellij) is not so happy.

How comes the IDE and console builds differ? Doesn't the IDE use the same source roots as the console build?

No idea atm.


It shows a bunch of duplicate classes

Can you give a concrete example? I.e. for one of those duplicate classes, from which paths do all the duplicates come from?

Here is a dump of the gshell-parser ( https://svn.apache.org/repos/asf/geronimo/gshell/trunk/gshell-parser ) tree after a build, trimmed a wee bit to avoid too muck noise:

<snip>
./pom.xml
./src/main/grammar/CommandLineParser.jjt
./src/main/java/org/apache/geronimo/gshell/parser/ASTOpaqueString.java
./src/main/java/org/apache/geronimo/gshell/parser/ASTPlainString.java
./src/main/java/org/apache/geronimo/gshell/parser/ASTQuotedString.java
./src/main/java/org/apache/geronimo/gshell/parser/StringSupport.java
./src/main/java/org/apache/geronimo/gshell/parser/visitor/ ExecutingVisitor.java ./src/main/java/org/apache/geronimo/gshell/parser/visitor/ LoggingVisitor.java
./src/main/resources/META-INF/spring/components.xml
./target/generated-sources/javacc/org/apache/geronimo/gshell/parser/ ASTCommandLine.java ./target/generated-sources/javacc/org/apache/geronimo/gshell/parser/ ASTExpression.java ./target/generated-sources/javacc/org/apache/geronimo/gshell/parser/ ASTProcess.java ./target/generated-sources/javacc/org/apache/geronimo/gshell/parser/ CommandLineParser.java ./target/generated-sources/javacc/org/apache/geronimo/gshell/parser/ CommandLineParserConstants.java ./target/generated-sources/javacc/org/apache/geronimo/gshell/parser/ CommandLineParserTokenManager.java ./target/generated-sources/javacc/org/apache/geronimo/gshell/parser/ CommandLineParserTreeConstants.java ./target/generated-sources/javacc/org/apache/geronimo/gshell/parser/ CommandLineParserVisitor.java ./target/generated-sources/javacc/org/apache/geronimo/gshell/parser/ JJTCommandLineParserState.java ./target/generated-sources/javacc/org/apache/geronimo/gshell/parser/ Node.java ./target/generated-sources/javacc/org/apache/geronimo/gshell/parser/ ParseException.java ./target/generated-sources/javacc/org/apache/geronimo/gshell/parser/ SimpleCharStream.java ./target/generated-sources/javacc/org/apache/geronimo/gshell/parser/ SimpleNode.java ./target/generated-sources/javacc/org/apache/geronimo/gshell/parser/ Token.java ./target/generated-sources/javacc/org/apache/geronimo/gshell/parser/ TokenMgrError.java ./target/generated-sources/jjtree/org/apache/geronimo/gshell/parser/ ASTCommandLine.java ./target/generated-sources/jjtree/org/apache/geronimo/gshell/parser/ ASTExpression.java ./target/generated-sources/jjtree/org/apache/geronimo/gshell/parser/ ASTOpaqueString.java ./target/generated-sources/jjtree/org/apache/geronimo/gshell/parser/ ASTPlainString.java ./target/generated-sources/jjtree/org/apache/geronimo/gshell/parser/ ASTProcess.java ./target/generated-sources/jjtree/org/apache/geronimo/gshell/parser/ ASTQuotedString.java ./target/generated-sources/jjtree/org/apache/geronimo/gshell/parser/ CommandLineParser.jj ./target/generated-sources/jjtree/org/apache/geronimo/gshell/parser/ CommandLineParserTreeConstants.java ./target/generated-sources/jjtree/org/apache/geronimo/gshell/parser/ CommandLineParserVisitor.java ./target/generated-sources/jjtree/org/apache/geronimo/gshell/parser/ JJTCommandLineParserState.java ./target/generated-sources/jjtree/org/apache/geronimo/gshell/parser/ Node.java ./target/generated-sources/jjtree/org/apache/geronimo/gshell/parser/ SimpleNode.java
</snip>

Notice the ASTOpaqueString, ASTPlainString and ASTQuotedString, which are defined in src/main/java/* ? There are also classes of the same name, the generated bits, in the target/generated-sources/jjtree output.

--jason



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to