How to output a list of all folder and files in ant?

2008-11-28 Thread minifish
Hello, I'm try to output a list of all folder and files under a folder. Right now I have a program print out current directories, how I can make a loop and print out folders and files under each folder? I also want to distinguish the path difference for folder and files. Any help would be greatl

Re: Use Ant to Compare file and directories

2008-11-27 Thread minifish
f" to print out > your > differences, you can use to call your script. > -- > David Weintraub > [EMAIL PROTECTED] > > > On Thu, Nov 27, 2008 at 2:27 PM, minifish <[EMAIL PROTECTED]> wrote: > >> >> do you is there any way to write some script and fo

Re: Use Ant to Compare file and directories

2008-11-27 Thread minifish
hat > 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. >> &

Re: Use Ant to Compare file and directories

2008-11-27 Thread minifish
I'm using ant because the test harness of the big project is java ant. I'm wondering if it's possible to call ant and get a list of directories, file, and file size similar to "ls -la". Then write another program in XML or other languages to compare the results. So far, I'm still stuck on the imp

get a list of directories with apache ant

2008-11-26 Thread minifish
any one know how to get a list of directories file and file size with apache ant similar to "ls -la". Thank you very very much. -- View this message in context: http://www.nabble.com/get-a-list-of-directories-with-apache-ant-tp20707851p20707851.html Sent from the Ant - Users mailing list archive

Re: Use Ant to Compare file and directories

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

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 us

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

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

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: