Actually, mine runs as part of the normal build process too. Using ant
builder instead of a program builder gives you full cross-platform
compatibility. We're both adding builders, just different types.

Either one will work fine. But I recommend an ant builder over a
program builder, because there are always other reasons that come
along to have an ant script -- for example, production builds with
tagging, etc. You can also set up other tasks to perform besides
builds.

But that's a relatively mild recommendation, especially if you only
develop or need to develop on one platform.

i suspect that by leaving off a .cmd extension, and putting a bit of
script in the.'toollcmd' file to run the main script in a 'tool' file,
you could set up program builders to work on both Unixoid and non-
unixoid platforms, but I've not tried it.

Another nice little advantage of an ant script is you don't need to
fuss with your revision control system or scripts getting execute
permission set on Unixoid systems.


On Mar 21, 1:19 pm, HippoMan <[email protected]> wrote:
> On Mar 21, 4:13 pm, Bob Kerns <[email protected]> wrote:
>
> > [  ... ]
>
> > Instead, I'd just use an xslt ant task to generate your helper class
> > -- call it X -- and make it import R. If you like, you can even make
> > it a subclass (and give it inner classes that are subclasses of R's
> > inner classes).
>
> > [ ... etc. ... ]
>
> Thank you. Yes, I see how this would work, as well.
>
> The advantage of my method (adding a new builder in the chain) is that
> I don't need
> to run ant or create a special target. My builder runs as part of the
> normal build process.
>
> But I don't mean to disparage your excellent suggestion. I'm just
> contrasting it with
> what I came up with. Different people might want to run things in
> different ways to
> suit their individual needs.

-- 
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

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to