Hello,

I dont know what Xmltask is. We talk about ant, do we? 
Is xmltask a task in ANT or what is it?

So why shouldnt you use XMLtask and ant4eclipse together?

Some code fragment:
      <getEclipseClasspath classpathid="yourid"
                             workspace="${yourEclipseWorkspace}"
                             projectname="${YourEclipseProject}"
                             runtime="true"/>

This gets you the Eclipse runtime classpath of the project 
${YourEclipseProject} in the workspace ${yourEclipseWorkspace} into the path id 
yourid.

How to use ANT and ant4eclipse is described in the manuals.

Greetings Juergen

-- 
Jürgen Knuplesch                    
-----Ursprüngliche Nachricht-----
Von: amasha [mailto:amasha_z...@hotmail.com] 
Gesendet: Freitag, 26. März 2010 10:35
An: user@ant.apache.org
Betreff: Re: AW: Ant xmlproperty question,Please help me


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_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/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.htm
> l 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-tp27714461p28040021.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

Reply via email to