>>>>> "Yexing" == Yexing Yang <Yang> writes:
Yexing> Hi,
Yexing> I am trying using Struts , but i encountered a problem after I installed
Yexing> ant, when I use
Yexing> build command (build -Ddist.dir=<directory_to_contain_Ant_distribution>
dist
Yexing> )
Yexing> for building ant, I got "access denied" error, I have set up the class_path
Yexing> correctly,
Yexing> so could someone give some advice. Really appreciated.
Well, the first piece of advice I will give you is to not write a new note in
reply to another note, as it tends to confuse the subscribers, and tends to
make it less likely someone will read and respond to your question. Some
people read mailing lists as "threads", and pay more attention to the titles of
base notes, and might not notice a note about a completely different subject
written in reply to a base note.
Wrt your problem, I assume you're doing this on Windows. You get "access
denied" in Windows when you try to delete or overwrite a file that is currently
opened by some other application. You first need to figure out what
file/directory you are getting access denied on. Second, it would be useful to
install a tool called "Process Explorer", which you can get for free from
<http://www.sysinternals.com>. Assuming you can figure out what file you're
getting "access denied" on, you can use "Process Explorer" to see what
application has that file open.
I would also question whether you phrased your question correctly. You say you
are using Ant for building Ant. I assume you meant you're trying to use Ant to
build Struts.
And finally, you don't need to BUILD struts normally, you can just use the
binary distribution.
--
===================================================================
David M. Karr ; Best Consulting
[EMAIL PROTECTED] ; Java/Unix/XML/C++/X ; BrainBench CJ12P (#12004)