ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: Problem choosing XSLT processer with <style> task
Date Tue, 01 Aug 2006 14:58:46 GMT
I personally used Saxon as my XSLT engine, and forced its use by
always invoking Ant using -lib .../saxon8.jar on the command line,
which was my only -lib option (the whole command line wrapped in a
script in my case). I never used a CLASSPATH env. var with Ant, and
placed all Ant extensions I was using in ANT_HOME/lib. FWIW... --DD

On 8/1/06, cknell@onebox.com <cknell@onebox.com> wrote:
> So far I have set up this configuration on four computers. Each is running Win2K. Each
has the JAVA SDK 5 installed in C:\Program Files (because that's where Sun's installer puts
it.) All environment variables are configured alike in respect to the programs involved.
>
> On two computers the setup works. On two others it does not.
>
> I am close to the borders of frustration.
> --
> Charles Knell
> cknell@onebox.com - email
>
>
>
> -----Original Message-----
> From:     Peter Reilly <peter.kitt.reilly@gmail.com>
> Sent:     Tue, 1 Aug 2006 14:36:22 +0100
> To:       "Ant Users List" <user@ant.apache.org>
> Subject:  Re: Re: Problem choosing XSLT processer with <style> task
>
> Hi,
> there is a bug in ant 1.6.5 with regard to spaces in JAVA_HOME
> (in particular "Program Files"). I fould this out recently after been
> forced to use a windows machine. Why more people did not
> notice this I have no idea!
>
> This is fixed in ant 1.7.
> So your options are:
>  1) move java to a different non spacy location
>  2) set JAVA_HOME to the  DOS 8.3 name
>  3) download and use the ant 1.7 alpha release.
>
> Peter
>
>
> On 8/1/06, cknell@onebox.com <cknell@onebox.com> wrote:
> >
> > -----Original Message-----
> > > From:     Ron Wheeler <rwheeler@artifact-software.com>
> > > Sent:     Tue, 01 Aug 2006 08:44:40 -0400
> > > To:       Ant Users List <user@ant.apache.org>
> > > Subject:  Re: Problem choosing XSLT processer with <style> task
> > >
> > > What does Ant -diagnostics say now
> > >
> > >
> > ------- Ant diagnostics report -------
> > Apache Ant version 1.6.5 compiled on June 2 2005
> >
> > -------------------------------------------
> > Implementation Version (JDK1.2+ only)
> > -------------------------------------------
> > core tasks     : 1.6.5
> > optional tasks : 1.6.5
> >
> > -------------------------------------------
> > ANT_HOME/lib jar listing
> > -------------------------------------------
> > ant.home: C:\apache-ant-1.6.5
> > ant-antlr.jar (5667 bytes)
> > ant-apache-bcel.jar (8617 bytes)
> > ant-apache-bsf.jar (12597 bytes)
> > ant-apache-log4j.jar (3022 bytes)
> > ant-apache-oro.jar (48034 bytes)
> > ant-apache-regexp.jar (3724 bytes)
> > ant-apache-resolver.jar (4082 bytes)
> > ant-commons-logging.jar (3864 bytes)
> > ant-commons-net.jar (35303 bytes)
> > ant-contrib.jar (194050 bytes)
> > ant-icontract.jar (9721 bytes)
> > ant-jai.jar (21359 bytes)
> > ant-javamail.jar (6761 bytes)
> > ant-jdepend.jar (8160 bytes)
> > ant-jmf.jar (6605 bytes)
> > ant-jsch.jar (22726 bytes)
> > ant-junit.jar (74237 bytes)
> > ant-launcher.jar (9180 bytes)
> > ant-netrexx.jar (9998 bytes)
> > ant-nodeps.jar (421008 bytes)
> > ant-starteam.jar (35472 bytes)
> > ant-stylebook.jar (2328 bytes)
> > ant-swing.jar (6763 bytes)
> > ant-trax.jar (68841 bytes)
> > ant-vaj.jar (49742 bytes)
> > ant-weblogic.jar (14363 bytes)
> > ant-xalan1.jar (4465 bytes)
> > ant-xslp.jar (2244 bytes)
> > ant.jar (1034049 bytes)
> > incanto-0.2.0.jar (13686 bytes)
> > xercesImpl.jar (1010675 bytes)
> > xml-apis.jar (124724 bytes)
> >
> > -------------------------------------------
> > Tasks availability
> > -------------------------------------------
> > image : Missing dependency com.sun.media.jai.codec.FileSeekableStream
> > sshexec : Missing dependency com.jcraft.jsch.UserInfo
> > scp : Missing dependency com.jcraft.jsch.UserInfo
> > jdepend : Missing dependency jdepend.xmlui.JDepend
> > junit : Missing dependency junit.framework.Test
> >
> > -------------------------------------------
> > org.apache.env.Which diagnostics
> > -------------------------------------------
> > Not available.
> > Download it at http://xml.apache.org/commons/
> >
> > -------------------------------------------
> > XML Parser information
> > -------------------------------------------
> > XML Parser : org.apache.xerces.jaxp.SAXParserImpl
> > XML Parser Location: C:\apache-ant-1.6.5\lib\xercesImpl.jar
> >
> > -------------------------------------------
> > System properties
> > -------------------------------------------
> > java.runtime.name : Java(TM) 2 Runtime Environment, Standard Edition
> > sun.boot.library.path : C:\Program Files\Java\jdk1.5.0_06\jre\bin
> > java.vm.version : 1.5.0_06-b05
> > ant.library.dir : C:\apache-ant-1.6.5\lib
> > java.vm.vendor : Sun Microsystems Inc.
> > java.vendor.url : http://java.sun.com/
> > path.separator : ;
> > java.vm.name : Java HotSpot(TM) Client VM
> > file.encoding.pkg : sun.io
> > user.country : US
> > sun.os.patch.level : Service Pack 4
> > java.vm.specification.name : Java Virtual Machine Specification
> > user.dir : H:\SARS-reports\hiring-report
> > java.runtime.version : 1.5.0_06-b05
> > java.awt.graphicsenv : sun.awt.Win32GraphicsEnvironment
> > java.endorsed.dirs : C:\Program Files\Java\jdk1.5.0_06\jre\lib\endorsed
> > os.arch : x86
> > java.io.tmpdir : C:\DOCUME~1\chknell\LOCALS~1\Temp\
> > line.separator :
> >
> > java.vm.specification.vendor : Sun Microsystems Inc.
> > user.variant :
> > os.name : Windows 2000
> > ant.home : C:\apache-ant-1.6.5
> > sun.jnu.encoding : Cp1252
> > java.library.path : C:\Program
> > Files\Java\jdk1.5.0_06\bin;.;C:\WINNT\system32;C:\WINNT;C:\Program
> > Files\Java\jdk1.5.0_06\bin;C:\oracle\ora90\bin;C:\Program
> > Files\Oracle\jre\1.1.8\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\WINNT\system32\nls;C:\WINNT\system32\nls\ENGLISH;C:\DOCSOpen\Progs;C:\PROGRA~1\SARS;C:\Program
> > Files\IDM Computer Solutions\UltraEdit-32;C:\apache-ant-1.6.5\bin
> > ;H:\Subversion\bin;C:\PROGRA~1\ATT\Graphviz\bin;Z:.;
> > java.specification.name : Java Platform API Specification
> > java.class.version : 49.0
> > sun.management.compiler : HotSpot Client Compiler
> > os.version : 5.0
> > user.home : C:\Documents and Settings\chknell
> > user.timezone : America/New_York
> > java.awt.printerjob : sun.awt.windows.WPrinterJob
> > file.encoding : Cp1252
> > java.specification.version : 1.5
> > user.name : chknell
> > java.class.path : C:\apache-ant-1.6.5\lib\ant-launcher.jar
> > ;c:\saxon\saxon8.jar;C:\apache-ant-1.6.5\lib\ant-antlr.jar;C:\apache-
> > ant-1.6.5\lib\ant-apache-bcel.jar;C:\apache-
> > ant-1.6.5\lib\ant-apache-bsf.jar;C:\apache-
> > ant-1.6.5\lib\ant-apache-log4j.jar;C:\apache-
> > ant-1.6.5\lib\ant-apache-oro.jar;C:\apache-
> > ant-1.6.5\lib\ant-apache-regexp.jar;C:\apache-
> > ant-1.6.5\lib\ant-apache-resolver.jar;C:\apache-
> > ant-1.6.5\lib\ant-commons-logging.jar;C:\apache-
> > ant-1.6.5\lib\ant-commons-net.jar;C:\apache-ant-1.6.5\lib\ant-contrib.jar
> > ;C:\apache-ant-1.6.5\lib\ant-icontract.jar;C:\apache-
> > ant-1.6.5\lib\ant-jai.jar;C:\apache-ant-1.6.5\lib\ant-javamail.jar
> > ;C:\apache-ant-1.6.5\lib\ant-jdepend.jar;C:\apache-
> > ant-1.6.5\lib\ant-jmf.jar;C:\apache-ant-1.6.5\lib\ant-jsch.jar;C:\apache-
> > ant-1.6.5\lib\ant-junit.jar;C:\apache-ant-1.6.5\lib\ant-launcher.jar
> > ;C:\apache-ant-1.6.5\lib\ant-netrexx.jar;C:\apache-
> > ant-1.6.5\lib\ant-nodeps.jar;C:\apache-ant-1.6.5\lib\ant-starteam.jar
> > ;C:\apache-ant-1.6.5\lib\ant-stylebook.jar
> > ;C:\apache-ant-1.6.5\lib\ant-swing.jar;C:\apache-
> > ant-1.6.5\lib\ant-trax.jar;C:\apache-ant-1.6.5\lib\ant-vaj.jar;C:\apache-
> > ant-1.6.5\lib\ant-weblogic.jar;C:\apache-ant-1.6.5\lib\ant-xalan1.jar
> > ;C:\apache-ant-1.6.5\lib\ant-xslp.jar;C:\apache-ant-1.6.5\lib\ant.jar
> > ;C:\apache-ant-1.6.5\lib\incanto-0.2.0.jar;C:\apache-
> > ant-1.6.5\lib\xercesImpl.jar;C:\apache-ant-1.6.5\lib\xml-apis.jar;C:\Program
> > Files\Java\jdk1.5.0_06\lib\tools.jar
> > java.vm.specification.version : 1.0
> > sun.arch.data.model : 32
> > java.home : C:\Program Files\Java\jdk1.5.0_06\jre
> > java.specification.vendor : Sun Microsystems Inc.
> > user.language : en
> > awt.toolkit : sun.awt.windows.WToolkit
> > java.vm.info : mixed mode, sharing
> > java.version : 1.5.0_06
> > java.ext.dirs : C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext
> > sun.boot.class.path : C:\Program
> > Files\Java\jdk1.5.0_06\jre\lib\rt.jar;C:\Program
> > Files\Java\jdk1.5.0_06\jre\lib\i18n.jar;C:\Program
> > Files\Java\jdk1.5.0_06\jre\lib\sunrsasign.jar;C:\Program
> > Files\Java\jdk1.5.0_06\jre\lib\jsse.jar;C:\Program
> > Files\Java\jdk1.5.0_06\jre\lib\jce.jar;C:\Program
> > Files\Java\jdk1.5.0_06\jre\lib\charsets.jar;C:\Program
> > Files\Java\jdk1.5.0_06\jre\classes
> > java.vendor : Sun Microsystems Inc.
> > file.separator : \
> > java.vendor.url.bug : http://java.sun.com/cgi-bin/bugreport.cgi
> > sun.cpu.endian : little
> > sun.io.unicode.encoding : UnicodeLittle
> > sun.desktop : windows
> > sun.cpu.isalist :
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message