[jbosstools-dev] Re: how to commit codes to JBDS?
Snjezana Peco
snjezana.peco at redhat.com
Thu Nov 20 03:30:41 EST 2008
I think you need to add the preferences:
org.eclipse.jst.ws.consumption.ui/PREFERENCE_SERVER=org.eclipse.jst.server.generic.jboss42
org.eclipse.jst.ws.consumption.ui/PREFERENCE_RUNTIME=org.jboss.tools.ws.creation.jbossWebServiceRT
to the plugin_customization.ini file of the com.jboss.jbds.product plugin.
Snjeza
grid.qian wrote:
> Hi guys,
> I need to set the default values of wtp's web service server and
> runtime in the eclipse config.ini file.
>
> I add two lines in config.ini file
> /instance/org.eclipse.jst.ws.consumption.ui/PREFERENCE_SERVER=org.eclipse.jst.server.generic.jboss42
>
> /instance/org.eclipse.jst.ws.consumption.ui/PREFERENCE_RUNTIME=org.jboss.tools.ws.creation.jbossWebServiceRT
>
> or
> org.eclipse.jst.ws.consumption.ui/PREFERENCE_SERVER=org.eclipse.jst.server.generic.jboss42
>
> org.eclipse.jst.ws.consumption.ui/PREFERENCE_RUNTIME=org.jboss.tools.ws.creation.jbossWebServiceRT
>
> But these settings do not affect the results. I do not know how I
> should write these lines.
> Who can help me for this?
>
> Grid
>
>> The reason we wanted it in the jbds product configuration is that we
>> must not do hardcoded
>> overrides like this in JBoss Tools - it is not our decision to
>> override the default setup in users existing Eclipse installation.
>>
>> Thus we can/should only do it in JBDS where we control the eclipse
>> install.
>> The reason I pointed to the product plugin is that it has a
>> config.ini file in where you can set properties to override
>> the behavior.
>>
>> I assume the following two lines of code:
>>
>> org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin.getInstance().getPluginPreferences().setDefault("PREFERENCE_SERVER",
>> "org.eclipse.jst.server.generic.jboss42");
>> +
>> org.eclipse.jst.ws.internal.consumption.ui.plugin.WebServiceConsumptionUIPlugin.getInstance().getPluginPreferences().setDefault("PREFERENCE_RUNTIME",
>> "org.jboss.tools.ws.creation.jbossWebServiceRT");
>>
>> Should be possible to do via config.ini or some other property file.
>>
>> If you don't know, then ask on Jboss tools dev where we got a few
>> people that might know the answer.
>>
>> /max
>>
>>> Hi Max,
>>> I have access to the link. It make me puzzled how to commit these
>>> changes.
>>> The steps are:
>>> 1 check out the sources
>>> svn checkout
>>> https://svn.jboss.org/repos/devstudio/trunk/product/plugins/com.jboss.jbds.product/
>>>
>>> 2 commit my codes
>>> svn commit -m "changes for JBDE-357"
>>>
>>> But in the link, there are not WS module codes. What I should
>>> commit? only my changed codes or something else?
>>> And what configuration file need I to change?
>>>
>>> So I have created a patch for this issue and uploaded it to the jira
>>> for this issue.
>>>
>>> Thanks
>>> Grid
>>>> I just checked and Grid.Qian does have access to that link.
>>>> Are you using the correct login ?
>>>>
>>>> dennyxu did not have access for some reason so I went and added
>>>> that too.
>>>>
>>>> Let me know how it goes and if you are uncertain if your changes
>>>> are correct for
>>>> the product configuration then just attach a patch to that issue
>>>> and i'll look at it.
>>>>
>>>> /max
>>>>
>>>>> Hi guys,
>>>>>
>>>>> I fixed the bug JBDS-357,but I do not know where I should commit
>>>>> my codes?
>>>>> Denny give me a link:
>>>>> https://svn.jboss.org/repos/devstudio/trunk/product/plugins/com.jboss.jbds.product/
>>>>> But there are not codes in the link.
>>>>>
>>>>> Grid
>>>>
>>>>
>>>>
>>>
>>
>>
>>
>
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>
More information about the jbosstools-dev
mailing list