ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amasha <amasha_z...@hotmail.com>
Subject Re: AW: Ant xmlproperty question,Please help me
Date Fri, 26 Mar 2010 09:35:13 GMT

Can you get me some script about ant4eclipse?

and I want to use XmlTask! 
Would you have some suggestion? 

Thank you 

Knuplesch, Juergen wrote:
> 
> Hello,
> 
> I use ant4eclipse a lot and encourage as well to use it.
> 
> Greetings Jürgen 
> 
> 
> -- 
> Jürgen Knuplesch
> -----Ursprüngliche Nachricht-----
> Von: amasha [mailto:amasha_zhao@hotmail.com] 
> Gesendet: Freitag, 26. März 2010 09:49
> An: user@ant.apache.org
> Betreff: Ant xmlproperty question,Please help me
> 
> 
> I have a .classpath:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <classpath>
> 	<classpathentry excluding="com/orange/homescreen/pil/android21impl
> /WallpaperInterfaceImpl.java|com/orange/homescreen/pil/android21impl/UIInterfaceImpl.java"
> kind="src" path="src"/>
> 	<classpathentry exported="true" kind="con"
> path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
> 	<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" />
> 		</condition>
> 		<javac encoding="ascii" target="1.5" debug="true" extdirs=""
> destdir="${out.classes.absolute.dir}"
> bootclasspathref="android.target.classpath" verbose="${verbose}"
> classpath="${extensible.classpath}">
> 			<src path="${source.absolute.dir}" />
> 			<src path="${gen.absolute.dir}" />
> 			<exclude
> name="${source-clients}/android21impl/WallpaperInterfaceImpl.java" />
> 			<exclude name="${source-clients}/android21impl/UIInterfaceImpl.java" />
> 			<classpath>
> 				<fileset dir="${external.libs.absolute.dir}" includes="*.jar" />
> 			</classpath>
> 		</javac>
> 	</target>
> 
> In ant script. I must update my ant script manul, because
> 		
> <exclude
> name="${source-clients}/android21impl/WallpaperInterfaceImpl.java"
> />
> <exclude name="${source-clients}/android21impl/UIInterfaceImpl.java" />
> 
> 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:
> http://old.nabble.com/Ant-xmlproperty-question-tp27714461p28039514.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional
> commands, e-mail: user-help@ant.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Ant-xmlproperty-question-tp27714461p28040021.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message