Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 98058 invoked from network); 30 Mar 2008 22:32:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Mar 2008 22:32:09 -0000 Received: (qmail 71467 invoked by uid 500); 30 Mar 2008 22:32:09 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 71456 invoked by uid 99); 30 Mar 2008 22:32:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Mar 2008 15:32:09 -0700 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [192.18.43.133] (HELO sca-es-mail-2.sun.com) (192.18.43.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Mar 2008 22:31:15 +0000 Received: from fe-sfbay-09.sun.com ([192.18.43.129]) by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id m2UMVYTW006794 for ; Sun, 30 Mar 2008 15:31:34 -0700 (PDT) Received: from conversion-daemon.fe-sfbay-09.sun.com by fe-sfbay-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0JYK00201EI4RX00@fe-sfbay-09.sun.com> (original mail from Craig.Russell@Sun.COM) for jdo-dev@db.apache.org; Sun, 30 Mar 2008 15:31:34 -0700 (PDT) Received: from [192.168.0.12] (c-24-6-172-77.hsd1.ca.comcast.net [24.6.172.77]) by fe-sfbay-09.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0JYK00FEUEKKUK00@fe-sfbay-09.sun.com>; Sun, 30 Mar 2008 15:31:33 -0700 (PDT) Date: Sun, 30 Mar 2008 15:31:32 -0700 From: Craig L Russell Subject: Re: Trouble generating the site In-reply-to: <47EFFAE1.5000709@spree.de> Sender: Craig.Russell@Sun.COM To: jdo-dev@db.apache.org Cc: ltheussl@apache.org Message-id: <9B85DD69-DCE0-4060-A67C-7D7456596AF5@SUN.com> MIME-version: 1.0 X-Mailer: Apple Mail (2.919.2) Content-type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary=Apple-Mail-26-975825596 References: <200803290742.14795.andy@jpox.org> <47EFE643.1060004@apache.org> <47EFFAE1.5000709@spree.de> X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-26-975825596 Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable I think it would be cleaner if we use no slashes at all in the jsl. I made the changes and can generate the site on my MacOSX with either =20= 1.0.2 or 1.1. W00t. I've checked in these changes. If anyone else has any issues please =20 continue this thread. Thanks, Lukas, for the help, Craig [CraigRussell:~/apache/jdo/site] clr% svn diff Index: xdocs/site.jsl =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- xdocs/site.jsl (revision 642826) +++ xdocs/site.jsl (working copy) @@ -151,7 +151,7 @@
- + Index: project.properties =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- project.properties (revision 642826) +++ project.properties (working copy) @@ -3,7 +3,7 @@ # =20 = --------------------------------------------------------------------------= ---- # User Interface -maven.xdoc.jsl=3Dxdocs/site.jsl +maven.xdoc.jsl=3Dfile:${basedir}/xdocs/site.jsl maven.xdoc.date=3Dbottom maven.xdoc.date.format=3Ddd MMMM yyyy maven.xdoc.version=3D${pom.currentVersion} On Mar 30, 2008, at 1:41 PM, Michael Bouschen wrote: > Hi Lukas, > > thanks for the feedback, I was able to successfully sun 'maven site' =20= > with the changes you proposed. > > What concerns me is the issue with the slashes in the url. I'm =20 > running Windows XP: two slashes did not work, but three slashes =20 > worked fine: > maven.xdoc.jsl=3Dfile:///${basedir}/xdocs/site.jsl > > Interestingly suing no slashes worked, too: > maven.xdoc.jsl=3Dfile:${basedir}/xdocs/site.jsl > > So the question is whether we can find an url that works independend =20= > of the operating system. > > Regards Michael > > >> [forwarding from the maven user list, I forgot to put jdo-dev in cc] >> >> I had a closer look at this (bugged me because I remember working =20 >> on a fix for custom style sheets before m1.1... ;) ) >> >> One issue you might experience concerns the number of slashes in =20 >> the file url prefix. Depending on your OS, especially on different =20= >> Windows versions, you might need >> >> maven.xdoc.jsl=3Dfile://${basedir}/xdocs/site.jsl >> >> or even three slashes. >> >> The second problem is that you have an xpath syntax error in your =20 >> custom style sheet, line 154 in site.jsl should read: >> >> >> >> With that the jdo site builds fine for me. >> >> HTH, >> -Lukas >> >> >> Craig L Russell wrote: >>> Hi, >>> >>> We are using maven to generate the Apache JDO site = (http://svn.apache.org/viewvc/db/jdo/site/=20 >>> ). >>> >>> We upgraded from Maven 1.0.2 to Maven 1.1 and the site no longer =20= >>> generates. >>> >>> The full console output is below [1]. >>> >>> The error message is >>> >> Unable to obtain goal [site] >>> >> /Users/clr/.maven/cache/maven-xdoc-plugin-1.10.1/xdocs/=20 >>> site.jsl (No such file or directory) >>> >>> Any ideas? >>> >>> Thanks, >>> >>> Craig >>> >>> Begin forwarded message: >>> >>>> From: Andy Jefferson >>>> Date: March 29, 2008 12:42:14 AM PDT >>>> To: jdo-dev@db.apache.org >>>> Subject: Re: Trouble generating the site >>>> Reply-To: jdo-dev@db.apache.org >>>> >>>> Hi, >>>> >>>> I use Maven 1.0.2 (what I've used for the last 4 yrs ... since =20 >>>> it works and I >>>> don't trust the (lack of) backwards compatibility concerns of =20 >>>> the Maven >>>> project >>>> >>>>> I see the same error as Craig if I run 'maven site' in jdo/site. =20= >>>>> I also >>>>> have a site.jsl in my >>>>> .maven/cache/maven-xdoc-plugin-1.10.1/plugin-resources. But =20 >>>>> there is a >>>>> (different) site.jsl checked in into jdo/site/xdocs. In addition =20= >>>>> the >>>>> file project.properties in jdo/site defines a property >>>>> 'maven.xdoc.jsl=3Dxdocs/site.jsl'. If I delete this property =20 >>>>> 'maven site' >>>>> succeds. >>>> >>>> >>>> There is a different "site.jsl" checked in to xdocs because that =20= >>>> is there to >>>> override the default site generation of Maven1. Without it you =20 >>>> get a chunky >>>> site with none of the refinements that were added ;-) >>>> >>>> maven-xdoc-plugin is *supposed* to allow overriding the default =20= >>>> stylesheet via >>>> the property "maven.xdoc.jsl" (not that they can be bothered to =20= >>>> document >>>> it) ... hence why it is in project.properties pointing to ours. =20 >>>> It currently >>>> doesn't have ${basedir} prepended and maybe should have (but =20 >>>> that doesn't >>>> solve this issue anyway so ignore that). >>>> >>>> The maven-xdoc-plugin bundled with Maven1.0.2 accepts that =20 >>>> overriding. The one >>>> that comes with Maven1.1 accepts it so far (since it even prints =20= >>>> out >>>> the "site.jsl" it will use ... correctly) but then tries to =20 >>>> append that name >>>> on the end of the plugin workspace!!! duh. >>>> >>>> If you chase the process through the plugin.jelly of that plugin =20= >>>> you get to >>>> >>>> >>> omitXmlDeclaration=3D"true" outputMode=3D"xml" >>>> prettyPrint=3D"no"> >>>> >>>> >>>> >>>> which has the correct stylesheet name going in (ours). Where =20 >>>> that then goes to >>>> I've no idea. >>>> >>>> Maybe some Maven team member could comment, and there's some =20 >>>> secret setting >>>> that you have to use to get it to work with your own site.jsl =20 >>>> file in Maven >>>> 1.1 ? >>>> >>>> >>>> >>>> --=20 >>>> Andy (Java Persistent Objects - http://www.jpox.org) >>> >>> >>> [1] >>> [CraigRussell:~/apache/jdo/site] clr% svn status >>> [CraigRussell:~/apache/jdo/site] clr% svn up >>> At revision 642332. >>> [CraigRussell:~/apache/jdo/site] clr% maven clean =20 >>> 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/=20 >>> 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/=20 >>> docs/ style >>> [copy] Copying 16 files to /Users/clr/apache/jdo/site/target/=20 >>> 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 / =20= >>> 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- =20 >>> xdocs'... >>> [echo] Generating /Users/clr/apache/jdo/site/target/docs/ =20 >>> dependencies.html from /Users/clr/apache/jdo/site/target/=20 >>> generated- xdocs/dependencies.xml >>> = --------------------------------------------------------------------------= ----- >>> >> Unable to obtain goal [site] >>> >> /Users/clr/.maven/cache/maven-xdoc-plugin-1.10.1/xdocs/=20 >>> 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:Craig.Russell@sun.com >>> P.S. A good JDO? O, Gasp! >>> > > > --=20 > Michael Bouschen > akquinet tech@spree GmbH > Tempelhofer Ufer 23-24, 10963 Berlin > B=FClowstra=DFe 66, 10783 Berlin > Tel.: +49/(0)30/235 520-33 Fax.: +49/(0)30/217 520-12 > > Gesch=E4ftsf=FChrung: Martin Weber, Hendrik Saly, Prof. Dr. Christian = Roth > Amtsgericht Berlin-Charlottenburg HRB 86780 B > USt.-Id. Nr.: DE 225 964 680 > Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:Craig.Russell@sun.com P.S. A good JDO? O, Gasp! --Apple-Mail-26-975825596 Content-Disposition: attachment; filename=smime.p7s Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEH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