Re: Continu exec task, while leaving ant

2008-07-07 Thread Olivier Gies
That's right sorry, I'm too much used to the task, never realized that had such problem ... form ant-contrib seems to do the trick indeed. *Olivier Gies* *Delivery Manager Customs & Tax Software Engineering Center Bull, Architect of an Open World ^TM Phone: +86 (10) 65978001 - Ext 555 * *

Re: Continu exec task, while leaving ant

2008-07-07 Thread Gilbert Rebhan
jantje schrieb: Hi there, is it possible to start (in ant) something in a shell and let this running, while stopping ant. f.i: with antcontrib ... you may kick off a new process, see = http://ant-contrib.sourceforge.net/tasks/tasks/forget.html Regards, Gilbert -

RE: Perform task as the root user

2008-07-07 Thread Anderson, Rob (Global Trade)
>From the error message... Action: Check that the appropriate optional JAR exists in -/usr/local/apache-ant/bootstrap/lib -/home/afstudeerwerk/.ant/lib -a directory added on the command line with the -lib argument -Rob A -Original Message- F

RE: Perform task as the root user

2008-07-07 Thread jantje
Yes, use sudo, and then perform something.. So far I have found this solution: But I have problems, ant does not accept this: jsch-0.1.39.jar I get this error, and follow these instructions.. But the error keeps on coming :-( /home/afstudeerwerk/project/build.xml:191: Proble

RE: Misleading error message from tar task

2008-07-07 Thread Anderson, Rob (Global Trade)
Search the bug database to see if someone has already reported the issue. If it has not been reported, enter a new bug in the bug database. If you would like to fix it yourself, get the source and create a patch file. Attach the patch to the bug. -Rob A -Original Message- From: Jeremy Ha

RE: Perform task as the root user

2008-07-07 Thread Anderson, Rob (Global Trade)
You probably want to use the exec task to run the sudo command. -Rob A -Original Message- From: jantje [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 7:07 AM To: user@ant.apache.org Subject: Perform task as the root user Hi, Is it possible to perform a tast as the root user? (O

Re: Perform task as the root user

2008-07-07 Thread Scot P. Floess
Yes - you can do this... Just need to make sure you root environment has the appropriate environment set up - ant and java for example. But as always, be careful what you do as root :) On Mon, 7 Jul 2008, jantje wrote: Hi, Is it possible to perform a tast as the root user? (On a linux syst

RE: Continu exec task, while leaving ant

2008-07-07 Thread jantje
Thanks, but the task does not have an fork attribute in the documentation. And when just implementing this, I get the next error: BUILD FAILED /home/afstudeerwerk/project/build.xml:194: exec doesn't support the "fork" attribute Olivier Gies wrote: > > Use the "spawn" and "fork" attributes

Perform task as the root user

2008-07-07 Thread jantje
Hi, Is it possible to perform a tast as the root user? (On a linux system?) -- View this message in context: http://www.nabble.com/Perform-task-as-the-root-user-tp18317538p18317538.html Sent from the Ant - Users mailing list archive at Nabble.com. -

RE: Continu exec task, while leaving ant

2008-07-07 Thread Olivier Gies
Use the "spawn" and "fork" attributes of task (see Ant User manual for usage) -Message d'origine- De : jantje [mailto:[EMAIL PROTECTED] Envoyé : lundi 7 juillet 2008 20:45 À : user@ant.apache.org Objet : Continu exec task, while leaving ant Hi there, is it possible to start (in ant) so

Continu exec task, while leaving ant

2008-07-07 Thread jantje
Hi there, is it possible to start (in ant) something in a shell and let this running, while stopping ant. f.i: So "ant emulateProjectIso" starts, thr program qemu eulates the cd.. qemu is still running, but ant has stopped.. -- View this message in context: h

Re: newbie question regarding setting environment variables

2008-07-07 Thread Henning Bredel
> I expect that I have to set JAVA_HOME, but for the life of me I can not > figure out where or how. For a session you can type JAVA_HOME= Note that you have to set the path to your JDK, not the JRE. Setting the path permanent, you can alter your ~/.profile (in your /home/ dir). Type here at

RE: newbie question regarding setting environment variables

2008-07-07 Thread Frank D. Gunseor
supareno, Thank you! Thank you! Thank you! That was exactly what I needed. I have got to get back to thinking in Linux! Windows ruined me! Again, after following your directions, it worked perfectly. FDG -Original Message- From: supareno [mailto:[EMAIL PROTECTED] Sent: Friday, July 0