ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe" <philip...@pandora.be>
Subject Re: win vs linux with ant
Date Wed, 19 Mar 2003 19:37:33 GMT
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
>
>
> ---------------------------------------------------------------------
> 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