AW: AW: Setting classpath for nested ant call

2008-09-10 Thread Knuplesch, Juergen
Just create the right classpath in the calling task using sth like: Then you use this classpath in the compile task using refid. You will have the refid your.classpath becaus you use inheritrefs=true in your -call Consult the manual for durther details. --

AW: Custom element for jar task.

2008-09-10 Thread Knuplesch, Juergen
Hello, The error you get tells simply, that your created task is not an allowed subelement of the jar-task. You run into a syntax error. It is not possible to change the jar task (or any other task) by adding your own tasks as subelements. Probably you have to write your own jar-task, that wi

Re: AW: Setting classpath for nested ant call

2008-09-10 Thread merlin_the_happy_pig
The nested ant call fails because of compilation errors (classpath wrong!). So I need to set the classpath in the ant call of the calling build.xml, but can't seem to get this to work? Knuplesch, Juergen wrote: > > Hello, > > What fails? > A task or the whole ant? > > You can set the classpa

Re: svn-ant how to get latest revision?

2008-09-10 Thread Fu-Tung Cheng
Thanks for the reply. You are correct you can checkout using the "HEAD" tag. This doesn't fulfill my requirements. What I am trying to do is to create a build with the latest but also save the version number of each module in the build so that I could reproduce this build again in the future.

Custom element for jar task.

2008-09-10 Thread John5342
Hi, I have a rapidly evolving project which contains a large and varying number of service providers. I was hoping to create to create a more specialized version of the service element that automatically scans for providers in a give classpath but have run into some trouble asuming what i want to

Re: Unzip task question

2008-09-10 Thread Hans Schwaebli
Thank you. I will try this. --- On Wed, 9/10/08, Stefan Bodewig <[EMAIL PROTECTED]> wrote: From: Stefan Bodewig <[EMAIL PROTECTED]> Subject: Re: Unzip task question To: user@ant.apache.org Date: Wednesday, September 10, 2008, 8:44 AM On Wed, 10 Sep 2008, Hans Schwaebli <[EMAIL PROTECTED]> wrote:

Re: Unzip task question

2008-09-10 Thread Stefan Bodewig
On Wed, 10 Sep 2008, Hans Schwaebli <[EMAIL PROTECTED]> wrote: > I want to unzip a part of the zip file. > > For example in the zipfile there are these folders: > > -a >  -b >  -c >  -d >   -e >  -f > > I want just folder "e" to export. But if I do, then it creates the > whole structure in the

Re: Erro while retriving postgres jar from maven repo

2008-09-10 Thread Adrian Woodhead
It would be helpful if you could provide the relevant fragments of your ivy files so we can see how you have set things up. Guilherme Namen Pimenta wrote: When i configure ivy to retrive postgresql 8.3-603.jdbc3 from maven repo, ivy download and put the jar source not the jar with class files.

Unzip task question

2008-09-10 Thread Hans Schwaebli
I want to unzip a part of the zip file. For example in the zipfile there are these folders: -a  -b  -c  -d   -e  -f I want just folder "e" to export. But if I do, then it creates the whole structure in the output folder: -a  -d   -e I use:                

Re: svn-ant how to get latest revision?

2008-09-10 Thread Grzegorz Słowikowski
Hi This is fragment from my script: destPath="${checkout.dir}" recurse="${recurse}" /> Use "HEAD" value for "${revision}" for latest version. Svn tasks are doing their job fine in my opinion, no need for Maven. Grzegorz Slowikowski Fu-Tung Cheng wrote: Hi, I am trying to