File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Ant, Maven and Other Build Tools
ant - directory permission with <mkdir>
Joined: Apr 08, 2004
Sep 07, 2012 00:41:45
<chmod perm="777" dir="hello" type="dir" includes="**" failonerror="hello"/>
How to set the directory permission for particular directory created using mkdir command ?
Joined: Oct 21, 2008
Sep 07, 2012 06:23:49
Joined: May 14, 2008
Sep 07, 2012 12:54:22
Actually, the page specific to chmod might be better:
But then, the
code you posted should work. If it doesn't, try removing the 'includes' and 'failonerror' properties.
What is the problem you are having with your code?
Also, you are running this on Linux, right?
JBoss In Action
I agree. Here's the link:
subject: ant - directory permission with <mkdir>
running jar file error:
New to WL8.1
[ant] copy, creating directories as needed
Ant: How to place resource files into bottom of package level structure?
Build problem when including third party jars in classpath using ant
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014