Starting Custom JBoss Configuration [message #181773] |
Sun, 22 October 2006 18:00 |
Eclipse User |
|
|
|
Originally posted by: thtsang_yh.yahoo.com.hk
I am playing with Eclipse 3.2.1 add features, like Web Tools Platform from
Callisto. I can default a JBoss server on the "Servers" view. But it seems
to allow using the default, all or minimal configurations only.
I don't want to touch any of the preexisting settings. Instead, I would
like to use my own custom setting. For this, I
1) Right click on the server and select "Open"
2) Click "Open launch configuration"
3) Go to the Arguments tab and change "Program Argument" to "-c myconfig"
However, whatever I type, it is reset to "-c default".
Is this by design? Why doesn't eclipse support custom configuration for
JBoss"
|
|
|
Re: Starting Custom JBoss Configuration [message #181795 is a reply to message #181773] |
Mon, 23 October 2006 15:40 |
Eclipse User |
|
|
|
Originally posted by: wknauf_NO_._INSIDE_hg-online.de
Hi Anthony,
you have to modify the JBoss plugin slightly to achieve what you want:
Edit
eclipse\plugins\org.eclipse.jst.server.generic.jboss_1.5.0.v 200606130315\servers\jboss.serverdef
and change this:
<property id="serverConfig"
label="%jboss323serverConfig"
type="select"
context="server"
default="default,all,minimal" />
to
<property id="serverConfig"
label="%jboss323serverConfig"
type="string"
context="server"
default="default" />
Now you can enter any server configuration.
Hope this helps
Wolfgang
Anthony schrieb:
> I am playing with Eclipse 3.2.1 add features, like Web Tools Platform
> from Callisto. I can default a JBoss server on the "Servers" view. But
> it seems to allow using the default, all or minimal configurations only.
> I don't want to touch any of the preexisting settings. Instead, I would
> like to use my own custom setting. For this, I
> 1) Right click on the server and select "Open"
> 2) Click "Open launch configuration"
> 3) Go to the Arguments tab and change "Program Argument" to "-c myconfig"
> However, whatever I type, it is reset to "-c default".
>
> Is this by design? Why doesn't eclipse support custom configuration for
> JBoss"
>
|
|
|
Re: Starting Custom JBoss Configuration [message #181799 is a reply to message #181773] |
Mon, 23 October 2006 15:41 |
Eclipse User |
|
|
|
Originally posted by: wknauf_NO_._INSIDE_hg-online.de
Hi Anthony,
you have to modify the JBoss plugin slightly to achieve what you want:
Edit
eclipse\plugins\org.eclipse.jst.server.generic.jboss_1.5.0.v 200606130315\servers\jboss.serverdef
and change this:
<property id="serverConfig"
label="%jboss323serverConfig"
type="select"
context="server"
default="default,all,minimal" />
to
<property id="serverConfig"
label="%jboss323serverConfig"
type="string"
context="server"
default="default" />
Now you can enter any server configuration.
Hope this helps
Wolfgang
Anthony schrieb:
> I am playing with Eclipse 3.2.1 add features, like Web Tools Platform
> from Callisto. I can default a JBoss server on the "Servers" view. But
> it seems to allow using the default, all or minimal configurations only.
> I don't want to touch any of the preexisting settings. Instead, I would
> like to use my own custom setting. For this, I
> 1) Right click on the server and select "Open"
> 2) Click "Open launch configuration"
> 3) Go to the Arguments tab and change "Program Argument" to "-c myconfig"
> However, whatever I type, it is reset to "-c default".
>
> Is this by design? Why doesn't eclipse support custom configuration for
> JBoss"
>
|
|
|
Re: Starting Custom JBoss Configuration [message #224589 is a reply to message #181799] |
Mon, 01 December 2008 19:00 |
Eclipse User |
|
|
|
Originally posted by: nospam.nospam.com
On Mon, 23 Oct 2006 17:41:16 +0200, Wolfgang Knauf wrote:
> Hi Anthony,
>
> you have to modify the JBoss plugin slightly to achieve what you want:
>
> Edit
> eclipse\plugins\org.eclipse.jst.server.generic.jboss_1.5.0.v 200606130315\servers\jboss.serverdef
> and change this:
>
> <property id="serverConfig"
> label="%jboss323serverConfig"
> type="select"
> context="server"
> default="default,all,minimal" />
>
> to
>
> <property id="serverConfig"
> label="%jboss323serverConfig"
> type="string"
> context="server"
> default="default" />
>
> Now you can enter any server configuration.
>
> Hope this helps
>
> Wolfgang
>
> Anthony schrieb:
>> [13 quoted lines suppressed]
I am using Eclipse 3.4.1 and am trying to use my own server config. I
followed the instructions above and was able to use a different server
config. However when I expand the libs for the server it is still pointing
to the server/default dirs. Am I doing something wrong?
--
-Gary
|
|
|
Re: Starting Custom JBoss Configuration [message #224629 is a reply to message #224589] |
Tue, 02 December 2008 15:10 |
Eclipse User |
|
|
|
Originally posted by: wknauf_NO_._INSIDE_hg-online.de
Hi Gary,
Gary Udstrand wrote:
> I am using Eclipse 3.4.1 and am trying to use my own server config. I
> followed the instructions above and was able to use a different server
> config. However when I expand the libs for the server it is still pointing
> to the server/default dirs. Am I doing something wrong?
In the previously mentioned "jbossXXX.serverdef", search those lines:
<classpath id="jboss.project" >
<fileset dir="${serverRootDirectory}">
<include name="client/*.jar" />
<include name="server/default/lib/*.jar" />
You will have to change them to your custom config.
Best regards
Wolfgang
|
|
|
Powered by
FUDForum. Page generated in 0.03276 seconds