Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
win vs linux with ant

win vs linux with ant

2003-03-19       - By Philippe
Reply:     1     2     3     4     5     6     7     8     9  

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@(protected) 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



©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.