Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Compilation Using Argfiles

Timmy Chen
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic