AW: Can we load task into Ant Core classloader

2007-10-18 Thread Rainer Noack
You can found that task at: http://enitsys.sourceforge.net/ant-classloadertask/ cheers Rainer Noack -Ursprüngliche Nachricht- Von: Steve Loughran [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 11. Oktober 2007 13:41 An: Ant Users List Betreff: Re: Can we load task into Ant Core class

Ant - invoke a servlet?

2007-10-18 Thread Rob Wilson
Hi All, I plan to have a servlet that is invoked via JSP to upload some files to a dynamic website, I would like to enable my Ant build to make use of this servlet too. Is this possible? Could someone please shed some light on how this can be achieved? Perhaps I can't do it as a servlet and need

Junit tasks with TestSuite

2007-10-18 Thread Sumit.Srivastava
Hi All, I am using Junit task for the Unit testing , following is my task fileset dir="${src.

Virtual Ant Released - Revolutionary new GUI for Ant !

2007-10-18 Thread Prashant Deva
We have finally released Virtual Ant, a revolutionary new GUI for Ant. http://placidsystems.com/virtualant With Virtual Ant you no longer have to get your hands dirty with XML to create or edit Ant build scripts. Work in a completely virtualized environment similar to Windows Explorer and run yo

How do I strip off part of the file name when I do a ANT copy

2007-10-18 Thread Eric Wood
I have a bunch of templates that I expandproperties on to produce environment specific versions using the following code: The file name ( in the property ${current.file} ) contains the name "TEMPLATE" and I want to remove once I perform this move. For e

RE: symlink - which ant jar do I need?

2007-10-18 Thread Wayne Cruz
Tanguy- I'll try using an task to run a "which ln" command - good idea! I've already gone ahead and used an task to delete the symbolic link. Deleting a symbolic link is what I've wanted to all along and I was hoping to use the symlink delete option to do so. Is there possibly a problem w

RE: symlink - which ant jar do I need?

2007-10-18 Thread RADEMAKERS Tanguy
Wayne, No, if ln is installed, it *should* work just fine. By "on the path" it just means that the system can find the ln command (i.e. "which ln". In fact, try using an task to run the "which ln" command - this will show you that ln is installed and that the ant process can find it...). Note t

RE: symlink - which ant jar do I need?

2007-10-18 Thread Wayne Cruz
Tanguy- Yes, I am running under Linux and "ln" is installed on the machine, i.e. I am able to manually execute "ln" commands. Do I need to add the path to "ln" to my classpath? Thanks, Wayne At 02:09 AM 10/18/2007, you wrote: it's "ln" (ie "LN" in lower case). It's the executable which yo

Re: Fwd: Ant - invoke a servlet?

2007-10-18 Thread Rob Seegel
You might also consider writing a custom task to get what you're looking for. It wouldn't take much code at all to create a thin wrapper around httpclient to upload files. The following article might be helpful: http://www.theserverside.com/tt/articles/article.tss?l=HttpClient_FileUpload Rob

Re: Fwd: Ant - invoke a servlet?

2007-10-18 Thread Rob Wilson
Hi Steve, Thank you for your reply, I found the HTTP library you mention, inside the 'sandbox' SVN repositories (for future reference). SVN Url is http://svn.apache.org/repos/asf/ant/sandbox/antlibs/http/trunk Out of curiousity, is there a location with pre-built jars that I could have used? I

[Ant task] Calling different targets by passing it to a batch file

2007-10-18 Thread Dharmesh Vyas
Hello, I have a batch file ABC.bat, which I use to set ant path and run the build file. ABC.bat contents are somewhat like: rem Set Ant path over here ant -verbose -buildfile "RunBuild.xml" %1 -emacs I have few targets for e.g A, B, C, D in my build file RunBuild.xml. These targets are my defaul

RE: symlink - which ant jar do I need?

2007-10-18 Thread RADEMAKERS Tanguy
it's "ln" (ie "LN" in lower case). It's the executable which you use to create symlinks. Basically, all the task does is call this executable, so you have to have it installed on your machine. Once again: you're running this on Unix or Linux, right? /t >-Original Message- >From: Wayne

Re: Fwd: Ant - invoke a servlet?

2007-10-18 Thread Steve Loughran
Rob Wilson wrote: Hi All, I plan to have a servlet that is invoked via JSP to upload some files to a dynamic website, I would like to enable my Ant build to make use of this servlet too. Is this possible? Could someone please shed some light on how this can be achieved? The task does a get.