[jboss-user] [Beginners Corner] - Re: Running JBoss 5 within Eclipse with a different set of p
do-not-reply at jboss.com
Thu Apr 16 13:13:27 EDT 2009
I thought it should be as easy as specifying a property somewhere, but it appears that no such place exists. It even looks like Eclipse runs JBoss AS via a java command that it generates, rather than relying on the run.bat file, so it is not like you could edit the run file.
Found it! Look in workspace\.metadata\.plugins\org.eclipse.debug.core\.launches\XXX.launch, where XXX is the name you gave to the server. Edit this entry:
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="--configuration=admin -b localhost"/>
Perhaps you should ask about this in the JBoss Tools (Users) forum; being able to provide additional command line arguments sounds like a worthwhile new feature request to me.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225998#4225998
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225998
More information about the jboss-user