[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Some maven updates

pgier do-not-reply at jboss.com
Mon Sep 22 10:34:21 EDT 2008


"kabir.khan at jboss.com" wrote : "pgier" wrote : 
  |   | To compile the JRockit stuff you have to pass JROCKIT_HOME to maven.  
  |   | 
  | Does maven have the concept of a local.properties file? It would be nice not to manually pass in this system property every time
  | 
There is a properties plugin that can be used to load properties, but I don't think this can be used to activate a profile (for the conditional compilation and jar).  The other option would be to put the conditional logic in ant (in the antrun plugin) but I think the plugin only allows one target so you can't conditionally call the target.  I'll try to come up with a better way to handle this part of the build.

"kabir.khan at jboss.com" wrote : 
  | mvn install from the top-level folder gives me OutOfMemoryErrors 
  | 
It looks like you and Hudson are both getting this error when maven compiles the test classes.  Since ant is doing this anyway, I'll take this part out for now and see if that prevents running out of memory.

"kabir.khan at jboss.com" wrote : 
  | I think JRockitPluggableClassPreProcessor.class should be in jrockit-pluggable-instrumentor.jar
  | 
Should JRockitClassPreProcessor also be included only in the jrockit jar?  Currently it is only being included in the main jboss-aop.jar.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178071#4178071

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178071



More information about the jboss-dev-forums mailing list