Re: Enhancement to jakarta-site2 -- XSLT stylesheet equivalent tosite.vsl
This entire email is *exactly* why I push for version numbers in jar files. Yes, classpath was empty Yes, ant 1.3 -jon on 7/27/01 3:01 PM, Craig R. McClanahan [EMAIL PROTECTED] wrote: On Fri, 27 Jul 2001, Jon Stevens wrote: on 7/27/01 12:08 PM, Craig R. McClanahan [EMAIL PROTECTED] wrote: Please help me debug this stylesheet, and improve its compatibility with site.vsl, by checking out the jakarta-site2 module and running the xslt target. NOTE: you will need to make sure that your Ant install includes the appropriate optional.jar file, and has access to either JAXP/1.1 (crimson.jar, jaxp.jar, and xalan.jar) or Xerces+Xalan. Craig McClanahan For the life of me, I can't get the .jar file foo correct... Empty classpath, right? -jon [204][ ~/checkout/jakarta-site2 ]% ant xslt Buildfile: build.xml xslt: [style] Transforming into /Users/jon/checkout/jakarta-site2/xslt [style] Loading stylesheet /Users/jon/checkout/jakarta-site2/xdocs/stylesheets/site.xsl [style] Failed to read stylesheet stylesheets/site.xsl BUILD FAILED /Users/jon/checkout/jakarta-site2/build.xml:103: javax.xml.transform.TransformerConfigurationException: Namespace not supported by SAXParser --- Nested Exception --- Total time: 2 seconds [205][ ~/checkout/jakarta-site2 ]% dir $ANT_HOME/lib/ total 1584 Ant 1.3, right? 0 drwxrwxr-x 9 jon staff 262 Jul 27 13:49 ./ 0 drwxrwxr-x 9 jon staff 262 Mar 11 13:40 ../ 4 -rw-r--r-- 1 jon staff 153 Mar 2 04:46 README 292 -rw-r--r-- 1 jon staff 295934 Mar 2 04:46 ant.jar 184 -rw-rw-r-- 1 jon staff 187246 Mar 23 17:23 crimson.jar 244 -rw-rw-r-- 1 jon staff 247802 Mar 14 07:09 jakarta-ant-1.3-optional.jar 8 -rw-r--r-- 1 jon staff5537 Mar 2 04:46 jaxp.jar 136 -rw-r--r-- 1 jon staff 136198 Mar 2 04:46 parser.jar 716 -rw-r--r-- 1 jon staff 732330 May 23 05:45 xalan.jar In my JAXP/1.1 release (and my $ANT_HOME/lib directory), file sizes are: 187162 crimson.jar 28404 jaxp.jar 801714 xalan.jar [206][ ~/checkout/jakarta-site2 ]% dir lib total 1668 0 drwxrwxr-x 9 jon staff 262 Jul 27 13:47 ./ 0 drwxrwxr-x 18 jon staff 568 Jul 27 13:43 ../ 0 drwxrwxr-x 6 jon staff 264 Jul 16 16:08 CVS/ 292 -rw-rw-r-- 1 jon staff 295934 Mar 11 13:48 ant-1.3.jar 184 -rw-rw-r-- 1 jon staff 187246 Mar 23 17:23 crimson.jar 28 -rw-rw-r-- 1 jon staff 28404 Mar 4 05:35 jaxp.jar 80 -rw-r--r-- 1 jon staff 78541 Feb 14 11:56 jdom-b6.jar 368 -rw-rw-r-- 1 jon staff 373565 Apr 30 13:24 velocity-1.0.1.jar 716 -rw-r--r-- 1 jon staff 732330 May 23 05:45 xalan.jar This stuff shouldn't matter when you execute the ant script directly, instead of through build.sh/build.bat. The key issue is that ant resolves to $ANT_HOME/bin/ant for the $ANT_HOME library directory you listed above. Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Enhancement to jakarta-site2 -- XSLT stylesheet equivalent tosite.vsl
on 7/27/01 12:08 PM, Craig R. McClanahan [EMAIL PROTECTED] wrote: Please help me debug this stylesheet, and improve its compatibility with site.vsl, by checking out the jakarta-site2 module and running the xslt target. NOTE: you will need to make sure that your Ant install includes the appropriate optional.jar file, and has access to either JAXP/1.1 (crimson.jar, jaxp.jar, and xalan.jar) or Xerces+Xalan. Craig McClanahan For the life of me, I can't get the .jar file foo correct... -jon [204][ ~/checkout/jakarta-site2 ]% ant xslt Buildfile: build.xml xslt: [style] Transforming into /Users/jon/checkout/jakarta-site2/xslt [style] Loading stylesheet /Users/jon/checkout/jakarta-site2/xdocs/stylesheets/site.xsl [style] Failed to read stylesheet stylesheets/site.xsl BUILD FAILED /Users/jon/checkout/jakarta-site2/build.xml:103: javax.xml.transform.TransformerConfigurationException: Namespace not supported by SAXParser --- Nested Exception --- Total time: 2 seconds [205][ ~/checkout/jakarta-site2 ]% dir $ANT_HOME/lib/ total 1584 0 drwxrwxr-x 9 jon staff 262 Jul 27 13:49 ./ 0 drwxrwxr-x 9 jon staff 262 Mar 11 13:40 ../ 4 -rw-r--r-- 1 jon staff 153 Mar 2 04:46 README 292 -rw-r--r-- 1 jon staff 295934 Mar 2 04:46 ant.jar 184 -rw-rw-r-- 1 jon staff 187246 Mar 23 17:23 crimson.jar 244 -rw-rw-r-- 1 jon staff 247802 Mar 14 07:09 jakarta-ant-1.3-optional.jar 8 -rw-r--r-- 1 jon staff5537 Mar 2 04:46 jaxp.jar 136 -rw-r--r-- 1 jon staff 136198 Mar 2 04:46 parser.jar 716 -rw-r--r-- 1 jon staff 732330 May 23 05:45 xalan.jar [206][ ~/checkout/jakarta-site2 ]% dir lib total 1668 0 drwxrwxr-x 9 jon staff 262 Jul 27 13:47 ./ 0 drwxrwxr-x 18 jon staff 568 Jul 27 13:43 ../ 0 drwxrwxr-x 6 jon staff 264 Jul 16 16:08 CVS/ 292 -rw-rw-r-- 1 jon staff 295934 Mar 11 13:48 ant-1.3.jar 184 -rw-rw-r-- 1 jon staff 187246 Mar 23 17:23 crimson.jar 28 -rw-rw-r-- 1 jon staff 28404 Mar 4 05:35 jaxp.jar 80 -rw-r--r-- 1 jon staff 78541 Feb 14 11:56 jdom-b6.jar 368 -rw-rw-r-- 1 jon staff 373565 Apr 30 13:24 velocity-1.0.1.jar 716 -rw-r--r-- 1 jon staff 732330 May 23 05:45 xalan.jar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Enhancement to jakarta-site2 -- XSLT stylesheet equivalent tosite.vsl
On Fri, 27 Jul 2001, Jon Stevens wrote: on 7/27/01 12:08 PM, Craig R. McClanahan [EMAIL PROTECTED] wrote: Please help me debug this stylesheet, and improve its compatibility with site.vsl, by checking out the jakarta-site2 module and running the xslt target. NOTE: you will need to make sure that your Ant install includes the appropriate optional.jar file, and has access to either JAXP/1.1 (crimson.jar, jaxp.jar, and xalan.jar) or Xerces+Xalan. Craig McClanahan For the life of me, I can't get the .jar file foo correct... Empty classpath, right? -jon [204][ ~/checkout/jakarta-site2 ]% ant xslt Buildfile: build.xml xslt: [style] Transforming into /Users/jon/checkout/jakarta-site2/xslt [style] Loading stylesheet /Users/jon/checkout/jakarta-site2/xdocs/stylesheets/site.xsl [style] Failed to read stylesheet stylesheets/site.xsl BUILD FAILED /Users/jon/checkout/jakarta-site2/build.xml:103: javax.xml.transform.TransformerConfigurationException: Namespace not supported by SAXParser --- Nested Exception --- Total time: 2 seconds [205][ ~/checkout/jakarta-site2 ]% dir $ANT_HOME/lib/ total 1584 Ant 1.3, right? 0 drwxrwxr-x 9 jon staff 262 Jul 27 13:49 ./ 0 drwxrwxr-x 9 jon staff 262 Mar 11 13:40 ../ 4 -rw-r--r-- 1 jon staff 153 Mar 2 04:46 README 292 -rw-r--r-- 1 jon staff 295934 Mar 2 04:46 ant.jar 184 -rw-rw-r-- 1 jon staff 187246 Mar 23 17:23 crimson.jar 244 -rw-rw-r-- 1 jon staff 247802 Mar 14 07:09 jakarta-ant-1.3-optional.jar 8 -rw-r--r-- 1 jon staff5537 Mar 2 04:46 jaxp.jar 136 -rw-r--r-- 1 jon staff 136198 Mar 2 04:46 parser.jar 716 -rw-r--r-- 1 jon staff 732330 May 23 05:45 xalan.jar In my JAXP/1.1 release (and my $ANT_HOME/lib directory), file sizes are: 187162 crimson.jar 28404 jaxp.jar 801714 xalan.jar [206][ ~/checkout/jakarta-site2 ]% dir lib total 1668 0 drwxrwxr-x 9 jon staff 262 Jul 27 13:47 ./ 0 drwxrwxr-x 18 jon staff 568 Jul 27 13:43 ../ 0 drwxrwxr-x 6 jon staff 264 Jul 16 16:08 CVS/ 292 -rw-rw-r-- 1 jon staff 295934 Mar 11 13:48 ant-1.3.jar 184 -rw-rw-r-- 1 jon staff 187246 Mar 23 17:23 crimson.jar 28 -rw-rw-r-- 1 jon staff 28404 Mar 4 05:35 jaxp.jar 80 -rw-r--r-- 1 jon staff 78541 Feb 14 11:56 jdom-b6.jar 368 -rw-rw-r-- 1 jon staff 373565 Apr 30 13:24 velocity-1.0.1.jar 716 -rw-r--r-- 1 jon staff 732330 May 23 05:45 xalan.jar This stuff shouldn't matter when you execute the ant script directly, instead of through build.sh/build.bat. The key issue is that ant resolves to $ANT_HOME/bin/ant for the $ANT_HOME library directory you listed above. Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]