Strange/simple batch question regarding Java/Ant
Posted
by Monster
on Stack Overflow
See other posts from Stack Overflow
or by Monster
Published on 2009-05-18T16:53:09Z
Indexed on
2010/04/08
20:03 UTC
Read the original article
Hit count: 300
For my company, I'm making a batch script to go through and compile the latest revisions of code for our current project. I'm using Ant to build the class files, but encountered a strange error. One of the source files imports .* from a directory, where there are no files (only folders), and in fact, the folders needed are imported right after.
It compiles perfectly fine in Eclipse, but I'm using an Ant script to automate it outside of the IDE, and Javac throws an error when it encounters this line. Is there any automated procedure I can use to ignore/suppress this error with javac in Ant?
I'd even go so far as to create a dummy file in the importing directory, but all of that in contained in a Jar file I don't wish to have to decompress and then recompress with the dummy file.
Thanks!
© Stack Overflow or respective owner