Yes the ANT_HOME env var is set
cut= ANT_HOME=C:\jakarta-ant-1.4.1\ =cut here is the verbose output, this is some strange stuff cut= Ant version 1.4.1 compiled on October 11 2001 Buildfile: build.xml Detected Java version: 1.3 in: C:\jdk1.3.1_01\jre Detected OS: Windows 2000 parsing buildfile C:\ichara\build\build.xml with URI = file:C:/ichara/build/buil d.xml Project base dir set to: C:\ichara\build Build sequence for target `doc' is [init, doc] Complete build sequence is [init, doc, clean, prepare, compile, jar, test, norma l] init: doc: Property ${ant.home} has not been set [echo] ${ant.home} [javadoc] Generating Javadoc [javadoc] Source path = C:\ichara\src [javadoc] Packages = ie.emuse.* [javadoc] Exclude Packages = [javadoc] Javadoc args: C:\jdk1.3.1_01\jre\..\bin\javadoc.exe -d C:\ichara\bui ld\javadocs -use -windowtitle "Ichara Documentation" -classpath 'C:\jdk1.3.1_01\ lib\tools.jar;c:\jakarta-ant-1.4.1\\lib\crimson.jar;c:\jakarta-ant-1.4.1\\li b\ja xp.jar;c:\jakarta-ant-1.4.1\\lib\ant.jar;c:\tomcat\lib\servlet.jar;C:\xalan- j_2_ 2_0\bin" -Dant.home=c;\jakarta-ant-1.4.1"' -sourcepath C:\ichara\src -version -a uthor ie.emuse.ichara.shared.enum ie.emuse.ichara.shared.trace [javadoc] Javadoc execution [javadoc] javadoc: invalid flag: -Dant.home=c;\jakarta-ant-1.4.1 [javadoc] usage: javadoc [options] [packagenames] [sourcefiles] [classnames] [ @files] [javadoc] -overview <file> Read overview documentation from HTML file [javadoc] -public Show only public classes and members [javadoc] -protected Show protected/public classes and members (default) [javadoc] -package Show package/protected/public classes and members [javadoc] -private Show all classes and members [javadoc] -help Display command line options [javadoc] -doclet <class> Generate output via alternate doclet [javadoc] -docletpath <path> Specify where to find doclet class files [javadoc] -1.1 Generate output using JDK 1.1 emulating do clet [javadoc] -sourcepath <pathlist> Specify where to find source files [javadoc] -classpath <pathlist> Specify where to find user class files [javadoc] -bootclasspath <pathlist> Override location of class files loaded [javadoc] by the bootstrap class loader [javadoc] -extdirs <dirlist> Override location of installed extensions [javadoc] -verbose Output messages about what Javadoc is doin g [javadoc] -locale <name> Locale to be used, e.g. en_US or en_US_WIN [javadoc] -encoding <name> Source file encoding name [javadoc] -J<flag> Pass <flag> directly to the runtime system [javadoc] [javadoc] Provided by Standard doclet: [javadoc] -d <directory> Destination directory for output files [javadoc] -use Create class and package usage pages [javadoc] -version Include @version paragraphs [javadoc] -author Include @author paragraphs [javadoc] -splitindex Split index into one file per letter [javadoc] -windowtitle <text> Browser window title for the documenation [javadoc] -doctitle <html-code> Include title for the package index(first) page [javadoc] -header <html-code> Include header text for each page [javadoc] -footer <html-code> Include footer text for each page [javadoc] -bottom <html-code> Include bottom text for each page [javadoc] -link <url> Create links to javadoc output at <url> [javadoc] -linkoffline <url> <url2> Link to docs at <url> using package list a t <url2> [javadoc] -group <name> <p1>:<p2>.. Group specified packages together in overv iew page [javadoc] -nodeprecated Do not include @deprecated information [javadoc] -nosince Do not include @since information [javadoc] -nodeprecatedlist Do not generate deprecated list [javadoc] -notree Do not generate class hierarchy [javadoc] -noindex Do not generate index [javadoc] -nohelp Do not generate help link [javadoc] -nonavbar Do not generate navigation bar [javadoc] -serialwarn Generate warning about @serial tag [javadoc] -charset <charset> Charset for cross-platform viewing of gene rated documentation. [javadoc] -helpfile <file> Include file that help link links to [javadoc] -stylesheetfile <path> File to change style of the generated docu mentation [javadoc] -docencoding <name> Output encoding name [javadoc] 1 error BUILD SUCCESSFUL =cut -----Original Message----- From: Diane Holt [mailto:[EMAIL PROTECTED]] Sent: 30 January 2002 16:21 To: Ant Users List Subject: Re: javadoc: invalid flag: -Dant.home=C;\jakarta-ant-1.4.1 --- "Hunt, Bryan" <[EMAIL PROTECTED]> wrote: > I am getting a strange error ... when I run the javadoc task > doc: > [echo] ${ant.home} The fact that ant.home is undefined is suspicious -- it should be getting set on the 'java' command-line the Ant wrapper-script puts together. Are you using some other method to run Ant? Is the ANT_HOME env var set? > [javadoc] Generating Javadoc > [javadoc] Javadoc execution > [javadoc] usage: javadoc [options] [packagenames] [sourcefiles] Run 'ant' with the -verbose flag to see the args and actual command-line being used for the 'javadoc' command. Diane ===== ([EMAIL PROTECTED]) __________________________________________________ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! http://auctions.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>