ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knuplesch, Juergen" <>
Subject AW: Ant xmlproperty question,Please help me
Date Fri, 26 Mar 2010 09:12:00 GMT

I use ant4eclipse a lot and encourage as well to use it.

Greetings Jürgen 

Jürgen Knuplesch
-----Ursprüngliche Nachricht-----
Von: amasha [] 
Gesendet: Freitag, 26. März 2010 09:49
Betreff: Ant xmlproperty question,Please help me

I have a .classpath:

<?xml version="1.0" encoding="UTF-8"?>
	<classpathentry excluding="com/orange/homescreen/pil/android21impl
kind="src" path="src"/>
	<classpathentry exported="true" kind="con"
	<classpathentry kind="src" path="gen"/>
	<classpathentry kind="output" path="bin"/> </classpath>

And I want compile the source coding by ant. The ant script:
	<target name="compile" depends="-resource-src, -aidl" description="Compiles project's
.java files into .class files">
		<!-- If android rules are used for a test project, its classpath should include
             tested project's location -->
		<condition property="extensible.classpath"
value="${tested.project.absolute.dir}/bin/classes" else=".">
			<isset property="tested.project.absolute.dir" />
		<javac encoding="ascii" target="1.5" debug="true" extdirs=""
bootclasspathref="" verbose="${verbose}"
			<src path="${source.absolute.dir}" />
			<src path="${gen.absolute.dir}" />
name="${source-clients}/android21impl/" />
			<exclude name="${source-clients}/android21impl/" />
				<fileset dir="${external.libs.absolute.dir}" includes="*.jar" />

In ant script. I must update my ant script manul, because
<exclude name="${source-clients}/android21impl/"
<exclude name="${source-clients}/android21impl/" />

often change following the .classpath file.

So I want to know how can i do this auto following .classpath by ant script?

Please help me

Thank you
View this message in context:
Sent from the Ant - Users mailing list archive at

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

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

View raw message