ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: AW: Ant xmlproperty question,Please help me
Date Fri, 26 Mar 2010 13:25:55 GMT
Also, if you define Eclipse libraries only their name is referenced in the .classpath.
You dont know the JARs then ...

Jan 

> -----Ursprüngliche Nachricht-----
> Von: Knuplesch, Juergen [mailto:Juergen.Knuplesch@icongmbh.de] 
> Gesendet: Freitag, 26. März 2010 12:21
> An: Ant Users List
> Betreff: AW: AW: Ant xmlproperty question,Please help me
> 
> 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_zhao@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_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/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-tp27714461p28039514.htm
> > l 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-tp27714461p2804
> 0021.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
> 
> 

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


Mime
View raw message