Sorry,
I am calling ant from the Perl script , not the other way. I tried sourcing
.bashrc in perl using the dot command as mentioned by scot. But when I use
dot command I get 'shopt: not found' , so I changed that to source
/root/.bashrc. Then also I am not able to get it to work. I have tried the
Hi,
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, October 19, 2007 7:58 PM
To: user@ant.apache.org
Subject: Set property value via Java
/*
Is there a method for setting a property's value to the return value of
a Java program?
I have a Java progra
Hi Arun,
Sourcing your .bashrc from inside your perl script won't have the effect
you want. Have you tried Scott's advice? First source the .bashrc
then kick off ant.
`. /root/.bashrc`; <-- starts new shell, sets up environment for THAT
shell only, then disappears.
print "CATALINA_HOME =