File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Compilation Using Argfiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Compilation Using Argfiles" Watch "Compilation Using Argfiles" New topic

Compilation Using Argfiles

Timmy Chen

Joined: Nov 19, 2005
Posts: 3
I am experinmenting with the compilation through javac in the command lines window in Windows XP. Everything works fine untile I start using argfiles.

Here is my command line:

This works perfectly until I try to use argfiles:

where options file contains:

and classes file contains:

Somehow, when I use the argfiles command line, javac is telling me that I am having invalid flag. I think it is probably due to the white space that I have. If that is the case, how do I have javac regorgnize the white space in argfiles?
I agree. Here's the link:
subject: Compilation Using Argfiles
It's not a secret anymore!