ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Narayanan, Gopalakrishnan" <gna...@exchange.ml.com>
Subject Selector
Date Wed, 19 Mar 2003 19:09:11 GMT
I was running ANT 1.5.1 under jdk 1.3.1.Everything was working fine until I had to install
jdk 1.4 in my machine.Now the same build file fails with the message even after reverting
to jdk 1.3.1.I am
not sure if this is related to JDK version because the error seems to say that "selector"
element is not permissible under project.


BUILD FAILED

C:\build\build.xml:4: Unexpected element "selector"
	at org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:135)
	at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:85)
	at org.apache.tools.ant.Main.runBuild(Main.java:439)
	at org.apache.tools.ant.Main.start(Main.java:153)
	at org.apache.tools.ant.Main.main(Main.java:176)

Total time: 2 seconds

The relevant part in the build.xml file is

<project name="test" default="createCCLabel">

	<!-- Docbank Servlets -->
	<selector id="docBANK.selector.servlet.classes" >
		<filename name="**/servlet/**" />		
	</selector>
	....


Any help would be appreciated.


Mime
View raw message