Newbie - Ant JMeter Task Question

2008-02-26 Thread Z W
Hi I have an Ant script on Windows and Jmeters and its jmx files are installed on another Linux machine. My question is how do I invoke a test plan/run using your task on that Linux box from my Windows Ant script. I couldn't figure out the runremote and proxy attributes. A simple example in my con

Re: problem with the fileset

2008-02-26 Thread Ramu Sethu
Hi shekar I tried the following snippet. Its working fine for me. I think this cannot be a issue with date selector ${lib.prop} Did u try ur build with -verbose or -debug option?? These would give more informations On Wed, Feb 27, 2008 at 11:26 AM, sekhar18k <[EMAIL

Re: Who's Using YUI Compressor with ANT?

2008-02-26 Thread Garrett Smith
On Sun, Feb 24, 2008 at 10:37 PM, <[EMAIL PROTECTED]> wrote: > If you add a >taskname="yui" > to your task, you'll get better log statements ... > (I prefer having the executed command in the log - not just "exec" or > "apply".) > Ok, Good to know. Now I wan to add a build id/version to t

Re: How to display the classpath that Ant is using to launch the java task?

2008-02-26 Thread Garrett Smith
On Tue, Feb 26, 2008 at 6:38 PM, Fred Janon <[EMAIL PROTECTED]> wrote: > Is there anything to display the classpath that Ant is using to launch > a java task besides the verbose and debug ant options that don't > display it? > This might not be the answer to what you want to do, but... Ant shoul

Re: How to display the classpath that Ant is using to launch the java task?

2008-02-26 Thread Ramu Sethu
most of the time -debug and -verbose options should help u in debugging If your build is too huge, redirect them to a file On Wed, Feb 27, 2008 at 11:39 AM, Ramu Sethu <[EMAIL PROTECTED]> wrote: > Hope these things helps you > > If u want specific path element to get printed > > > > >

Re: How to display the classpath that Ant is using to launch the java task?

2008-02-26 Thread Ramu Sethu
Hope these things helps you If u want specific path element to get printed ${prop} (or) ${java.class.path} Let me know if i am wrong On Wed, Feb 27, 2008 at 8:08 AM, Fred Janon <[EMAIL PROTECTED]> wrote: > Is there anything to display the classpath that Ant is using

Re: problem with the fileset

2008-02-26 Thread sekhar18k
hi Ramu, the build file i have used is : * target name="init">

Re: env.COMPUTERNAME not working in linux

2008-02-26 Thread Ramu Sethu
Hi Temporary solution which i went for On Wed, Feb 27, 2008 at 2:20 AM, Chuck Holzwarth <[EMAIL PROTECTED]> wrote: > Maybe I am missing something, but the simplest fix may be just to set an > environment variable named COMPUTERNAME during login on the Unix/Linux > system a

AW: How to display the classpath that Ant is using to launch the java task?

2008-02-26 Thread Jan.Materne
There isnt any built-in debug option. You could do some logging with . Maybe some IDEs support debugging of buildfiles (I think Eclipse can). Jan > -Ursprüngliche Nachricht- > Von: Fred Janon [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 27. Februar 2008 03:39 > An: user@ant.apache.

How to display the classpath that Ant is using to launch the java task?

2008-02-26 Thread Fred Janon
Is there anything to display the classpath that Ant is using to launch a java task besides the verbose and debug ant options that don't display it? How can I debug Ant file in general? I check the Ant manual left and right and didn't find anything. Thanks Fred -

Help with java classpath...

2008-02-26 Thread Fred Janon
Hi, I am trying to write an Ant build.xml file to compile and run a Java (Groovy) app without too much success. I spent a day reading the Ant manual and trying all sorts of things. The ant file builds the classes correctly but apparently fails to include the current directory at runtime. I think m

Re: SQL task and resource collections ...

2008-02-26 Thread John Shott
Matt: Thanks for your quick response ... I had been unaware of the task/condition and will begin reading up on it immediately as that is clearly a useful feature in cases such as this one. I particularly appreciate the fact that you and Steve have both taken the time to look into my particu

RE: SQL task and resource collections ...

2008-02-26 Thread Chun Ji
How about you create a new sql file that calls the rest of your Sqls , and just here is your simple ant target: That is how my code works. -c -Original Message- From: John Shott [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 26, 2008 1:32 PM To: Ant Users List Subject: Re: SQ

Re: SQL task and resource collections ...

2008-02-26 Thread Matt Benson
--- Matt Benson <[EMAIL PROTECTED]> wrote: > Pardon the top post, all. > > We have had trouble here and there with the > difference > between "no resources specified" (an error to be > reported) and "no resources found" (usu. ignore and > continue). This sounds like that kind of situation > and

Walter Heestermans/TMME is out of the office.

2008-02-26 Thread Walter . Heestermans
I will be out of the office starting 27/02/2008 and will not return until 28/02/2008. I will respond to your message when I return. For urgent issues, contact WebSphere Support group. - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: SQL task and resource collections ...

2008-02-26 Thread Matt Benson
Pardon the top post, all. We have had trouble here and there with the difference between "no resources specified" (an error to be reported) and "no resources found" (usu. ignore and continue). This sounds like that kind of situation and I will try to look into it. As for your question about an e

Re: SQL task and resource collections ...

2008-02-26 Thread John Shott
Steve: Thanks for your informative response and your suspicion that I may have a problem with the size() of my fileset. Since I can't seem to find a simple method of trying to test the size of my fileset, in advance of my call of the sql task, I've now tried to modify my target to first crea

Re: env.COMPUTERNAME not working in linux

2008-02-26 Thread Chuck Holzwarth
Maybe I am missing something, but the simplest fix may be just to set an environment variable named COMPUTERNAME during login on the Unix/Linux system and it will be available to env. Sometimes things get more complicated than is necessary... Chuck Holzwarth - Original Message Fro

Re: env.COMPUTERNAME not working in linux

2008-02-26 Thread David Weintraub
There really isn't a standard environment variable name for storing the system name on the various flavors of Unix. This is usually set when users log in. Some shells do set the environment variable HOSTNAME, but not all. Even on Windows, the environment variable COMPUTERNAME cannot be trusted beca

How can we use the checksum task (or another ant task) to compare that the ftp worked

2008-02-26 Thread Vijay Aravamudhan
hi, We have a client where a build process creates artifacts (jar, exe) and uses the scp task to copy them over to an ftp server. Once this process completes, an email is sent to the offshore team asking them to verify that the file sizes (obtained from the build machine) are the same for each

Re: env.COMPUTERNAME not working in linux

2008-02-26 Thread Gilbert Rebhan
Hi, Samuel Monsarrat wrote: >> Is COMPUTERNAME only for windows? Is there any workaround to print the >> hostname(Linux)? >> > Indeed yes COMPUTERNAME is a Windows standard env variable that does not > exist on linux. env. is dangerous in a multi-os build system, as you > are accessing the

Re: how to detect failed build

2008-02-26 Thread Donald McLean
I recommend TeamCity. We bought a license and I haven't regretted it even for one second. Vijay Aravamudhan wrote: hi, I have also seen some clients who use ant's MailLogger to notify interested parties of failed builds - in case you have a wide audience. btw: are you running inside a CI env

Re: env.COMPUTERNAME not working in linux

2008-02-26 Thread Vijay Aravamudhan
Is COMPUTERNAME only for windows? Is there any workaround to print the hostname(Linux)? The end of that statement is misleading - are you looking for the hostname or the host OS? Or is your machine named 'Linux'? Vijay Ramu Sethu wrote: Hi We have a build script which runs in both windows

Re: how to detect failed build

2008-02-26 Thread Vijay Aravamudhan
hi, I have also seen some clients who use ant's MailLogger to notify interested parties of failed builds - in case you have a wide audience. btw: are you running inside a CI environment? If not, try CruiseControl, Hudson, Bamboo or TeamCity. Depending on whether you want an open source tool o

Re: env.COMPUTERNAME not working in linux

2008-02-26 Thread Samuel Monsarrat
Ramu Sethu wrote: Hi We have a build script which runs in both windows and Linux m/c. Recently i added property to print the computer name of the m/c in which the script runs. Is COMPUTERNAME only for windows? Is there any workaround to print the hostname(Linux)? Indeed yes COMPUTERNAME is a

Re: problem with the fileset

2008-02-26 Thread Ramu Sethu
we couldn't see ur build file.. Its also difficult to guess your build file :-) On Fri, Feb 22, 2008 at 8:05 PM, sekhar18k <[EMAIL PROTECTED]> wrote: > > hi., > > I am developing an ANT build script for downloading log file from the > server. > The build script used is : > > > > > > > > >

Re: env.COMPUTERNAME not working in linux

2008-02-26 Thread Peter Reilly
>From a console, run the command "env" to see the environment variables. On unix/linux the env variable "HOSTNAME" is normally used to get the name of the computer. (Although on my current machine this is "localhost.localdomain"). Peter On Tue, Feb 26, 2008 at 2:09 PM, Ramu Sethu <[EMAIL PROTEC

env.COMPUTERNAME not working in linux

2008-02-26 Thread Ramu Sethu
Hi We have a build script which runs in both windows and Linux m/c. Recently i added property to print the computer name of the m/c in which the script runs. In windows everything is fine. Ant sets the property to the hostname in windows. But in Linux it prints the hostname like "${env.COMPUTERN

Re: SQL task and resource collections ...

2008-02-26 Thread Steve Loughran
John Shott wrote: Ant community: I'm trying to upgrade my build.xml to be ant 1.7.0 compatible and seem to be stumbling on changes in the SQL task related to resource collections. I have been trying: keepformat="true" delimiter="/" escapeprocessing="false" print="true"

AW: how to detect failed build

2008-02-26 Thread Jan.Materne
A build failed if a task throws an exception, usually a BuildException. is a task for throwing a BE. When a BE occurs Ant stops executing the build process a returns with an error code != 0. With you could provide the error code. Jan > -Ursprüngliche Nachricht- > Von: Md. Jahidul Has

how to detect failed build

2008-02-26 Thread Md. Jahidul Hasan
is there any task / properties which can be use to track the build failed or not. I don't want to extend any ant class for this task. Is there any built in task ? :Hasan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional