You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Hemlata Kukreja <he...@india.birlasoft.com> on 2004/08/31 07:54:59 UTC

Unexpected element selector while building ant 1.6.2

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\defaults.properties
        1 file(s) copied.
src\main\org\apache\tools\ant\types\defaults.properties
        1 file(s) copied.

... Building Ant Distribution
Buildfile: build.xml

BUILD FAILED

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
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Unexpected element selector while building ant 1.6.2

Posted by Antoine Levy-Lambert <an...@gmx.de>.
1) use the build.bat or build.sh 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
Cheers,
Antoine
> 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\defaults.properties
>         1 file(s) copied.
> src\main\org\apache\tools\ant\types\defaults.properties
>         1 file(s) copied.
> 
> ... Building Ant Distribution
> Buildfile: build.xml
> 
> BUILD FAILED
> 
> 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org