AW: AW: AW: Setting and debugging class paths

2006-05-15 Thread Jan.Materne
>> Why do you put libs in ANT_HOME/lib ? >> All classes there are added to Ants classpath by Ants launcher class. >> And only tasks and external libraries for tasks make little sence here. > >Because the ant library folder is the obvious place to >put custom ant tasks. Ok, thats new - you are s

exit from the script running in the remote machine using sshexec

2006-05-15 Thread Venkatesh Vijayakumar04
Hi all I want to execute commands in the remote machine from ant.i used sshexec for execution, but what happens is, it establishes connection and executes commands successfully but the problem is the control is not returning to the ant build scripts once all the commands in the shell scripts ar

RE: compiler References in task

2006-05-15 Thread jason heddings
That did it, thanks! I ended up using the antlib.xml to get the definitions in the same import... Thanks, --jah -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Monday, 15 May, 2006 03:49 To: Ant Users List Subject: Re: compiler References in task jason hedding

Re: AW: AW: Setting and debugging class paths

2006-05-15 Thread Tommy Nordgren
On 15 maj 2006, at 19.42, Dominique Devienne wrote: [...] javac might find a previous version of any implementation classes used Look up the 'includeAntRuntime' and 'includeJavaRuntime' attributes of . I always used false for these myself. --DD This will work in most cases, but for t

Re: AW: AW: Setting and debugging class paths

2006-05-15 Thread Dominique Devienne
[...] javac might find a previous version of any implementation classes used Look up the 'includeAntRuntime' and 'includeJavaRuntime' attributes of . I always used false for these myself. --DD - To unsubscribe, e-mail: [EMAIL

RE: exit from the script running in the remote machine using sshexec

2006-05-15 Thread Anderson, Rob (Global Trade)
I'm not sure that the bug fix mentioned will help you. I believe in your case the opposite is happening. The bug fix was to not close stdout when executing sshexec tasks, so that multiple sshexec tasks can send output to the console. The issue you are having seems to be that stdout or stderr remain

Re: AW: AW: Setting and debugging class paths

2006-05-15 Thread Tommy Nordgren
On 15 maj 2006, at 15.59, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: Inside the buildfile you could use s, e.g. I have tested this. It does not work. I tested by creating a dummy class, and installing it's jar in the standard ant library directory. Even when I explicitly tell

AW: AW: Setting and debugging class paths

2006-05-15 Thread Jan.Materne
>> Inside the buildfile you could use s, e.g. >> >> >> > classpathref="classpath"/> >I have tested this. It does not work. I tested by >creating a dummy class, and installing it's jar in the >standard ant library directory. Even when I explicitly tell >ant to ignore this jar in the

Re: AW: Setting and debugging class paths

2006-05-15 Thread Tommy Nordgren
On 15 maj 2006, at 13.15, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: Is there any ant task available that can display a class path, to verify that class path settings are correct. Also, are there any good reference texts available on setting the class path for Ant tasks - in particular,

Re: compiler References in task

2006-05-15 Thread Dominique Devienne
You need to make sure that they are loaded by the same classloader; giving them the same path doesnt guarantee this, and once in separate classloaders, the tasks cannot cast the reference to the types they expect. Or drop cpptasks.jar in ANT_HOME/lib, and use XML namespaces with the auto-ma

Re: Setting and debugging class paths

2006-05-15 Thread Tommy Nordgren
I checked the krysalis link. That task won't work. In order to test wether an attempt to set the class path fails or succeeds, it is obviously necessary to use a task WITH a nested class path element. On 15 maj 2006, at 13.09, Rémon van Gijn wrote: Checkout add-ons like : http://www.krysalis

AW: Setting and debugging class paths

2006-05-15 Thread Jan.Materne
>Is there any ant task available that can display a class path, >to verify that class path settings are correct. >Also, are there any good reference texts available on setting >the class path for Ant tasks - in particular, I can't find >anything that suggests how to do the >following: >Set the c

RE: Setting and debugging class paths

2006-05-15 Thread Rémon van Gijn
Checkout add-ons like : http://www.krysalis.org/version/ant/environment-check.html or xalan-environmentcheck Met vriendelijke groet, Rémon van Gijn -Original Message- From: Tommy Nordgren [mailto:[EMAIL PROTECTED] Sent: maandag 15 mei 2006 13:04 To: Ant Users List Subject: Setting a

Setting and debugging class paths

2006-05-15 Thread Tommy Nordgren
Is there any ant task available that can display a class path, to verify that class path settings are correct. Also, are there any good reference texts available on setting the class path for Ant tasks - in particular, I can't find anything that suggests how to do the following: Set the class

RE: exit from the script running in the remote machine using sshexec

2006-05-15 Thread Venkatesh Vijayakumar04
Even if I add touch task no use, because control is not returning to the script. -Original Message- From: Venkatesh Vijayakumar04 [mailto:[EMAIL PROTECTED] Sent: Monday, May 15, 2006 3:06 PM To: Ant Users List Cc: [EMAIL PROTECTED] Subject: RE: exit from the script running in the remote m

Re: compiler References in task

2006-05-15 Thread Steve Loughran
jason heddings wrote: Hello- I have the following build file and I'm not sure what I'm missing: You need to make sure that they are loaded by the same classloader; giving them the same path doesnt guarantee this, and once in separate classloaders, the tasks cannot cast the reference

RE: exit from the script running in the remote machine using sshexec

2006-05-15 Thread Venkatesh Vijayakumar04
In which version the stdout closing bug has been fixed. Please give me the link for downloading the corresponding version of ant where the above bug has been fixed. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Atsuhiko Yamanaka Sent: Monday, May 15, 20

RE: exit from the script running in the remote machine using sshexec

2006-05-15 Thread Venkatesh Vijayakumar04
Apache ant 1.6.1 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Atsuhiko Yamanaka Sent: Monday, May 15, 2006 2:57 PM To: Ant Users List Subject: Re: exit from the script running in the remote machine using sshexec Hi, Which ant version are you using? T

Re: exit from the script running in the remote machine using sshexec

2006-05-15 Thread Atsuhiko Yamanaka
Hi, Which ant version are you using? There was a bug that stdout will be closed after "sshexec" task. How about adding "touch" task? Will it be invoked? 2006/5/15, Venkatesh Vijayakumar04 <[EMAIL PROTECTED]>: That stdout-closing bug has been fixed in the nightly snapshot. --

RE: exit from the script running in the remote machine using sshexec

2006-05-15 Thread Venkatesh Vijayakumar04
startapp.sh nohup ./startWebLogic.sh > smile-appserver.log & exit -Original Message- From: Venkatesh Vijayakumar04 Sent: Monday, May 15, 2006 2:36 PM To: '[EMAIL PROTECTED]' Subject: FW: exit from the script running in the remote machine using sshexec I tried the below command It

AW: exit from the script running in the remote machine using sshexec

2006-05-15 Thread Jan.Materne
Does the './startapp.sh' exit? Could you do an echo statement in your 'Connectt.sh' script for verifying that? Jan >-Ursprüngliche Nachricht- >Von: Venkatesh Vijayakumar04 [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 15. Mai 2006 10:36 >An: user@ant.apache.org >Betreff: exit from the sc

exit from the script running in the remote machine using sshexec

2006-05-15 Thread Venkatesh Vijayakumar04
Hi all I want to execute commands in the remote machine from ant.i used sshexec for execution, but what happens is, it establishes connection and executes commands successfully but the problem is the control is not returning to the ant build scripts once all the commands in the shell scripts ar