You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/11/16 19:05:07 UTC
[jira] Created: (MPJBOSS-18) Allow user to specify additional JAVA_OPTS
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPJBOSS-18
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPJBOSS-18
Summary: Allow user to specify additional JAVA_OPTS
Type: New Feature
Status: Unassigned
Priority: Blocker
Original Estimate: 1 hour
Time Spent: Unknown
Remaining: 1 hour
Project: maven-jboss-plugin
Assignee:
Reporter: Havard Bjastad
Created: Tue, 16 Nov 2004 1:03 PM
Updated: Tue, 16 Nov 2004 1:03 PM
Description:
Just like http://jira.codehaus.org/browse/MPJBOSS-14, we have a need to debug jboss. Since http://jira.codehaus.org/browse/MPJBOSS-14 seems to be lost in limbo, here is an easier way to achieve the same goal (and this solution has the additional advantage that it can be used for other needs, such as specifying extra memory usage):
1. Add the following line to the other filter definitions in plugin.jelly:
<ant:filter token="maven.jboss.java.opts" value="${maven.jboss.java.opts}"/>
2. Replace the current export line in plugin-resources/run:
export JAVA_OPTS="-Djboss.server.home.dir=@jboss.server.home.dir@ -Djboss.server.home.url=@jboss.server.home.url@"
with this one:
export JAVA_OPTS="-Djboss.server.home.dir=@jboss.server.home.dir@ -Djboss.server.home.url=@jboss.server.home.url@ @maven.jboss.java.opts@"
3. Do the same thing as in (2) for plugin-resources/run.bat
This is a very simple change, but provides a lot of flexibility in terms of extending the JAVA_OPTS through defining a property maven.jboss.java.opts
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org