How to unsubscribe ant user mail list

2005-07-31 Thread sunyj_adtec
Hi, everyone! I want to unsubscribe my account from Ant Users List. And i try to send mail to [EMAIL PROTECTED] using my ant mail account many many times. Why, how to do? Hope this helps! any suggestions?? Thanks in advanced! Sun Andrew Goktepe wrote: Try it without the trailing slash i

AW: Sample of custom task showing how to get filesets?

2005-07-31 Thread Jan.Materne
Then you havent found the manual? Developing with Ant | Tasks using Properties, Filesets & Paths Jan >-Ursprüngliche Nachricht- >Von: David A. Bartmess [mailto:[EMAIL PROTECTED] >Gesendet: Sonntag, 31. Juli 2005 23:05 >An: user@ant.apache.org >Betreff: Sample of custom task showing how

AW: Count copied files

2005-07-31 Thread Jan.Materne
Not that I am aware of. AFAIK there is no . Ant 1.7 will include "Resources" [1] (e.g. will be one) and then there will be a task. ATM I get the idea of a counting selector ... When processing a fileset the underlying DirectoryScanner asks all nested selectors (like ) if they would select t

help with exec to compile c file

2005-07-31 Thread hiren patel
hi, I am currently compiling using exec but it seems that ANT always compiles the .c file regardless of .c has changed or not. is there any way that ant checks for timestamps of source files and acts smart about building executable when we are using exec. do you know how to modify code below

how to use cc task in ANT?

2005-07-31 Thread hiren patel
HI, I want to compile .c file using ant. I have added cpptasks.jarand ant-contrib.jar from in lib directory. I dont know how to use cc task in build.xml. can anyody provide sample build.xml that compiles prog1.c and header1.h to an exe1 in the same directory? Thanks, hiren patel

Re: AW: AW: Multiple IFs, or IFs on tasks

2005-07-31 Thread Frank W. Zammetti
Not really... each target performs a specific task, and the one main target antcalls all the others in the proper sequence. It's really no more complicated than a series of method calls. Each target, or method in the analogy, is fairly small and simple, there just happens to be a fair number

Re: AW: AW: Multiple IFs, or IFs on tasks

2005-07-31 Thread THUFIR HAWAT
On 7/31/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > 50 lines? > > I have one script that is upwards of 700 lines. I wouldn't worry about > 50 ;) > > Frank How do you organize that? 700 lines is just way too big to read, isn't it? -Thufir --

Re: AW: AW: Multiple IFs, or IFs on tasks

2005-07-31 Thread Frank W. Zammetti
50 lines? I have one script that is upwards of 700 lines. I wouldn't worry about 50 ;) Frank THUFIR HAWAT wrote: On 7/31/05, Andrew Goktepe <[EMAIL PROTECTED]> wrote: The 'ant' task might be what you're looking for - it works like antcall, but on a separate build file. http://ant.apache.o

Sample of custom task showing how to get filesets?

2005-07-31 Thread David A. Bartmess
I'm confused by the custom tasks, and how to get the filesets from nested fileset elements. Do these get created automatically, and all I have to provide is a public void add(FileSet fset) method in the Task-derived custom task? Or are there special methods I need to call from the inherited T

Re: AW: AW: Multiple IFs, or IFs on tasks

2005-07-31 Thread THUFIR HAWAT
On 7/31/05, Andrew Goktepe <[EMAIL PROTECTED]> wrote: > The 'ant' task might be what you're looking for - it works like antcall, but > on a separate build file. > http://ant.apache.org/manual/CoreTasks/ant.html > Example: > > -Andrew ... Yes, thank you. (I stumbled across that, too!) I lik

Re: AW: AW: Multiple IFs, or IFs on tasks

2005-07-31 Thread Andrew Goktepe
The 'ant' task might be what you're looking for - it works like antcall, but on a separate build file. http://ant.apache.org/manual/CoreTasks/ant.html Example: -Andrew On 7/30/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > Well, I'm not sure how one calls another whole script, perh

exec returned: -1

2005-07-31 Thread Jacob, Anil - MWL
> I have an ANT task which executes a perl script. It works fine when I > execute it on the command line. When I use cron(which does not set and > ENV's) I get an error saying exec returned: -1. What does -1 mean? > > Thanks > Anil

Cannot get FTP to get/list files on RHEL3 machine

2005-07-31 Thread Calum Byrom
Hi, I'm having problems getting my ANT build to transfer files from a remote system to my RHEL3 box. This works fine on my WindowsXP and SuSE9 machines - using the following: Running in ver

Please add sqlunit project in the external page

2005-07-31 Thread Ivan Ivanov
Dear Colleagues, Could you please add sqlunit project in the external projects page? Here is its info and I am attaching also a diff of xdocs/external.xml: SQLUnit Compatibility: Tested with Ant 1.6 URL: http://sqlunit.sourceforge.net Contact: Project forums License: GPL Thank you in advance Iva