i tried that but some of the other tasks couldn't handle being passed multiple folders. I have now just copied the template into my build file and modified it. this rather defeats the object of having templates though
On Apr 29, 11:41 am, Zero <zeroo...@googlemail.com> wrote: > quotinghttp://ant.apache.org/manual/CoreTasks/javac.html > > <javac srcdir="${src}:${src2}" > destdir="${build}" > includes="mypackage/p1/**,mypackage/p2/**" > excludes="mypackage/p1/testpackage/**" > classpath="xyz.jar" > debug="on" > /> > > is the same as the previous example, with the addition of a second > source path, defined by the property src2. This can also be > represented using nested <src> elements as follows: > << > > so, yes. :) > > On Apr 29, 12:32 pm, alan <a...@birtles.org.uk> wrote: > > > Is it possible to compile from more than one source directory? The > > source folder is defined as a simple string property and I assume > > assigning it to a <path> wont work? > > > On Apr 14, 8:42 pm, Xavier Ducrohet <x...@android.com> wrote: > > > > hmm oops. Just copy the one from 1.5 into 1.1/templates. they should > > > be identical anyway. > > > > Xav > > > > On Tue, Apr 14, 2009 at 12:37 PM, Xavier Le Vourch > > > > <xavier.levou...@xlv-labs.com> wrote: > > > > > Xavier Ducrohet wrote: > > > >> Hello, > > > > >> The new SDK include multiple versions of the Android platforms. > > > >> Because newer versions could have slightly different build steps, we > > > >> have decide to keep most of the build logic inside the platforms > > > >> themselves. > > > > >> Thus, the new build.xml imports a file called android_rules.xml > > > >> located inside SDK/platforms/<platform>/templates/ (it might move in > > > >> the final SDK but you shouldn't care much). > > > > > FYI, the android_rules.xml is missing in the android-1.1/templates > > > > directory so right now it's not possible to use the 1.1 platform with > > > > the 1.5 pre SDK. I've only downloaded the Linux version so this may be a > > > > packaging issue with that version alone. > > > > > Best Regards, > > > > > Xavier Le Vourch > > > > > -- > > > > XLV Labs > > > > > Publisher of "Who Called?", Caller Id application for Android phones: > > > > >http://www.xlv-labs.com/whocalled > > > > -- > > > Xavier Ducrohet > > > Android Engineer, Google. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---