Re: storing optional (ftp) task jar dependency under my project instead of under /ant/lib

2005-07-13 Thread Peter Reilly
Asle Pedersen wrote: Ok, in that case alt.3 is not very attractive afterall. I don't know if it is just me but I prefer do embed this type of behaviour in the build.xml and project itself. Indeed, I would argue that the whole idea of spitting the optional ant tasks into a relatively large n

Re: storing optional (ftp) task jar dependency under my project instead of under /ant/lib

2005-07-12 Thread Asle Pedersen
Ok, in that case alt.3 is not very attractive afterall. I don't know if it is just me but I prefer do embed this type of behaviour in the build.xml and project itself. I have had similar problems with system environment variables in particular charset encodings which need to be set outside of the

Re: storing optional (ftp) task jar dependency under my project instead of under /ant/lib

2005-07-12 Thread Ivan Ivanov
Asle, --- Asle Pedersen <[EMAIL PROTECTED]> wrote: > I prefer alt.3 and try using taskdefs before without > success. I did > try it again now also not successfully. Could you > please supply me > with a complete working example? I've implemented this approach only once for , because I was only cu

Re: storing optional (ftp) task jar dependency under my project instead of under /ant/lib

2005-07-12 Thread Peter Reilly
Asle Pedersen wrote: I prefer alt.3 and try using taskdefs before without success. I did try it again now also not successfully. Could you please supply me with a complete working example? This is how my (non-working) build.xml looks like now: (both .jar files are placed in the lib directory un

Re: storing optional (ftp) task jar dependency under my project instead of under /ant/lib

2005-07-12 Thread Asle Pedersen
I prefer alt.3 and try using taskdefs before without success. I did try it again now also not successfully. Could you please supply me with a complete working example? This is how my (non-working) build.xml looks like now: (both .jar files are placed in the lib directory under the basedir)

Re: storing optional (ftp) task jar dependency under my project instead of under /ant/lib

2005-07-12 Thread Ivan Ivanov
Asle, You have several other alternatives to keep your ant distribution clean of external libs: 1) Put commons-net-1.1.0.jar in $HOME\.ant\lib (my favourite way) 2) Place it an arbitrary directory say /path/to/thirdparty/jars and use -lib option of ant launching script. 3) (Requires more coding a

storing optional (ftp) task jar dependency under my project instead of under /ant/lib

2005-07-12 Thread Asle Pedersen
Is it possible to "embed" the ant ftp task in a project. I would like to just depend on a standard ant-installation to use the ftp task and have the commons-net-1.1.0.jar in my project instead of under /ant/lib which is suggested by the documentation. I have tried different methods to do this but n