Re: OutOfMemory exception after introducing task

2005-12-17 Thread glenn opdycke-hansen
The -Xmx option (max heap) will avoid the OOME. However it is not recommended setting the -Xms (initial heap) to the same value as max. --glenn On 12/16/05, Ivan Ivanov <[EMAIL PROTECTED]> wrote: > > Hello, > > you might want to take a look at ANT_OPTS environment > variable [1] combined with -Xm

FTP task crashes - why?

2005-12-17 Thread Rhino
I am getting this crash in the middle of an FTP task; it is trying to copy a directory containing 50 or 60 files in a variety of subdirectories from my PC to a remote server: fileset: Setup scanner in dir E:\eclipse\3.1.1\eclipse\workspace\Resume_JDK_1.5.0\javadoc with patternSet{ includes: [

Question re sshexec task

2005-12-17 Thread Rhino
Is there any problem with blanks or apostrophes within the name of a keyfile in an sshexec task? I am running Ant 1.6.5 in Eclipse 3.1.1. Our environment changed recently so I need to modify my build scripts to use keys instead of passwords. After reading the sshexec article in the Ant manual,

Re: FTP problems

2005-12-17 Thread Rhino
Thank you VERY much, Gilbert! That did the trick. I had completely forgotten the need to take that step in Eclipse. Rhino - Original Message - From: "Gilbert Rebhan" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Saturday, December 17, 2005 3:20 PM Subject: Re: FTP problems Hi,

Re: FTP problems

2005-12-17 Thread Jeffrey E Care
You can also add them to the classpath for each "run configuration" by clicking on the classpath tab. Run | External tools | External tools... JEC -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) Gilbert Rebhan <[EMAIL PROTECTE

Re: FTP problems

2005-12-17 Thread Gilbert Rebhan
Hi, Rhino > What more do I need to do/check then? Check if those needed jar's are in sight for ant in eclipse. -> Window|Preferences|Ant|Runtime|Global Entries|Add External Jars and choose from filesystem or Add Jars if you put them into a project in your workspace > - Original Message

Re: FTP problems

2005-12-17 Thread Rhino
What more do I need to do/check then? Rhino - Original Message - From: "Jeffrey E Care" <[EMAIL PROTECTED]> To: "Ant Users List" Cc: "Ant Users List" Sent: Saturday, December 17, 2005 2:39 PM Subject: Re: FTP problems Since you are running this in the Eclipse environment something

Re: FTP problems

2005-12-17 Thread Jeffrey E Care
Since you are running this in the Eclipse environment something else to make sure of is that commons-net & oro are actually on the Ant classpath _as used by Eclipse_ ; I don't think just dropping the JARs in the Ant plugin's "lib" directory is enough. -- Jeffrey E. Care ([EMAIL PROTECTED]) Web

Re: FTP problems

2005-12-17 Thread Rhino
- Original Message - From: "Antoine Levy-Lambert" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Saturday, December 17, 2005 2:09 PM Subject: Re: FTP problems Hello Rhino, please read the section installing ant / library dependencies of the manual. To run ftp, you need commons-n

Re: AW: ant return status

2005-12-17 Thread Antoine Levy-Lambert
Hello Steve, Jan and others, ant.bat has been changed in the head revision to give a return status. Cheers, Antoine - Original Message - From: "Steve Loughran" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Friday, December 16, 2005 7:21 PM Subject: Re: AW: ant return status > [EMAI

Re: Failed to initialise MIME mail

2005-12-17 Thread Antoine Levy-Lambert
Hello Chon, The message "failed to initialize mime mail" means that due to the absence of mail.jar, ant will use its own implementation of sending mail. You wrote that ant does send an email, but the email does not look readable : >Build failed due to errors! View attached log file for details.

Re: FTP problems

2005-12-17 Thread Antoine Levy-Lambert
Hello Rhino, please read the section installing ant / library dependencies of the manual. To run ftp, you need commons-net and oro. The error message you have posted indicates that you do not have commons-net. > java.lang.NoClassDefFoundError: org/apache/commons/net/ftp/FTPClient > > at Cheers

FTP problems

2005-12-17 Thread Rhino
I need some help with an FTP problem in an Ant task. I am running Ant 1.6.5 from Eclipse 3.1.1. I have a task that is trying to FTP some files from my computer to a remote server. I am getting this error from the task: upload-Sympatico: [echo] Uploading to Sympatico [echo] Deleting all

Re: Ant 1.7

2005-12-17 Thread Stefan Bodewig
On Fri, 16 Dec 2005, David M. Lee <[EMAIL PROTECTED]> wrote: >> From: Stefan Bodewig [mailto:[EMAIL PROTECTED] >> On Thu, 15 Dec 2005, David M. Lee <[EMAIL PROTECTED]> wrote: >> > Anyone have any idea when Ant 1.7 will become official? >> >> I wouldn't hold my breath. We haven't added too many