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

Thank you


Jan.Materne wrote:
> 
> Have you tried Ant4Eclipse?
> http://www.ant4eclipse.org/
> 
> 
> Jan 
> 
>> -----Ursprüngliche Nachricht-----
>> Von: amasha [mailto:amasha_z...@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/android
>> 21impl/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-tp27714461p2803
>> 9514.html
>> Sent from the Ant - Users mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
>> For additional commands, e-mail: user-h...@ant.apache.org
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
> For additional commands, e-mail: user-h...@ant.apache.org
> 
> 
> 

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


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

Reply via email to