ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin" <mgai...@hotmail.com>
Subject Re: win vs linux with ant
Date Thu, 20 Mar 2003 02:10:40 GMT
I guess the question boils down to
what is a xmlproperty?
Anyone?
-M

----- Original Message -----
From: "Thomas SMETS" <tsmets@netscape.net>
To: "Ant Users List" <user@ant.apache.org>
Sent: Wednesday, March 19, 2003 4:09 PM
Subject: Re: win vs linux with ant


>
> Stefaan,
> Yr remark would only make sens if the Classpath was build upon the same
> filesystem. Otherwise, it's as important ot know how it was built.
> Does an 'ls ./lib' (or 'dir .\lib' on Zindozs) in the current directory
> returns :
>
> ./lib/ant-contrib-0.1.jar
> ./lib/ant.jar:
> ./lib/asg.jar:
> ./lib/collections.jar
> ./lib/crimson.jar
> ./lib/cruisecontrol.jar
> ./lib/javax.servlet.jar
> ./lib/jaxp.jar
> ./lib/jdom.jar
> ./lib/junit.jar
> ./lib/log4j.jar
> ./lib/optional.jar
> ./lib/org.apache.jasper.jar
> ./lib/org.mortbay.jetty-jdk1.2.jar
> ./lib/org.mortbay.jmx.jar
> ./lib/xalan.jar
> ./lib/xercesImpl.jar
> ./lib/xml-apis.jar
> ./lib/xmlParserAPIs.jar
>
>
> What's the trace when you run 'ant' in verbose / debug mode ?
>
> Rgds,
>
> Thomas,
>
>
>
> philippes@pandora.be wrote:
> > As you can see, linux and windows use the same classpath, so why does it
> > works in windows and not in linux?
> >
> > LINUX:
> >
> > [draco@mutter shbat]$ ./asg.sh
> > Using classpath:
> >
"./lib/ant-contrib-0.1.jar:./lib/ant.jar:./lib/asg.jar:./lib/collections.jar
> >
:./lib/crimson.jar:./lib/cruisecontrol.jar:./lib/javax.servlet.jar:./lib/jax
> >
p.jar:./lib/jdom.jar:./lib/junit.jar:./lib/log4j.jar:./lib/optional.jar:./li
> >
b/org.apache.jasper.jar:./lib/org.mortbay.jetty-jdk1.2.jar:./lib/org.mortbay
> >
.jmx.jar:./lib/xalan.jar:./lib/xercesImpl.jar:./lib/xml-apis.jar:./lib/xmlPa
> > rserAPIs.jar"
> > Buildfile: asgbuild.xml
> >
> > BUILD FAILED
> > file:/home/draco/asg/build/dist/shbat/asgbuild.xml:17: Unexpected
element
> > "xmlproperty"
> >
> > Total time: 6 seconds
> >
> > WINDOWS:
> >
> > F:\DL\asg\build\dist\shbat>asg.bat
> > Using classpath:
> > ";.\lib\ant-contrib-0.1.jar;.\lib\ant.jar;.\lib\asg.jar;.\lib\c
> >
ollections.jar;.\lib\crimson.jar;.\lib\cruisecontrol.jar;.\lib\javax.servlet
> > .jar
> >
;.\lib\jaxp.jar;.\lib\jdom.jar;.\lib\junit.jar;.\lib\log4j.jar;.\lib\optiona
> > l.ja
> >
r;.\lib\org.apache.jasper.jar;.\lib\org.mortbay.jetty-jdk1.2.jar;.\lib\org.m
> > ortb
> >
ay.jmx.jar;.\lib\xalan.jar;.\lib\xercesImpl.jar;.\lib\xml-apis.jar;.\lib\xml
> > Pars
> > erAPIs.jar"
> >
> > thx
> >
> >
> > ----- Original Message -----
> > From: "Dominique Devienne" <DDevienne@lgc.com>
> > To: "'Ant Users List'" <user@ant.apache.org>
> > Sent: Wednesday, March 19, 2003 8:05 PM
> > Subject: RE: win vs linux with ant
> >
> >
> >
> >><xmlproperty> is part of ant-optional.jar. You must not have added it to
> >>your classpath?!?!?! --DD
> >>
> >>-----Original Message-----
> >>From: Philippe [mailto:philippes@pandora.be]
> >>Sent: Wednesday, March 19, 2003 12:58 PM
> >>To: ant-user@jakarta.apache.org
> >>Subject: win vs linux with ant
> >>
> >>Hello,
> >>
> >>I'm trying to convert my .bat files to .sh (for linux).
> >>They both start up ant with the same classpath.
> >>Both machines have the same Java SDK : j2sdk1.4.0_01 and Ant version
> >>(1.6alpha)
> >>
> >>But now I get this:
> >>
> >>[draco@mutter shbat]$ ant -f asgbuild.xml
> >>Buildfile: asgbuild.xml
> >>
> >>BUILD FAILED
> >>file:/home/draco/asg/build/dist/shbat/asgbuild.xml:17: Unexpected
element
> >>"xmlproperty"
> >>
> >>Total time: 4 seconds
> >>
> >>When I try the same command in windows, everything works..
> >>Am I missing something to convert the ant buildfile from windows to
linux
> >
> > ?
> >
> >>The line the compilers complains about:
> >>
> >>        <xmlproperty file="asg.properties.xml" prefix="prop"
> >
> > keeproot="true"
> >
> >>collapseAttributes="true"/>
> >>
> >>Is there something I'm doing wrong ?
> >>
> >>Thanks in advance,
> >>
> >>Stefaan
> >>
>
>
>
>
> --
> Thomas SMETS
> SCJP2 - Brussels
>
> http://tsmets.lautre.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
View raw message