Apache Ant Build command "Access Denied"

Posted by Luis Armando on Stack Overflow See other posts from Stack Overflow or by Luis Armando
Published on 2009-04-07T05:33:12Z Indexed on 2010/04/13 2:03 UTC
Read the original article Hit count: 628

Filed under:
|
|
|

Hey! I am trying to get ant installed and actually already did following this instructions however, I get this error:

Buildfile: build.xml does not exist!
Build failed

which it says there I might get so I just tried executing the next command it says I should(since I'm under Windows it's this one):

build -Ddist.dir=<C:\Ant> dist

anyway I get "access denied" when hitting enter and I can't figure out why. I also tried

build install

and

build install-lite

but I always get that message =/ any ideas why? or what am I doing wrong?


Edit

Without the < > I get a:

'build' is not recognized as an internal or external command, operable program or batch file.


Edit2 Well, my ANT_HOME is in C:\Ant and I'm trying to run the command while placing myself on that folder, isn't that correct?

© Stack Overflow or respective owner

Related posts about apache-ant

Related posts about error