Re: Retrieving values from task?

2001-04-02 Thread Stefan Bodewig
Stephen Champeau <[EMAIL PROTECTED]> wrote: > I have built several tasks that manage the build number of my > project. I would now like to retrieve and use this build number from > within my ant script. Is there any way to do this? Make them set a property. Stefan

RE: [build numbers] How to add this ?

2001-04-02 Thread Conor MacNeill
Checkout the propertyfile task > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 3 April 2001 1:12 PM > To: [EMAIL PROTECTED] > Subject: [build numbers] How to add this ? > > > I would like to add a monotonically increasing build number to > eve

[build numbers] How to add this ?

2001-04-02 Thread Gavin Bong
I would like to add a monotonically increasing build number to every jar file whenever a new compile/update takes place. Has anyone done this before in Ant ? Thanks Gavin ___ Visit http://www.visto.com/info, your free web-b

RE: Using Ant for secured file transfers

2001-04-02 Thread Dennis Gregorovic
You could also try using sftp as the ftp application. It acts the same as ftp but uses ssh to keep everything secure. http://www.openbsd.org/cgi-bin/man.cgi?query=sftp&sektion=1 -- Dennis -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, April 02, 200

Retrieving values from task?

2001-04-02 Thread Stephen Champeau
I have built several tasks that manage the build number of my project. I would now like to retrieve and use this build number from within my ant script. Is there any way to do this? Thanks, Steve C.

Re: Using Ant for secured file transfers

2001-04-02 Thread Nico Seessle
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 02, 2001 11:05 PM Subject: Using Ant for secured file transfers > Has anyone out there used ANT for secure file copies (integrating it with > SSH or other products) for secure and encrypted file tr

Using Ant for secured file transfers

2001-04-02 Thread Douglas_Wong
Has anyone out there used ANT for secure file copies (integrating it with SSH or other products) for secure and encrypted file transfers (not ftp because it isn't secure)If so, can you let us know what you have used?

Problem with CVS check out

2001-04-02 Thread Anoop
Hi, I had mailed before regarding the problem with checking out the files from the CVS through ANT. The CVS setup in our organization is through the SSH. User cannot access CVS unless untill he has logged into SSH. Can anyone tell me what is the code to be added in my build.xml fo

[SUBMIT] New jar task

2001-04-02 Thread John Kohler
I'm donating the task to the project. Yes, it's another jar task that: o given a set of 'root' classes will determine all dependant classes and include them in the jar (subject to filtration rules) o include 'resource' files (non-class files) into the jar and allows 'repackaging', i.e. for

RE: Problem with CVS check out

2001-04-02 Thread Anoop
Hi, The ant.jar is in my classpath. Can there be any other reason for this error to occur. Thanks, Anoop. -Original Message- From: Nico Seessle [mailto:[EMAIL PROTECTED]] Sent: Saturday, March 31, 2001 3:25 AM To: [EMAIL PROTECTED] Subject: Re: Problem with CVS check out -

RE: Problem with CVS check out

2001-04-02 Thread Anoop
Hi, I changed my property name, still its giving the same error. Is there any changes to be made, i have added all the jar files to my classpath. Thanks, Anoop. -Original Message- From: Jason Pringle [mailto:[EMAIL PROTECTED]] Sent: Monday, April 02, 2001 10:23 AM To: '[EMAIL P

RE: Problem with CVS check out

2001-04-02 Thread Jason Pringle
your property is named "co.dir" while in the cvs task you reference "codir", which doesn't exist. Since it doesn't exist, the cvs task is passing an empty string. You can see this in the error message: F:\ixappDeployed\ixapp\build.xml:26: java.io.IOException: CreateProcess: cvs -d :pserver:anoo

Re: Problem with CVS

2001-04-02 Thread Jeff
Anoop wrote: > Hi all, > Am working with ant as a build tool. The task is to check out all the files > in the CVS and build the files to create a jar. Can anyone please help me > out with the peice of code in the build.xml of ant to check out the files > from the C

Re: Getting environment variables into the build.xml file

2001-04-02 Thread Anuj Agrawal
In Ant 1.3, there is a Property tag that allows you do that. Check out the documentation - it's pretty cool! 8) Anuj. Ori Burstein wrote: I need to use an environment variable in my script .I can't pass it as an argument ( I have to use a certain shell, which is implemented here).Please advise m

Getting environment variables into the build.xml file

2001-04-02 Thread Ori Burstein
Hi, I need to use an environment variable in my script . I can't pass it as an argument ( I have to use a certain shell, which is implemented here). Please advise me on how can I gather an environment variable into my XML file.   Thanks a lot   Ori  

RE: ftp task throwing ArrayIndexOutOfBoundsException

2001-04-02 Thread Mark Hewitt
Nico, Oops - sorry - I should have remembered to delete the target file on the ftp server. Your patch does make a difference (ie, it works as expected) now that I have moved the downloaded optional.jar out of the way. Thanks for the suggestion. #!/mjh -Original Message- From: Mark He

RE: ftp task throwing ArrayIndexOutOfBoundsException

2001-04-02 Thread Mark Hewitt
Nico, It seems that the optional.jar (that I built) does not have this problem, but the jakarta-ant-1.3-optional.jar that I downloaded does. (Naturally, I only discovered this when figuring out why your suggested patch made no difference whatever!) #!/mjh -Original Message- From: Nico

Re: ftp task throwing ArrayIndexOutOfBoundsException

2001-04-02 Thread Nico Seessle
- Original Message - From: "Mark Hewitt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 02, 2001 10:38 AM Subject: RE: ftp task throwing ArrayIndexOutOfBoundsException > Nico, > > The ftp task works correctly if I do it unconditionally - ie, > depends="no". > > The manua

RE: ftp task throwing ArrayIndexOutOfBoundsException

2001-04-02 Thread Mark Hewitt
Nico, The ftp task works correctly if I do it unconditionally - ie, depends="no". The manual ftp results you requested are: ftp> ls dca.jar 200 PORT command successful. 150 ASCII data connection for /bin/ls (194.194.22.35,59319) (0 bytes). dca.jar 226 ASCII Transfer complete. remote: dca.jar 9

Re: Creating Jar files

2001-04-02 Thread Peter Donald
At 01:48 1/4/01 +0530, Abhishek Srivastava wrote: >Hello All, > >I have the following directory structure > >Root > | > |-A-- test1.class > | > |-B-- test2.class > | > |-C-- test3.class > > >I want to create a jar file that contains "only" the files in the directory >A. But not B and C or any oth

Creating Jar files

2001-04-02 Thread Abhishek Srivastava
Hello All, I have the following directory structure Root | |-A-- test1.class | |-B-- test2.class | |-C-- test3.class I want to create a jar file that contains "only" the files in the directory A. But not B and C or any other directory that may be present at the level of A and B. I tried