Re: newbie question regarding setting environment variables

2008-07-04 Thread supareno
Frank, can you give us the result of 'ant -diagnostics' or 'ant -diagnostics | grep tools' to see tools.jar is in your path if not, what is the result of 'echo $JAVA_HOME'? to set your JAVA_HOME: edit your bashrc file vi ~/.bashrc add these lines at the end your bashrc file ... PATH=//bin:

Re: removing and installing application gives exception

2008-07-04 Thread supareno
sandyg, you don't have to write 'plz giv...'. don't worry, someone will answer :-) so, i know that the remove task is deprecated [1]. it is better to use the undeploy task like this: [1] http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/catalina/ant/RemoveTask

newbie question regarding setting environment variables

2008-07-04 Thread Frank Gunseor
I have ant install on Ubuntu 8.04. When I try to run ant I get an error message, "Unable to locate tools.jar, etc.". I expect that I have to set JAVA_HOME, but for the life of me I can not figure out where or how. I have checked the manual, the FAQ, etc. I guess I'm just being dense today. Can

Re: ivy:resolve & latest.status

2008-07-04 Thread Xavier Hanin
On Fri, Jul 4, 2008 at 11:50 AM, Hans Lund <[EMAIL PROTECTED]> wrote: > On Thu, 2008-07-03 at 21:22 +0200, Xavier Hanin wrote: > > On Tue, Jul 1, 2008 at 5:58 PM, Hans Lund <[EMAIL PROTECTED]> wrote: > > > > > I'm trying to resolve dependencies using specified a specified status > > > > > > having

removing and installing application gives exception

2008-07-04 Thread sandyg
Hi, i got the follow exception when using this code. every thing is running fine in above code. when i am removing the application using remove target it runs fine but w

Re: ivy:resolve & latest.status

2008-07-04 Thread Hans Lund
On Thu, 2008-07-03 at 21:22 +0200, Xavier Hanin wrote: > On Tue, Jul 1, 2008 at 5:58 PM, Hans Lund <[EMAIL PROTECTED]> wrote: > > > I'm trying to resolve dependencies using specified a specified status > > > > having the following in settings. > > > > > > > > > > > >

Re: ant home path

2008-07-04 Thread sandyg
Hi, Supareno I got hte solution by giving in this way i got the solution. once again tnx for the help. supareno wrote: > > have you try with the ${warname} for the war param... > you don't have to write 'file:.\' > > this example works well > > > usernam

Referencing command line args?

2008-07-04 Thread Roman Kennke
Hi there, is it possible to define command line args for the exec and apply tasks elsewhere and reference them, just like is possible with path-like structures in other commands? This would be very helpful to avoid duplication in a project that I'm implementing. So far, the only option is to use p