A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Engineering
»
Ant, Maven and Other Build Tools
Author
ant - directory permission with <mkdir>
kri shan
Ranch Hand
Joined: Apr 08, 2004
Posts: 1303
posted
Sep 07, 2012 00:41:45
0
<mkdir dir="hello"/>
<chmod perm="777" dir="hello" type="dir" includes="**" failonerror="hello"/>
How to set the directory permission for particular directory created using mkdir command ?
Wendy Gibbons
Bartender
Joined: Oct 21, 2008
Posts: 1098
I like...
posted
Sep 07, 2012 06:23:49
0
Read this
http://ant.apache.org/manual/tasksoverview.html
Peter Johnson
author
Bartender
Joined: May 14, 2008
Posts: 5575
I like...
posted
Sep 07, 2012 12:54:22
0
Actually, the page specific to chmod might be better:
http://ant.apache.org/manual/Tasks/chmod.html
But then, the
Ant
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:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: ant - directory permission with <mkdir>
Similar Threads
[ant] copy, creating directories as needed
running jar file error:
New to WL8.1
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