ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: Returning CAB file support to ANT
Date Sat, 02 Apr 2016 21:52:20 GMT




> Date: Sat, 2 Apr 2016 13:27:36 -0600
> Subject: Re: Returning CAB file support to ANT
> From: garym@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 <bodewig@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-unsubscribe@ant.apache.org
> > For additional commands, e-mail: dev-help@ant.apache.org
> >
> >
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message