Problem with command line argument files and quoted strings

I'm trying to use the following custom tag:

-tag com.me.Test.testTag:f:"My Test Tag"

This works fine when sent straight to the command line, but if I put it in an argument file (@argfile) along with the rest of my command, I get the following error:

javadoc: Illegal package name: "My Test Tag"

Any idea why this is happening? If I use a one-word tag header and omit the quotes, javadoc runs with no problems. I'm using Sun's SDK 1.4.1.

Thanks for your help!

Linda Howard

[517 byte] By [lindahowarda] at [2007-9-28 18:45:38]
# 1

White space is treated a bit differently in an @argfile,

to enable users to put packages or options on separate lines.

You might try escaping the spaces:

"My\ Test\ Tag"

or using a non-breaking space:

"My Test Tag"

What operating system are you on?

-Doug Kramer

javadoc team

dkramera at 2007-7-12 17:00:08 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...