ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Odd chmodding
Date Mon, 14 May 2001 06:13:59 GMT
Hi,

Someone just pointed out the below error they get when they run chmod task

<chmod dir="${dist.dir}" perm="go-rwx" />

For the life of me I can't see to figure out why it is allowing this when
jvm properties are

os.name=Windows 2000
os.version=5.0
file.separator=\
path.separator=;
line.separator=

Any ideas???

C:\jakarta-cvs\jakarta-avalon-phoenix\build.xml:361: Execute failed:
java.io.IOException: CreateProc 
ess: chmod go-rwx C:\jakarta-cvs\jakarta-avalon-phoenix\dist error=2 
--- Nested Exception --- 
java.io.IOException: CreateProcess: chmod go-rwx
C:\jakarta-cvs\jakarta-avalon-phoenix\dist error=2 
        at java.lang.Win32Process.create(Native Method) 
        at java.lang.Win32Process.<init>(Win32Process.java:66) 
        at java.lang.Runtime.execInternal(Native Method) 
        at java.lang.Runtime.exec(Runtime.java:551) 
        at java.lang.reflect.Method.invoke(Native Method) 
        at
org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher.exec(Execute.jav
a:509) 
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:329) 
        at
org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:226) 
        at org.apache.tools.ant.taskdefs.Chmod.execute(Chmod.java:178) 
        at org.apache.tools.ant.Target.execute(Target.java:153) 
        at org.apache.tools.ant.Project.runTarget(Project.java:908) 
        at org.apache.tools.ant.Project.executeTarget(Project.java:536) 
        at org.apache.tools.ant.Project.executeTargets(Project.java:510) 
        at org.apache.tools.ant.Main.runBuild(Main.java:421) 
        at org.apache.tools.ant.Main.main(Main.java:149) 
Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


Mime
View raw message