Re: Use Ant to Compare file and directories

2008-11-25 Thread David Weintraub
Does this have to be an ant task? There's no real ant task that can do this, but it is possible to write a Unix shell script that will unpack jar files, and then use the "diff -r" command to recursively go though the two directories. (Some systems don't have the "diff -r". Instead, you can use dirc

Re: Using geebis

2008-11-25 Thread Maarten Coene
I don't have a problem downloading that library: [ivy:retrieve] downloading http://ivyrep.geebis.org/ivy/slf4j/slf4j/1.5.0/slf4j-log4j12-1.5.0.jar ... [ivy:retrieve] .. (8kB) [ivy:retrieve] .. (0kB) [ivy:retrieve] [SUCCESSFUL ] slf4j#slf4j;1.5.0!slf4j-log4j12.jar (1794ms) [ivy:retrieve] download

Re: Use Ant to Compare file and directories

2008-11-25 Thread Scot P. Floess
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 th

Re: Endless recursion with ssh resolver

2008-11-25 Thread Maarten Coene
Could you tell us how you have loaded the ivy tasks and the jsch library? - are they located in your ant/lib folder? - are you passing the jars to your taskdef declaration? - ... Maarten - Original Message From: Tristan Lüdemann <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Sent: Tuesday,

Re: Use Ant to Compare file and directories

2008-11-25 Thread minifish
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

Re: Use Ant to Compare file and directories

2008-11-25 Thread Scot P. Floess
OK, next questioninstalls 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 fr

Re: Use Ant to Compare file and directories

2008-11-25 Thread minifish
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, t

Re: Re: How to figure out what is in my class path?

2008-11-25 Thread David Weintraub
On Tue, Nov 25, 2008 at 3:24 PM, <[EMAIL PROTECTED]> wrote: > Is there a way to print out what is in the Ant classpath? To print out the classpath Ant is using, print ${java.class.path}. -- David Weintraub [EMAIL PROTECTED] On Tue, Nov 25, 2008 at 3:24 PM, <[EMAIL PROTECTED]> wrote: > Is the

Fwd: Re: How to figure out what is in my class path?

2008-11-25 Thread David Weintraub
I'm forwarding this to the list. You have to "Reply All" to send to the list and the individual users. -- David Weintraub [EMAIL PROTECTED] -- Forwarded message -- From: <[EMAIL PROTECTED]> Date: Tue, Nov 25, 2008 at 3:24 PM Subject: Re: Re: How to figure out what is in my cl

SCP and SSHExec tasks

2008-11-25 Thread Rez
Hi Is it possible to create the directories on the remote server on the fly as the scp ant task is executed or do I need to run sshexec to create them first? Thanks _ Windows Live Hotmail now works up to 70% faster. http://windo

Re: Use Ant to Compare file and directories

2008-11-25 Thread Scot P. Floess
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

Re: Apache Ant add property file and policy file

2008-11-25 Thread Scot P. Floess
I know the jar task has an includes attribute... My guess is these files are someplace outside ${classes.dir} ??? If so, I think you will have to use the includes attribute... On Tue, 25 Nov 2008, minifish wrote: any idea how I can include them in my jar file? Scot P. Floess-2 wrote: I

Re: Apache Ant add property file and policy file

2008-11-25 Thread minifish
any idea how I can include them in my jar file? Scot P. Floess-2 wrote: > > > I assume based on the file names you are wanting to include these files as > property files... > > If so.. > > > > > > On Tue, 25 Nov 2008, minifish wrote: > >> >> Hello, >> I'm new to Ant. and I'm try to inc

Use Ant to Compare file and directories

2008-11-25 Thread minifish
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 fr

Re: Apache Ant add property file and policy file

2008-11-25 Thread Scot P. Floess
I assume based on the file names you are wanting to include these files as property files... If so.. On Tue, 25 Nov 2008, minifish wrote: Hello, I'm new to Ant. and I'm try to include two files, console.property and java.policy to my Ant build.xml. Couldn't find much information online

Apache Ant add property file and policy file

2008-11-25 Thread minifish
Hello, I'm new to Ant. and I'm try to include two files, console.property and java.policy to my Ant build.xml. Couldn't find much information online, any suggestions will be great help. Thank you, code: