Hi
Is it an option to use JDK 1.5 completely and specify the source ant
target attributes
Martijn
Bandaru, Jaysheel wrote:
Hi -
I have a build file which uses JDK1.4 to compile(javac) and run the java
tasks , in the build file I have task which executes a jar file compiled
using JDK1.5 .
Thanks for the reponse .I tried the way you mentioned but it didn't
work. I ran the ant with verbose and I see that it is still looking at
JDK 1.4.
Is there any other soln?
Thanks in advance
-Original Message-
From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 1
Bandaru, Jaysheel wrote:
Hello Jaysheel,
two ideas :
run your build in debug (ant -debug) or verbose (-verbose) mode to get a
better feeling of what is happening in the case
you are starting from ant running in a JDK 1.4 VM.
Also try to nest in an element to tell java where is your
JAVA_HOME
Hi -
I have a build file which uses JDK1.4 to compile(javac) and run the java
tasks , in the build file I have task which executes a jar file compiled
using JDK1.5 .
How should I execute that task ?
I tried the following , it says buildSuccessful but I don't see the
expected results.I run
Hello Michael,
I can confirm that the cvs task does not let you specify where your
cvs.exe lies, and it must be found in the path.
By the way, I did some work with the cygwin cvs and ant and it seemed to
work for me. What I did though were activities which do not write to the
repository, suc
To preserve the clean syntax that you achieved w/ the macrodef, you could
combine the antcall with your macro. The main build target would use the
macro, and the macro would do the antcall.
The target that is run by antcall has its own scope, so no problem with the
properties.
Michael Giroux
I have had success using antcall and params - this allows the properties
to reset each time
==
==
==
==
==
Hi Rakesh
I would very much appreciate it if you could post the configuration details.
And could you also explan the scenario under which you deployed this ftp.
Did you use it as part of some Java application?
For example I have an application running in a box which I call the colocator.
This app
Hi Rakesh
I would very much appreciate it if you could post the configuration details.
thanks a lot
Rakesh Patel <[EMAIL PROTECTED]> wrote: Hi guys,
you are not going to believe this!
At the moment my war file is 5mb that i wish to ftp to the server.
Using the recommended library (Common-net)
I would like to be able to take a macro parameter such as "devel" and
use this information to compute the actual path where the data is stored
(ex \\pca001\mypath). Unfortunately I cannot use properties for these
values because they are immutable once set and I may use each macro more
than once.
Hi guys,
you are not going to believe this!
At the moment my war file is 5mb that i wish to ftp to the server.
Using the recommended library (Common-net) the upload took almost a
minute. This is quite poor. My colleague then told me he can transfer
the file using Absolute FTP (a free windows
FWIW, I had very similar problems using the Eclipse FTP plugin which also
uses commons-net. Looking at the traces I discovered that the package seems
to do a lot of extra commands to set working directory, and list the
directory.
You might try watching the traffic using a TCP Monitor (there is on
I've had this exact problem with Ant's FTP, SCP, and SSH; they're
agonizingly slower. So I spawn a new shell or use Exec to the system, much
faster.
Also I used to Ant-FTP from my Windows server to our Linux server which took
a long time. So instead, I set up an FTP client through IIS on the
I guess he may be referring to common-net library recommended in the following
links:
http://ant.apache.org/manual/install.html#commons-net
http://jakarta.apache.org/commons/net/index.html
We definitely need this jar file when using FTP task (with ANT 1.6.5 -- I
couldn't get the FTP task working
Can you post your ANT_OPTS arg variable ?
-Original Message-
From: ilango [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 12, 2006 12:54 PM
To: Ant Users List
Cc: [EMAIL PROTECTED]
Subject: Re: Help with ftp
Hi Rakesh
Could you tell me what this common-net library is? Did you refer to s
Hi Rakesh
Could you tell me what this common-net library is? Did you refer to some sample
code for FTP?
Right now, I am trying to do the same
ilango
Rakesh Patel <[EMAIL PROTECTED]> wrote: Hi,
i am writing a ftp task using the common-net library as recommended. It
does work but i am surpised
did u put in the password?
--
View this message in context:
http://www.nabble.com/scp-%22auth-cancel%22-error-t1402297.html#a3884924
Sent from the Ant - Users forum at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROT
Hi,
i am writing a ftp task using the common-net library as recommended. It
does work but i am surpised at its performance.
I am uploading a 5mb file and it takes almost a minute. When i use a
dedicated Windows ftp client (AbsoluteFTP) the transfer takes a quarter
of the time.
Is there som
The CVS related tasks require that the cvs executable is on the PATH.
I have two versions of cvs installed, one at c:\bin\cvs\cvs.exe
The other at c:\cygwin\bin\cvs.exe.
Both versions show the same version information:
Concurrent Versions System (CVS) 1.11.20 (client)
When I attempt to execute t
Thanks Benjamin, you were right, there was a problem in the path. It
seems the eye don't work too well late night :)
Eugene
-Original Message-
From: Burgess, Benjamin [mailto:[EMAIL PROTECTED]
Sent: Tuesday 11 April 2006 19:47
To: Ant Users List
Subject: RE: Starteam checkout problem
Th
20 matches
Mail list logo