[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Some maven updates
pgier
do-not-reply at jboss.com
Tue Sep 23 15:19:09 EDT 2008
"kabir.khan at jboss.com" wrote : "pgier" wrote : If you run the build from the main build directory you have to pass the parameter like this:
| | ./build.sh -Dbuild.maven.opts=-DJROCKIT_HOME=/path/to/jrockit
| |
| | Otherwise it doesn't get through to the maven build.
| I added a build/build-release.sh to avoid having to remember that :-)
|
I made a couple of improvements now to the jrockit handling so I think you won't need this anymore. You now have a few options.
1. Add a local.properties file to the build directory and ant will pick it up and pass to maven.
2. Call ./build.sh or ant from the build directory and pass
-Djrockit.home=/path/to/jrockit
3. Or if you are running "mvn" directly from the root directory or the aop directory you can use something like option 2
mvn install -Djrockit.home=/path/to/jrockit
Hopefully this makes things a little easier. I also updated the hudson configs so that they use the local.properties file like before.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178405#4178405
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178405
More information about the jboss-dev-forums
mailing list