Urgent Help Required:Exec Issue with Suse Linux

2005-05-21 Thread Kapil Bajaj
Hi All I am facing an issue when I am trying to execute Ant Script in Suse Linux Environment. I am using Ant Version 1.6.1. I am using exec Tag in Build.xml to make connection to DB2 Database and then using Exec Tag again to execute a SQL File exec executable=db2 output=db2-nagano.txt

Re: Ant - javadoc -- fileset exclude not working

2005-05-21 Thread Antoine Levy-Lambert
Hello Brian, I am attempting to use the JavaDoc tag in an ant build as follows to create my JavaDoc. I have a small subset of public classes which I want to exclude from the final JavaDoc. Any suggestions as to why this may not be working Thanks, Brian

Re: Urgent Help Required:Exec Issue with Suse Linux

2005-05-21 Thread Alexey N. Solofnenko
If it works on a command line, write a batch script and execute it as cmd /c batch.bat. - Alexey. Kapil Bajaj wrote: Hi All I am facing an issue when I am trying to execute Ant Script in Suse Linux Environment. I am using Ant Version 1.6.1. I am using exec Tag in Build.xml to make

Re: Urgent Help Required:Exec Issue with Suse Linux

2005-05-21 Thread Paul Elschot
On Saturday 21 May 2005 18:50, Alexey N. Solofnenko wrote: If it works on a command line, write a batch script and execute it as cmd /c batch.bat. With an os=windows to the exec. For unix/linux on can use bash -c scriptname, or inline the script from within the build file using a (bracketed)

RE: Urgent Help Required:Exec Issue with Suse Linux

2005-05-21 Thread sten.rosendahl
Why not try this: exec executable=bash output=db2-nagano.txt append=true arg line=-c 'db2 -v CONNECT TO dummy USER db2admin USING db2pass db2 -f getNaganoInfo.sql' /exec Kapil Bajaj wrote: Hi All I am facing an issue when I am trying to execute Ant Script in Suse Linux

Re: path to ant

2005-05-21 Thread THUFIR HAWAT
On 5/20/05, Peter Reilly [EMAIL PROTECTED] wrote: Your ant is thus in /usr/share/ant. ... export ANT_HOME=/usr/local/ant export JAVA_HOME=/usr/java/jdk1.5.0_02 export PATH=${PATH}:${ANT_HOME}/bin seems to work, I think ant's working (although my build fails). this does not compute for me