ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23382] New: - invalid javadoc command line on win32
Date Wed, 24 Sep 2003 10:51:23 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23382>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23382

invalid javadoc command line on win32

           Summary: invalid javadoc command line on win32
           Product: Ant
           Version: 1.5.4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: stefan-apache-bugs@baebler.net


A simple javadoc task with header:
	<javadoc 
		destdir="doc/hacking/javadoc" 
		sourcepath="classes" 	
		packagenames="org.makumba"
		classpathref="project.class.path"
	>
            <header>
                   EVEYTHING IS "OK" 'SO'FAR' ... BUT
                   "
                   THESE WORDS WILL BE UNDERSTOOD AS PACKAGE NAMES
            </header>
	</javadoc> 
fails on Windows with:
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] javadoc: Illegal package name: "NAMES
  [javadoc] "
  [javadoc] Loading source files for package THESE...
  [javadoc] Loading source files for package WORDS...
  [javadoc] javadoc: Illegal package name: " -classpath
J:\util-java\lib\antlr.jar;J:\util-java\lib\cvsc.jar;J:\util-jav
a\lib\junit.jar;J:\util-java\lib\mysql.jar;J:\util-java\lib\postgresql.jar;J:\util-java\lib\postgresql2.jar;J:\util-java
\lib\swing.jar;J:\util-java\tomcat-4.1\common\lib\servlet.jar -sourcepath
J:\sources\makumba\classes -version -author or
g.makumba"
  [javadoc] javadoc: warning - No source files for package THESE
  [javadoc] Loading source files for package WILL...
  [javadoc] javadoc: warning - No source files for package WORDS
  [javadoc] javadoc: warning - No source files for package WILL
  [javadoc] Loading source files for package BE...
  [javadoc] javadoc: warning - No source files for package BE
  [javadoc] Loading source files for package UNDERSTOOD...
  [javadoc] javadoc: warning - No source files for package UNDERSTOOD
  [javadoc] Loading source files for package AS...
  [javadoc] javadoc: warning - No source files for package AS
  [javadoc] Loading source files for package PACKAGE...
  [javadoc] javadoc: warning - No source files for package PACKAGE
  [javadoc] 2 errors
  [javadoc] 7 warnings

Relevant part of "ant -debug" output is:
...
  [javadoc] scanning J:\sources\makumba\classes for packages.
DirSet: Setup scanner in dir J:\sources\makumba\classes with patternSet{
includes: [org/makumba] excludes: [] }
  [javadoc] Generating Javadoc
fileset: Setup scanner in dir J:\util-java\lib with patternSet{ includes:
[**/*.jar] excludes: [**/makumba.jar] }
fileset: Setup scanner in dir J:\util-java\tomcat-4.1\common\lib with
patternSet{ includes: [**/servlet.jar] excludes: [
] }
  [javadoc] Executing 'J:\j2sdk1.4.2_01\bin\javadoc.exe' with arguments:
  [javadoc] '-d'
  [javadoc] 'J:\sources\makumba\doc\hacking\javadoc'
  [javadoc] '-header'
  [javadoc] '
  [javadoc]                    EVEYTHING IS "OK" 'SO'FAR' ... BUT
  [javadoc]                    "
  [javadoc]                    THESE WORDS WILL BE UNDERSTOOD AS PACKAGE NAMES
  [javadoc]             '
  [javadoc] '-classpath'
  [javadoc]
'J:\util-java\lib\antlr.jar;J:\util-java\lib\cvsc.jar;J:\util-java\lib\junit.jar;J:\util-java\lib\mysql.jar;
J:\util-java\lib\postgresql.jar;J:\util-java\lib\postgresql2.jar;J:\util-java\lib\swing.jar;J:\util-java\tomcat-4.1\comm
on\lib\servlet.jar'
  [javadoc] '-sourcepath'
  [javadoc] 'J:\sources\makumba\classes'
  [javadoc] '-version'
  [javadoc] '-author'
  [javadoc] 'org.makumba'
  [javadoc]
  [javadoc] The ' characters around the executable and arguments are
  [javadoc] not part of the command.
  [javadoc] Javadoc execution
Execute:Java13CommandLauncher: Executing 'J:\j2sdk1.4.2_01\bin\javadoc.exe' with
arguments:
'-d'
'J:\sources\makumba\doc\hacking\javadoc'
'-header'
'
                   EVEYTHING IS "OK" 'SO'FAR' ... BUT
                   "
                   THESE WORDS WILL BE UNDERSTOOD AS PACKAGE NAMES
            '
'-classpath'
'J:\util-java\lib\antlr.jar;J:\util-java\lib\cvsc.jar;J:\util-java\lib\junit.jar;J:\util-java\lib\mysql.jar;J:\util-java
\lib\postgresql.jar;J:\util-java\lib\postgresql2.jar;J:\util-java\lib\swing.jar;J:\util-java\tomcat-4.1\common\lib\servl
et.jar'
'-sourcepath'
'J:\sources\makumba\classes'
'-version'
'-author'
'org.makumba'

The ' characters around the executable and arguments are
not part of the command.

  [javadoc] javadoc: Illegal package name: "NAMES
  [javadoc] "
  [javadoc] Loading source files for package THESE...
  [javadoc] Loading source files for package WORDS...
  [javadoc] javadoc: Illegal package name: " -classpath
J:\util-java\lib\antlr.jar;J:\util-java\lib\cvsc.jar;J:\util-jav
a\lib\junit.jar;J:\util-java\lib\mysql.jar;J:\util-java\lib\postgresql.jar;J:\util-java\lib\postgresql2.jar;J:\util-java
\lib\swing.jar;J:\util-java\tomcat-4.1\common\lib\servlet.jar -sourcepath
J:\sources\makumba\classes -version -author or
g.makumba"
  [javadoc] Loading source files for package WILL...
  [javadoc] javadoc: warning - No source files for package THESE
  [javadoc] javadoc: warning - No source files for package WORDS
  [javadoc] Loading source files for package BE...
  [javadoc] javadoc: warning - No source files for package WILL
  [javadoc] Loading source files for package UNDERSTOOD...
  [javadoc] javadoc: warning - No source files for package BE
  [javadoc] Loading source files for package AS...
  [javadoc] javadoc: warning - No source files for package UNDERSTOOD
  [javadoc] javadoc: warning - No source files for package AS
  [javadoc] Loading source files for package PACKAGE...
  [javadoc] javadoc: warning - No source files for package PACKAGE
  [javadoc] 2 errors
  [javadoc] 7 warnings

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message