AOPC Ant task and tmp directories
by Manik Surtani
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
17 years, 9 months
Difference between "node loaded" and "node activated"
by Mircea Markus
Hi,
There are two methods in the cache listener interface:
public void nodeLoaded(Fqn fqn, boolean pre, Map data)
and
public void nodeActivated(Fqn fqn, boolean pre)
In which scenarios is one called and in which not? They seem to overlap
(both are called) in certain scenarios...
Cheers,
Mircea
17 years, 9 months
is embedded jboss relevant to us?
by Galder Zamarreno
I know we had a chat earlier this year on embedding AS into the JBC test
suite. We had different opinions, but I believe this might be something
we'll talk again for 2.1.
This might be something worth keeping in mind, for example if we want to
run all the testsuite with JBoss TS?
http://wiki.jboss.org/wiki/Wiki.jsp?page=EmbeddedAndJUnit
This email is more of a FYI rather than a continuation of the email
thread we had in January.
Cheers,
--
Galder Zamarreño
Sr. Software Maintenance Engineer
JBoss, a division of Red Hat
17 years, 9 months