[ http://jira.codehaus.org/browse/MJAVADOC-16?page=all ]

Maria Odea Ching moved MNG-968 to MJAVADOC-16:
----------------------------------------------

        Version:     (was: 2.0-beta-1)
    Fix Version:     (was: 2.0 (RC))
      Component:     (was: maven-javadoc-plugin)
       Workflow: jira  (was: Maven)
            Key: MJAVADOC-16  (was: MNG-968)
        Project: Maven 2.x Javadoc Plugin  (was: Maven 2)

> linkoffline tag is not parsed properly
> --------------------------------------
>
>          Key: MJAVADOC-16
>          URL: http://jira.codehaus.org/browse/MJAVADOC-16
>      Project: Maven 2.x Javadoc Plugin
>         Type: Bug

>     Reporter: David DIDIER
>     Assignee: John Casey
>  Attachments: MNG-968.patch, MNG-968_b.patch, OfflineLink.java
>
> Original Estimate: 4 hours
>        Time Spent: 5 hours
>         Remaining: 0 minutes
>
> When using the javadoc plugin with linkoffline, my pom contains :
> <reporting>
>     <plugins>
>         <plugin>
>             <groupId>org.apache.maven.plugins</groupId>
>             <artifactId>maven-javadoc-plugin</artifactId>
>             <version>2.0-beta-1</version>
>             <configuration>
>                 <linkoffline>http://java.sun.com/j2se/1.4.2/docs/api/ 
> path/to/package-list/</linkoffline>
>                 <source>1.4</source>
>             </configuration>
>         </plugin>
>         ...
>     </plugins>
> </reporting>
> but the generated command is then :
> javadoc.exe ... -linkoffline "http://java.sun.com/j2se/1.4.2/docs/api/ 
> path/to/package-list/" ...
> according to the javadoc documentation, it seems that the syntax should be :
> javadoc.exe ... -linkoffline http://java.sun.com/j2se/1.4.2/docs/api/ 
> path/to/package-list/  ... 
> (without ")
> Here is the interesting part of the trace :
> [INFO] [javadoc:javadoc]
> [INFO] C:\Programmation\j2sdk1.4.2_08\jre\..\bin\javadoc.exe -package-source 
> 1.4 -sourcePath D:\projets\ndd\root\..\ndd14-base\src\main\java -classpath 
> D:\projets\ndd\root\..\base\target\classes;d:\temp\maven2\repository\junit\junit\3.8.1\junit-3.8.1.jar;d:\temp\maven2\repository\log4j\log4j\1.2.9\log4j-1.2.9.jar;d:\temp\maven2\repository\commons-io\commons-io\1.0\commons-io-1.0.jar;d:\temp\maven2\repository\commons-lang\commons-lang\2.1\commons-lang-2.1.jar;d:\temp\maven2\repository\commons-primitives\commons-primitives\1.0\commons-primitives-1.0.jar
>  -author -bottom "Copyright null DD. All Rights Reserved." -charset 
> ISO-8859-1 -d D:\projets\ndd\root\..\base\target\javadoc\apidocs -doctitle 
> "NDD Base project 0.20-SNAPSHOT API" -linkoffline 
> "http://java.sun.com/j2se/1.4.2/docs/api/ ../root/src/javadoc/j2sdk-1.4.2/" 
> -stylesheetfile 
> D:\projets\ndd\root\..\base\target\javadoc\apidocs\stylesheet.css -use 
> -version -windowtitle "NDD Base project 0.20-SNAPSHOT API" @files
> javadoc: Illegal package name: 
> "D:\projets\ndd\root\..\base\target\javadoc\apidocs\stylesheet.css"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to