ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hemlata Kukreja <>
Subject RE: Unexpected element selector while building ant 1.6.2
Date Tue, 31 Aug 2004 11:25:43 GMT

I tried building the source on another machine and it worked perfectly fine.
Could someone please suggest and tell me what could be the reason for the
because I have put the same CLASSPATH and PATH values on both the machines
and there is no ANT_HOME variable available on any machine. And still the
worked fine on one machine and did not work on another....

Pls help me in finding out why this happened?


-----Original Message-----
From: Antoine Levy-Lambert []
Sent: Tuesday, 31 August 2004 1:30 PM
To: Ant Users List
Subject: Re: Unexpected element selector while building ant 1.6.2

1) use the build.bat or script to build ant, not ant
2) remove the bootstrap directory by hand if you have one at the location
where you have your ant sources
> Hi,
> I am getting the following  error when I try to build ant 1.6.2 from the
> source distribution ... Could someone please tell me where the problem
> is??
> ... Compiling Ant Classes
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -deprecation for details.
> ... Copying Required Files
> src\main\org\apache\tools\ant\taskdefs\
>         1 file(s) copied.
> src\main\org\apache\tools\ant\types\
>         1 file(s) copied.
> ... Building Ant Distribution
> Buildfile: build.xml
> C:\Documents and
> Settings\hemlata.kukreja.BSLGDCNOD1\Desktop\apache\apache-ant-1
> .6.2\build.xml:140: Unexpected element "selector"
> Total time: 0 seconds
> ... Cleaning Up Build Directories
> ... Done Bootstrapping Ant Distribution
> Bootstrap FAILED
> Regards,
> Hemlata

To unsubscribe, e-mail:
For additional commands, e-mail:
Disclaimer: 'This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please notify the system
manager. Please note that any views or opinions presented in this email are
solely those of the author and do not necessarily represent those of the
company. Finally, the recipient should check this email and any attachments
for the presence of viruses. The company accepts no liability for any damage
caused by any virus transmitted by this email.'

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message