You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Adrian Herscu <bm...@axentra.net> on 2005/07/01 20:44:16 UTC

Re: javadoc and jxr generation

Brett,

I think that I have found the problem and I can reproduce it.

1) Download the commons-jelly.1.0.jar from here:
http://archive.apache.org/dist/java-repository/commons-jelly/jars/commons-jelly-1.0.jar

2) Copy it into %MAVEN_HOME%/lib

3) Run the site goal

And you should get this:

maven-javadoc-plugin:report:
     [javadoc] Generating Javadoc
     [javadoc] Javadoc execution
     [javadoc] Loading source files for package com.acme.apps...
     [javadoc] Constructing Javadoc information...
     [javadoc] Standard Doclet version 1.4.2_06
     [javadoc] Generating E:\Documents\bmf1972\My 
Projects\test\target\docs\apido
cs\constant-values.html...
     [javadoc] Copying file E:\stylesheet.css to file 
E:\Documents\bmf1972\My Pro
jects\test\target\docs\apidocs\tylesheet.css...
     [javadoc] javadoc: java.io.FileNotFoundException: E:\stylesheet.css 
(The sys
tem cannot find the file specified) encountered while
     [javadoc] 1 error
     [javadoc] performing copy.
     [delete] Deleting directory E:\Documents\bmf1972\My 
Projects\test\target\jav
adoc\src

     [echo] Generating the Source Xref...
maven-jxr-plugin:report:
     [echo]

BUILD FAILED
File...... D:\Documents and 
Settings\Administrator\.maven\cache\maven-jxr-plugin
-1.4.2\plugin.jelly
Element... ant:copy
Line...... 94
Column.... 55
Warning: Could not find file E:\stylesheet.css to copy.

4) Rename the commons-jelly.1.0.jar to commons-jelly.1.0.jar.x and rerun 
the site goal - this time it should not fail.

Adrian.

P.S. I really need to write a validating plugin which needs the 
org.apache.commons.jelly.util.ClassLoaderUtils class from the 
commons-jelly-1.0.jar.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: javadoc and jxr generation

Posted by Brett Porter <br...@gmail.com>.
Well, that explains a lot :)

You can't use commons-jelly-1.0 with Maven 1.0.2. They aren't
internally compatible. If you need the newer Jelly, try Maven
1.1-beta-1.

Cheers,
Brett

On 7/2/05, Adrian Herscu <bm...@axentra.net> wrote:
> Brett,
> 
> I think that I have found the problem and I can reproduce it.
> 
> 1) Download the commons-jelly.1.0.jar from here:
> http://archive.apache.org/dist/java-repository/commons-jelly/jars/commons-jelly-1.0.jar
> 
> 2) Copy it into %MAVEN_HOME%/lib
> 
> 3) Run the site goal
> 
> And you should get this:
> 
> maven-javadoc-plugin:report:
>      [javadoc] Generating Javadoc
>      [javadoc] Javadoc execution
>      [javadoc] Loading source files for package com.acme.apps...
>      [javadoc] Constructing Javadoc information...
>      [javadoc] Standard Doclet version 1.4.2_06
>      [javadoc] Generating E:\Documents\bmf1972\My
> Projects\test\target\docs\apido
> cs\constant-values.html...
>      [javadoc] Copying file E:\stylesheet.css to file
> E:\Documents\bmf1972\My Pro
> jects\test\target\docs\apidocs\tylesheet.css...
>      [javadoc] javadoc: java.io.FileNotFoundException: E:\stylesheet.css
> (The sys
> tem cannot find the file specified) encountered while
>      [javadoc] 1 error
>      [javadoc] performing copy.
>      [delete] Deleting directory E:\Documents\bmf1972\My
> Projects\test\target\jav
> adoc\src
> 
>      [echo] Generating the Source Xref...
> maven-jxr-plugin:report:
>      [echo]
> 
> BUILD FAILED
> File...... D:\Documents and
> Settings\Administrator\.maven\cache\maven-jxr-plugin
> -1.4.2\plugin.jelly
> Element... ant:copy
> Line...... 94
> Column.... 55
> Warning: Could not find file E:\stylesheet.css to copy.
> 
> 4) Rename the commons-jelly.1.0.jar to commons-jelly.1.0.jar.x and rerun
> the site goal - this time it should not fail.
> 
> Adrian.
> 
> P.S. I really need to write a validating plugin which needs the
> org.apache.commons.jelly.util.ClassLoaderUtils class from the
> commons-jelly-1.0.jar.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org