ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Weintraub" <qazw...@gmail.com>
Subject Re: Use Ant to Compare file and directories
Date Thu, 27 Nov 2008 19:38:19 GMT
Ant can always call the <exec> task. If you have a shell script that expands
the JAR files the way you want, then use "diff -r --brief" to print out your
differences, you can use <exec> to call your script.
--
David Weintraub
qazwart@gmail.com


On Thu, Nov 27, 2008 at 2:27 PM, minifish <katrvu@hotmail.com> wrote:

>
> do you is there any way to write some script and for ant to call?
> I'm really new to ant so I'm still not sure about it's functionality.
>
> Thank you so much already
>
> Scot P. Floess-2 wrote:
> >
> >
> > Yeah...I think so...  Off the top of my head I don't know of any task
> that
> > will do that by itself...
> >
> > On Tue, 25 Nov 2008, minifish wrote:
> >
> >>
> >> Sorry I should have been more clear. I need to compare all the files and
> >> directories within the directory, as well as unpack the Jar files and
> >> compare the contents.
> >>
> >> I'm thinking somehow I have to record all the files from both install
> >> directory and compare.
> >>
> >>
> >> Scot P. Floess-2 wrote:
> >>>
> >>>
> >>>
> >>> OK, next question....installs of what?  Will you need to unpack Jar
> >>> files
> >>> and compare the contents...  Or simply compare 2 directories and the
> >>> files
> >>> contained therein???
> >>>
> >>> On Tue, 25 Nov 2008, minifish wrote:
> >>>
> >>>>
> >>>> yes
> >>>>
> >>>>
> >>>> Scot P. Floess-2 wrote:
> >>>>>
> >>>>>
> >>>>> Do you mean a file by file comparison starting from a directory
> >>>>> working
> >>>>> down?
> >>>>>
> >>>>> On Tue, 25 Nov 2008, minifish wrote:
> >>>>>
> >>>>>>
> >>>>>> Hello,
> >>>>>> This is just a general question. I'm new to ant.
> >>>>>> Any idea I use ant to compare too installs?? :,(
> >>>>>> for example, tell user the file size and directory difference.
> >>>>>> --
> >>>>>> View this message in context:
> >>>>>>
> http://www.nabble.com/Use-Ant-to-Compare-file-and-directories-tp20688353p20688353.html
> >>>>>> Sent from the Ant - Users mailing list archive at Nabble.com.
> >>>>>>
> >>>>>>
> >>>>>>
> ---------------------------------------------------------------------
> >>>>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >>>>>> For additional commands, e-mail: user-help@ant.apache.org
> >>>>>>
> >>>>>>
> >>>>>
> >>>>> Scot P. Floess
> >>>>> 27 Lake Royale
> >>>>> Louisburg, NC  27549
> >>>>>
> >>>>> 252-478-8087 (Home)
> >>>>> 919-754-4592 (Work)
> >>>>>
> >>>>> Chief Architect JPlate   http://sourceforge.net/projects/jplate
> >>>>> Chief Architect JavaPIM  http://sourceforge.net/projects/javapim
> >>>>>
> >>>>> Architect Keros          http://sourceforge.net/projects/keros
> >>>>>
> >>>>> ---------------------------------------------------------------------
> >>>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >>>>> For additional commands, e-mail: user-help@ant.apache.org
> >>>>>
> >>>>>
> >>>>>
> >>>>
> >>>> --
> >>>> View this message in context:
> >>>>
> http://www.nabble.com/Use-Ant-to-Compare-file-and-directories-tp20688353p20689299.html
> >>>> Sent from the Ant - Users mailing list archive at Nabble.com.
> >>>>
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >>>> For additional commands, e-mail: user-help@ant.apache.org
> >>>>
> >>>>
> >>>
> >>> Scot P. Floess
> >>> 27 Lake Royale
> >>> Louisburg, NC  27549
> >>>
> >>> 252-478-8087 (Home)
> >>> 919-754-4592 (Work)
> >>>
> >>> Chief Architect JPlate   http://sourceforge.net/projects/jplate
> >>> Chief Architect JavaPIM  http://sourceforge.net/projects/javapim
> >>>
> >>> Architect Keros          http://sourceforge.net/projects/keros
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >>> For additional commands, e-mail: user-help@ant.apache.org
> >>>
> >>>
> >>>
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/Use-Ant-to-Compare-file-and-directories-tp20688353p20690069.html
> >> Sent from the Ant - Users mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >> For additional commands, e-mail: user-help@ant.apache.org
> >>
> >>
> >
> > Scot P. Floess
> > 27 Lake Royale
> > Louisburg, NC  27549
> >
> > 252-478-8087 (Home)
> > 919-754-4592 (Work)
> >
> > Chief Architect JPlate   http://sourceforge.net/projects/jplate
> > Chief Architect JavaPIM  http://sourceforge.net/projects/javapim
> >
> > Architect Keros          http://sourceforge.net/projects/keros
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Use-Ant-to-Compare-file-and-directories-tp20688353p20724505.html
> Sent from the Ant - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message