Re: path problems in build.xml

2009-09-09 Thread Greg Roodt
Ok, my last guess would be you need JAVA_HOME= /usr/lib/jvm/java. On Wed, Sep 9, 2009 at 11:02 PM, Kerry Scott wrote: > Thanks Greg but.. > when I do that it can't find tools.jar which is in /usr/lib/jvm/java/lib > > > -Original Message- > From: Greg Roodt > Reply-to: "Ant Users List"

Re: path problems in build.xml

2009-09-09 Thread Kerry Scott
Thanks Greg but.. when I do that it can't find tools.jar which is in /usr/lib/jvm/java/lib -Original Message- From: Greg Roodt Reply-to: "Ant Users List" To: Ant Users List , kerry.sc...@talktalk.net Subject: Re: path problems in build.xml Date: Wed, 9 Sep 2009 22:19:00 +0100 Hi I thi

Re: path problems in build.xml

2009-09-09 Thread veena pandit
Anybody want to take a shot at my problem? When I do ant compile.service on the command line, I get an error saying that it cant find the import. Thanks, Sonia On Wed, Sep 9, 2009 at 5:19 PM, Greg Roodt wrote: > Hi > > I think you've answered your own question. Its looking for a JDK, but your

Re: path problems in build.xml

2009-09-09 Thread Greg Roodt
Hi I think you've answered your own question. Its looking for a JDK, but your JAVA_HOME references the JRE. Try setting JAVA_HOME to /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0 Greg On Wed, Sep 9, 2009 at 10:20 PM, Kerry Scott wrote: > Hi > I have problems running Ant and I am sure that it is

Re: path problems in build.xml

2009-09-09 Thread Kerry Scott
Hi I have problems running Ant and I am sure that it is somehow a PATH problem but I have wrestled it to my death for 48 hours and would love some ideas. Platform - Mandriva Linux 2009 which has an Ant RPM - I have deleted it and tried to use the version downloaded - it didn't come with Ant but Ant

Re: path problems in build.xml

2009-09-09 Thread veena pandit
This is my complete build.xml; when I execute ant compile.service it complains about the package. Thanks, Sonia <*taskdef name="java2wsdl" classname="org.apache.ws.java2wsdl.Java2WSDLTask" classpathref="axis2.classpath"/> * http://quickstart.sample

Re: path problems in build.xml

2009-09-09 Thread Avlesh Singh
The classpathref="axis2.classpath" attribute you have used for the javac task, needs to be defined prior to using it. Cheers Avlesh On Wed, Sep 9, 2009 at 9:34 PM, veena pandit wrote: > I have the following in my build.xml, but it complains about an import: > * > > import* org.apache.axis2.uti

path problems in build.xml

2009-09-09 Thread veena pandit
I have the following in my build.xml, but it complains about an import: * import* org.apache.axis2.util.OptionsParser; I thought this class is part of the axis 2 package. Can anyone help me fix this? Thanks, Sonia

ant target and -D options to ant task

2009-09-09 Thread Raja Nagendra Kumar
Hi, I am looking for having ant build.xml //as part of this call I need to pass the command line options which used for invoking this ant When this ant is run using the command ant -Dprop=10 clean deploy -debug Then the callOther directory build.xml should be called exactly with the sam

Re: calculating relative paths

2009-09-09 Thread Andy Stevens
2009/9/9 : > The enhancement of seems to be good candidate. ... > > --> ../my/file.txt ../file.txt, surely? my/dir + .. -> my, my/dir + ../my -> my/my, my/dir + ../my/file.txt -> my/my/file.txt You might also like to add a test case for --> ../dir1/file.txt which I don't think is covered b

AW: calculating relative paths

2009-09-09 Thread Jan.Materne
I added that in rev812881. So it should be available with Ant 1.8.0 this year. Jan >-Ursprüngliche Nachricht- >Von: jan.mate...@rzf.fin-nrw.de [mailto:j

AW: calculating relative paths

2009-09-09 Thread Jan.Materne
>Perhaps I should raise an enhancement request. A couple of new >attributes "relative" (default false) and "basedir" (default >${basedir}) that can be used in conjunction with the "location" >attribute seem a relatively minor addition, and would reduce my >problem to relative="true" basedir="${bui