For my company, I am making a batch script package to go through and compile the latest code for our current project. I use Ant to create 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 necessary folders are imported immediately after.
It compiles fine in Eclipse, but I use Ant script to automate it outside the IDE, and Javac throws an error when it encounters this line. Is there any automatic procedure that I can use to ignore / suppress this error using javac in Ant?
I even went so far as to create a dummy file in the import directory, but all this is contained in a Jar file that I do not want to unpack and then recompress with a dummy file.
source share