Greetings!

I have successfully built ANTLR 3.4 starting from the source tarball
from the antlr.org download page. I use Ubuntu 11.04 and java 1.6.

But had an issue with hidden files (.*.java) in two of the
sub-directories.

First, I am an idiot, as I am sure everyone already knows. The BUILD.txt
file clearly states that Maven 3.0.3 or better is required. It took me a
few minutes to realize that Ubuntu has an out of date Maven. After
upgrading things went much better. I mention this in the hope that
BUILD.txt might be altered to include many many many more warnings that
an up to date maven is required. For me the `mvn -N install` command
worked without error on the older version of maven but the
`mvn -Dmaven.test.skip=true` failed complaining about cyclic
dependencies.

What I am suggesting is a reminder in BUILD.txt near the discussion of
the `mvn -Dmaven.test.skip=true` command that version 3.0.3 or better is
required.

And so now the real reason for this email.

in both the antlr3-maven-plugin and gunit-maven-plugin sub-directory
hierarchies there are hidden, mac os related (i think), files that have
the .java extension. i can supply the specific file names if you need
them ---- this is from the antlr-3.4 source tarball on the antlr.org
download page.

and i have to ask why any of the hidden files are included in the
tarball. are any of the paths .* really necessary in the tarball?
--- but i digress.

anyway, Maven wants to compile these .*.java files but just in the two
*-maven-plugin sub-directories. i deleted the .*.java files in those two
hierarchies and the build worked properly.

there are .*.java files in several of the other sub-directories that did
not cause any problem. so i suspect that there is some maven-magic
missing from the build for the two maven-plugin directories.

i am completely clueless about Maven, so maybe i way off-base.

please feel free to ask for any clarification you might require.

if you want, i can look into this further, but i will need some time to
learn maven....

Sorry for being so long-winded and Thank You for your time.
   -jbb


_______________________________________________
antlr-dev mailing list
antlr-dev@antlr.org
http://www.antlr.org/mailman/listinfo/antlr-dev

Reply via email to