Re: How to use ant in web application without system path setup under linux

2007-08-12 Thread David Weintraub
Why not get a USB flash drive and install Ant on that? That way, if you go to a PC without Ant, you can simply insert your USB flash drive into the PC and run Ant from there. I do that with the Apache web server. Another possibility is to install Ant into your Subversion project. When you checkout

Re: How to use ant in web application without system path setup under linux

2007-08-12 Thread 贾昊林/Albert Jia
Hi,Bill Thanks for your reply. If I do not want to install ant, just want to use it in my project. I am not sure whether I express myself clearly.I am sorry that I am not english speaking. I just want to use it with my project.If I check out the source from subversion at another PC which do no

Re: How to use ant in web application without system path setup under linux

2007-08-12 Thread Bill Rich
You might try setting the ANT_HOME env variable and adding the /bin dir of ANT_HOME to your PATH var. I have both of those set on my machine from the installation of ANT. HTH Bill 贾昊林/Albert Jia wrote: Hi,David Thanks for your reply. But sometimes, I have to code between different workstatio

Re: How to use ant in web application without system path setup under linux

2007-08-12 Thread 贾昊林/Albert Jia
Hi,David Thanks for your reply. But sometimes, I have to code between different workstations, and these workstations sometimes just installed jdk without ant. In order to work anytime without spending time to install ant, I want to use ant.jar directly. that's why I asked this question. Thanks.

Re: How to use ant in web application without system path setup under linux

2007-08-12 Thread Qazwart
I'm not sure why you cannot simply install Ant as a complete package. I haven't used CentOS, but I know Ant installs with no problems on Redhat. And, you can install Ant completely local to your $HOME directory. The Ant binary distribution runs under any system that has JDK 1.4 or greater

How to use ant in web application without system path setup under linux

2007-08-12 Thread 贾昊林/Albert Jia
hi, I want to use ant in my web application,but I do not have ant installed in my OS(centOS5). So,I copy ant.jar,ant-launcher.jar and ant-junit.jar to /app/devlib,then write a shell like below to run ant tasks code: #!/bin/sh export APP_HOME=/home/saharabear/workspace/jpetstore export BUILD_CP