Hi Michelle, hi Craig,
I see the same error as Craig if I run 'maven site' in jdo/site. I also
have a site.jsl in my
.maven/cache/maven-xdoc-plugin-1.10.1/plugin-resources. But there is a
(different) site.jsl checked in into jdo/site/xdocs. In addition the
file project.properties in jdo/site defines a property
'maven.xdoc.jsl=xdocs/site.jsl'. If I delete this property 'maven site'
succeds.
Michelle,
which maven version are you using? I'm using maven 1.1. I found an
interesting entry in one of the JPOX forums. Somebody complained about
the same error and Andy proposed to use maven 1.0.2 instead of maven 1.1.
We could change site/project.properties, remove the setting of
maven.xdoc.jsl and maybe delete the local version of site.jsl under
xdocs. But I'm afraid that this only works with maven 1.1.
Regards Michael
Hi Craig,
It works for me, but I notice that I have a site.jsl file in my
.maven/cache/maven-xdoc-plugin-1.10.1/plugin-resources.
-- Michelle
Craig L Russell wrote:
I can't generate the site. I've got a clean site and I've read the
HOWTO and I get this error:
[CraigRussell:~/apache/jdo/site] clr% svn status
[CraigRussell:~/apache/jdo/site] clr% svn up
At revision 642332.
[CraigRussell:~/apache/jdo/site] clr% maven clean
site __ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.1
build:start:
clean:clean:
xdoc:clean:
clean:
site:
xdoc:register-reports:
maven-javadoc-plugin:register:
[mkdir] Created dir: /Users/clr/apache/jdo/site/target/javadoc
[mkdir] Created dir: /Users/clr/apache/jdo/site/target/javadoc/src
site:run-reports:
xdoc:init-i18n:
[echo] Init the i18n support
xdoc:init:
[echo] Generates the directory structure required for xdocs
[mkdir] Created dir: /Users/clr/apache/jdo/site/target/generated-
xdocs
[mkdir] Created dir: /Users/clr/apache/jdo/site/target/docs
xdoc:i18n-validation:
[echo] Validation of the locale entries
xdoc:register-reports:
maven-javadoc-plugin:register:
xdoc:generate-from-pom:
[echo] Generating xdocs from POM ...
xdoc:transform:
xdoc:init-i18n:
xdoc:init:
[echo] Generates the directory structure required for xdocs
xdoc:copy-resources:
[copy] Copying 5 files to /Users/clr/apache/jdo/site/target/docs/
style
[copy] Copying 16 files to
/Users/clr/apache/jdo/site/target/docs/ images
xdoc:init-i18n:
xdoc:init:
[echo] Generates the directory structure required for xdocs
Copying user supplied resources.
xdoc:copy-user-resources:
[copy] Copying 17 files to /Users/clr/apache/jdo/site/target/docs
[copy] Copied 3 empty directories to 2 empty directories under /
Users/clr/apache/jdo/site/target/docs
xdoc:init-i18n:
xdoc:init:
[echo] Generates the directory structure required for xdocs
xdoc:jelly-init:
xdoc:register-reports:
maven-javadoc-plugin:register:
xdoc:jelly-transform:
About to use JSL stylesheet xdocs/site.jsl
[echo] en
[echo] The current Locale is the default one
[echo] Scanning '/Users/clr/apache/jdo/site/target/generated-
xdocs'...
[echo] Generating /Users/clr/apache/jdo/site/target/docs/
dependencies.html from /Users/clr/apache/jdo/site/target/generated-
xdocs/dependencies.xml
-------------------------------------------------------------------------------
>> Unable to obtain goal [site]
>> /Users/clr/.maven/cache/maven-xdoc-plugin-1.10.1/xdocs/site.jsl
(No such file or directory)
-------------------------------------------------------------------------------
BUILD FAILED
-------------------------------------------------------------------------------
Total time : 20 seconds
Finished at : Friday, March 28, 2008 11:47:38 AM PDT
Final Memory : 8M/15M
-------------------------------------------------------------------------------
Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!
--
Michael Bouschen
akquinet [EMAIL PROTECTED] GmbH
Tempelhofer Ufer 23-24, 10963 Berlin
Bülowstraße 66, 10783 Berlin
Tel.: +49/(0)30/235 520-33 Fax.: +49/(0)30/217 520-12
Geschäftsführung: Martin Weber, Hendrik Saly, Prof. Dr. Christian Roth
Amtsgericht Berlin-Charlottenburg HRB 86780 B
USt.-Id. Nr.: DE 225 964 680