Hi,
Is it possible to compile java source files that are inside a zip?
According to the javac tool documentation it should be possible using the
-sourcepath argument:
-sourcepath sourcepath
Specify the source code path to search for class or interface definitions.
As with the user class path, source path entries are separated by semicolons
(;) and can be directories, JAR archives, or ZIP archives. If packages are
used, the local path name within the directory or archive must reflect the
package name.
However, I could neither get it to work in Ant nor on the command line.
Has anybody tried it before?
Thanks for your time,
Amnon
Amnon Khen,
Configuration Management and Tools, Cash-U Mobile Technologies LTD.
Tel: +972-54-492-2394 / Fax: +972-9-8920888
Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> / Web:
http://www.cash-u.com <http://www.cash-u.com/>