Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help With Line Separators in Javadoc Command

Status
Not open for further replies.

YerMom

Programmer
Oct 3, 2006
127
US
I'm learning Javadoc and have created a few classes to which I've added comments. I also created a bat file to kick off the javadoc create process. (I'm doing all this on Windows XP.) I have several flags and originally wanted to put them each on their own line for readability, but when I start the process, I receive an error. Here is how the bat file looked with flags on their own lines:

Code:
javadoc -d apidocs Person.java Student.java  \
        -private \
        -doctitle DocTitle
pause

Samples on the Sun website indicate that "\" is the line continuation character. When I remove "\" and put all the flags on one line, the javadocs are produced with no problem.

Can anyone help?
Thanks!
 
That's for UNIX. On PC use the ^ character.

Tim
 
timw,

Thanks very much -- works just fine!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top