Thanks a lot for your quick reply.
My problem is slightly different. I am not referencing jar files, instead I
am referencing another Java project.
For now i did a hack :
I added in ant.properties this line
extensible.classpath=path/to/project/bin
but if you have a better way to do it, I will be happy to hear it
On Tuesday, September 18, 2012 5:55:13 PM UTC+2, Kostya Vasilyev wrote:
>
> I do this in my build.xml:
>
> <target name="-pre-compile">
> <!-- Fix library references -->
> <!-- <path id="jar.libs.ref"> -->
> <path id="project.all.jars.path">
> <pathelement location="../LocalePlatform/ant/bin/classes.jar" />
> <pathelement location="../AmbilWarna/ant/bin/classes.jar" />
> </path>
> <echo>***** -pre-compile:
> project.all.jars.path="${toString:project.all.jars.path}"</echo>
> </target>
>
> -- K
>
> 2012/9/18 Accandme <[email protected] <javascript:>>
>
>> Ping!
>>
>> Did you find a solution for this problem? I am currently facing the same
>> issue.
>>
>> Thanks
>>
>> On Friday, May 15, 2009 8:45:22 PM UTC+2, Anton wrote:
>>>
>>> Is there a way to add more source directories to an ant build
>>> using the build.properties file? I've been using the .classpath file
>>> in Eclipse to reference additional shared source files that are used
>>> by multiple projects. Now that I'm trying to build my project using
>>> ant I can't figure out if I'm supposed to just edit the build.xml file
>>> to reference all of the external source directories? Or if there is
>>> something I should put in the build.properties file to cause the tools
>>> to find these files. My .classpath file looks like:
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <classpath>
>>> <classpathentry kind="src" path="src"/>
>>> <classpathentry kind="con"
>>> path="com.android.ide.eclipse.**adt.ANDROID_FRAMEWORK"/>
>>> <classpathentry combineaccessrules="false" kind="src" path="/
>>> OpenGL"/>
>>> <classpathentry kind="output" path="bin"/>
>>> </classpath>
>>>
>>> The part I want to replicate in an ant build is the classpathentry
>>> that specifies the path to my OpenGL source.
>>>
>>> Thank you,
>>> Anton
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to
>> [email protected]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en