Guys,
I'm seeing something with the AOPC ant task when running on the lab
servers (dev02). It seems to hardcode using /tmp as a temp directory
rather than java.io.tmpdir (which i've set to /home/msurtani/tmp in
the example below).
java.lang.RuntimeException: java.io.IOException: Permission denied
at org.jboss.aop.ant.AopC.logAndAddFilesToCompile(AopC.java:
488)
at org.jboss.aop.ant.AopC.execute(AopC.java:328)
at org.apache.tools.ant.UnknownElement.execute
(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeTarget(Project.java:
1214)
at org.apache.tools.ant.Project.executeTargets(Project.java:
1062)
at org.apache.tools.ant.Main.runBuild(Main.java:673)
at org.apache.tools.ant.Main.startAnt(Main.java:188)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1345)
at java.io.File.createTempFile(File.java:1434)
at java.io.File.createTempFile(File.java:1471)
at org.jboss.aop.ant.AopC.logAndAddFilesToCompile(AopC.java:
457)
... 11 more
Probably caused by QA locking down /tmp:
[msurtani@dev02 JBossCache200]$ touch /tmp/test.file
touch: creating `/tmp/test.file': Permission denied
[msurtani@dev02 JBossCache200]$
Any plans to change this?
Cheers,
--
Manik Surtani
Lead, JBoss Cache
JBoss, a division of Red Hat
Email: manik(a)jboss.org
Telephone: +44 7786 702 706
MSN: manik(a)surtani.org
Yahoo/AIM/Skype: maniksurtani