views:

17

answers:

1

I want to generate class files to some place(not the output folder in the build path) manually ,i found some classes like JavaBuilder,Compiler,IncrementalProjectBuilder,etc,but i still dont know how to use these classes to compile class files to a specified location.How to do this? Thanks.

A: 

You can let Eclipse generate the class files in the bin directory and use Ant to copy the class files to whichever directory (WEB-INF?) you wish.

Gilbert Le Blanc