Ant: copy files

2007-03-22 Thread Denis Bessmertnyj
Hi, I need to do the following things: I want to copy some files, which I know, from one directory to another. But I'm a bit confused with fileset syntax. I want to specify all jar files as nested elements. I have tried to do the folllowing, but nothing:

RE: copy files

2007-03-22 Thread Gilles Scokart
Look at the example there : http://ant.apache.org/manual/CoreTasks/copy.html and there : http://ant.apache.org/manual/CoreTypes/fileset.html You should find something similar to what you try to do. Gilles > -Original Message- > From: Denis Bessmertnyj [mailto:[EMAIL PROTECTED] > Sent: je

AW: copy files

2007-03-22 Thread Jan.Materne
Use instead of when using nested elements. If you dont want to enumerate all jars you could use wildcards Jan >-Ursprüngliche Nachricht- >Von: Denis Bessmertnyj [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 22. März 2007 10:23 >An: user@ant.apache.org >Betreff: Ant: cop

javac exclude not working for directories

2007-03-22 Thread dtown
I can't seem to figure out what I am doing wrong. The following is my javac task: I basically want to exclude everything within the dir1 & dir2 (subdirectories included), and exclude the directories dir1/app2 & dir2/app3 (and all of their subdirectories). The include works as expected, but

Re: javac exclude not working for directories

2007-03-22 Thread dtown
Turns out your right...critical mistake on my part, I had a cross-package dependency where I shouldn't have. Funny how 1 line will kill your build script. Also, just to note, I removed the ** from my includes/excludes, and it behaved as expected. Thanks again! On 3/22/07, Matt Benson <[EMAIL

Re: javac exclude not working for directories

2007-03-22 Thread Matt Benson
You've excluded the directories, but not their contents. Append ** to each. -Matt --- dtown <[EMAIL PROTECTED]> wrote: > I can't seem to figure out what I am doing wrong. > The following is my javac > task: > > destdir="${classes}" >debug="on" >debuglevel="l

Re: javac exclude not working for directories

2007-03-22 Thread dtown
I tried that before, and it failed. I attempted to compile classes in the directories I wanted to exclude (it failed because they have dependencies which I did not include in the classpath) Here is the task I used: javac srcdir="${root}" destdir="${classes}" debug="on"

Re: javac exclude not working for directories

2007-03-22 Thread Matt Benson
--- dtown <[EMAIL PROTECTED]> wrote: > I tried that before, and it failed. I attempted to > compile classes in the > directories I wanted to exclude (it failed because > they have dependencies > which I did not include in the classpath) Okay, wait. First, yes, I forgot that a pattern ending in

Command Line execution

2007-03-22 Thread Shankar S
I want to invoke this command using ant's exec? i've tried getting double qoutes but haven't suceeded "C:/Program Files/InstallShield/InstallShield Professional 6.1/Program/ISBuild.exe" -p"../RL_1_6_1_3/20070322_1451/installer/superstar2/superstar2install/SuperSERVER VC 2003/SuperSERVER VC2003.i

Re: Re: FTP problems

2007-03-22 Thread mohdhamedmscse
Hi Every one, It was great help going through the messages. I am stuck at one point. I am getting an error in ant ftp task. error during FTP transfer: java.net.ConnectException: Connection refused: connect can any one help me out on this issue.. thanks Hamed. -- This message was sent on be

Re: Escaping double quotes in properties?

2007-03-22 Thread red i
Either spelling is fine. I know there are some places you can use " to symbolize a double quote, but let's say the quote about the potato(e) in this case is an argument to a javascript function... I've encountered the same problem, compounded by javascript syntax within the html property va

AW: Command Line execution

2007-03-22 Thread Jan.Materne
In the first example I wrote a wrapper and mask the quotation marks with xml entity " Jan >-Ursprüngliche Nachricht- >Von: Shankar S