ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: Unexpected element selector while building ant 1.6.2
Date Tue, 31 Aug 2004 06:17:39 GMT
I´ve forgotten clearing ANT_HOME.
The error message sounds like a present old Ant in the classpath.
And the start scripts adding ant from ant_home to that.

The actual src distro needs Ant 1.6 for build ...
... but the bootstrapping should do that job.

If CLASSPATH is empty, ANT_HOME is empty no suprises are in PATH
and JAVA_HOME points to a valid location the command "build" should
do the job.


Jan



> -----Ursprüngliche Nachricht-----
> Von: Hemlata Kukreja [mailto:hemlata.kukreja@india.birlasoft.com]
> Gesendet am: Dienstag, 31. August 2004 08:12
> An: Ant Users List
> Betreff: RE: Unexpected element selector while building ant 1.6.2
> 
> Hi,
> 
> I have tried doing that. I have cleared the classpath and 
> tried to build 
> again. I am getting the same error. No difference in the 
> output........
> I have simply extracted the zip file into a folder and am 
> trying to build 
> from the source.
> 
> Rgds,
> Hemlata
> 
> -----Original Message-----
> From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]
> Sent: Tuesday, 31 August 2004 11:27 AM
> To: user@ant.apache.org
> Subject: AW: Unexpected element selector while building ant 1.6.2
> 
> 
> Most common problem is a wrong CLASSPATH.
> 1) clear your classpath
> 2) delete the build, bootstrap and dist directory
> try again
> 
> 
> Jan
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Hemlata Kukreja [mailto:hemlata.kukreja@india.birlasoft.com]
> > Gesendet am: Dienstag, 31. August 2004 07:55
> > An: user@ant.apache.org
> > Betreff: 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
> > 
> 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
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message