By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,044 Members | 1,291 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,044 IT Pros & Developers. It's quick & easy.

Specifying CLASSPATH while calling Ant from a Servlet

P: n/a

I'm having trouble specifying the classpath (to Ant) when I'm running
Ant from within a servlet. Whatever directory I try to specify, Ant is
trying to build the path starting at c:\ on my Win 2K machine.

I would like for the Ant to pick up CLASSPATH from my servlet's JVM;
because in a true server environment I'd not know the complete path
(starting at c:\) to the directory where my jars exist.

Any help in this regard is greatly appreciated. Thanks.

-- Sri
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.