Thanks for these links.. When I was mentioning build.xml best practices, I was referring to ant's build.xml used to build ant.
After reviewing the docs, I'm fairly sure I have a handle on it. For the cab.java file, I'll test for MakeCab then cabarc. If neither are found, fail with a meaningful error message. I'm shooting for non-Ivy at the moment based on immediate needs. On Sat, Apr 2, 2016 at 3:52 PM, Martin Gainty <mgai...@hotmail.com> wrote: > > > > > > Date: Sat, 2 Apr 2016 13:27:36 -0600 > > Subject: Re: Returning CAB file support to ANT > > From: ga...@oedata.com > > To: dev@ant.apache.org > > > > Hi everyone, > > > > Thank you for the warm welcome. > > > > Thanks for the link to the developer's page. > > > > To clarify my post to the list, cab support is already built into ant. > > However the optional jar is not built, it has been remove from the > > build.xml. > > > > I want to re-factor cab.java to support M$ new cab file utility, and in > > that process not violate the established practices and style making ant a > > great product. This also means to keep the current API and functionality, > > not to break any regression, back compatibility to existing deployments, > > and migrations to more modern environments.. > > > > The questions I have: > > > > 1) Should I keep the cabarc.exe support and detect the new makecab > utility > > or remove existing cabarc.exe support ? > MG>best practice is to create a taskdef as earlier mentioned..but you can > however call ant <exec> on binary cabarc.exe > MG>https://ant.apache.org/manual/Tasks/exec.html > > 2) Is there a style guidance for build.xml file ? (I don't want to submit > > something that violates best practices) > MG>Best-Practice: use property to capture project wide attributesMG> > http://archive.oreilly.com/pub/a/onjava/2003/12/17/ant_bestpractices.html > MG>when bruce atherton was mentoring me he mentioned I should > read/understand Steve Loughrans "ant in anger"MG> > https://ant.apache.org/ant_in_anger.html > MG>i didnt catch if you are implementing ant with ivy or ant non-ivy? > > > > v/r > > gary > > > > > > > > > > > > > > > > On Sat, Apr 2, 2016 at 10:14 AM, Stefan Bodewig <bode...@apache.org> > wrote: > > > > > On 2016-04-02, Martin Gainty wrote: > > > > > > > one option is to re-factor Cab.java into a Ant Taskdef > > > > > > Cab.java already *is* a task that ships with Ant. > > > > > > Stefan > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org > > > For additional commands, e-mail: dev-h...@ant.apache.org > > > > > > > >