Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsExtension point to get control when Run on Server invoked?
https://www.eclipse.org/forums/index.php/mv/msg/68405/214537/#msg_214537
Originally posted by: david_whiteman.us.ibm.com
Hi,
I would like to know if there is some sort of extension point available
by which I can have custom code invoked when the user selects "Run on
Server" on a dynamic web project. We would like to get control at that
point for projects that were built using our facets, so we can perform
special processing.
Thanks in advance,
David]]>2008-05-29T19:02:09-00:00Re: Extension point to get control when Run on Server invoked?
https://www.eclipse.org/forums/index.php/mv/msg/68405/214974/#msg_214974
> Hi,
>
> I would like to know if there is some sort of extension point available
> by which I can have custom code invoked when the user selects "Run on
> Server" on a dynamic web project. We would like to get control at that
> point for projects that were built using our facets, so we can perform
> special processing.
>
> Thanks in advance,
> David
Does anyone have any ideas with this? Is there any way we can provide
code that gets control when the user selects run on server on projects
built using our facets?
Thanks!]]>David Whiteman2008-06-06T18:09:11-00:00Re: Extension point to get control when Run on Server invoked?
https://www.eclipse.org/forums/index.php/mv/msg/68405/214976/#msg_214976
> David Whiteman wrote:
>> Hi,
>>
>> I would like to know if there is some sort of extension point
>> available by which I can have custom code invoked when the user
>> selects "Run on Server" on a dynamic web project. We would like to
>> get control at that point for projects that were built using our
>> facets, so we can perform special processing.
>>
>> Thanks in advance,
>> David
>
> Does anyone have any ideas with this? Is there any way we can provide
> code that gets control when the user selects run on server on projects
> built using our facets?
>
> Thanks!
The reason I want this is that I would like to get the EPR of a web
service that I have deployed and pass it as an argument to another
program that will help the developer perform testing.]]>David Whiteman2008-06-06T20:00:40-00:00Re: Extension point to get control when Run on Server invoked?
https://www.eclipse.org/forums/index.php/mv/msg/68405/214981/#msg_214981
Originally posted by: dcarver.starstandard.org
You'll
David Whiteman wrote:
> David Whiteman wrote:
>
> The reason I want this is that I would like to get the EPR of a web
> service that I have deployed and pass it as an argument to another
> program that will help the developer perform testing.
You might want to check out the Web Tools Server Adapter API and
Extension points. You might be able to get something from there. Also
I believe the Eclipse Web Tools book, does have a chapter about the
server adapters and extension points.]]>2008-06-07T01:33:41-00:00Re: Extension point to get control when Run on Server invoked?
https://www.eclipse.org/forums/index.php/mv/msg/68405/214984/#msg_214984
> You'll
> David Whiteman wrote:
>> David Whiteman wrote:
>>
>> The reason I want this is that I would like to get the EPR of a web
>> service that I have deployed and pass it as an argument to another
>> program that will help the developer perform testing.
>
> You might want to check out the Web Tools Server Adapter API and
> Extension points. You might be able to get something from there. Also
> I believe the Eclipse Web Tools book, does have a chapter about the
> server adapters and extension points.
I'm finding the docs hard to use, and I don't have the Web Tools book,
unfortunately. It looks like the launchableAdapters extension point
*might* be what I'm looking for, and it appears this is part of the
org.eclipse.wst.server.core plugin, but when I add that plugin as a
dependency of my plugin, and try to add that extension point, it doesn't
seem to be complete... i.e. there is no extension point schema and I
can't add set the class attribute via the UI. I'm using the 3.4 RC2 build.
Thanks,
David]]>David Whiteman2008-06-08T17:05:33-00:00Re: Extension point to get control when Run on Server invoked?
https://www.eclipse.org/forums/index.php/mv/msg/68405/214989/#msg_214989
Originally posted by: dcarver.starstandard.org
> I'm finding the docs hard to use, and I don't have the Web Tools book,
> unfortunately. It looks like the launchableAdapters extension point
> *might* be what I'm looking for, and it appears this is part of the
> org.eclipse.wst.server.core plugin, but when I add that plugin as a
> dependency of my plugin, and try to add that extension point, it doesn't
> seem to be complete... i.e. there is no extension point schema and I
> can't add set the class attribute via the UI. I'm using the 3.4 RC2 build.
The extension point schema problem can happen when you aren't using the
SDK plugins to develop against.]]>2008-06-08T23:06:15-00:00Re: Extension point to get control when Run on Server invoked?
https://www.eclipse.org/forums/index.php/mv/msg/68405/215000/#msg_215000
>
>> I'm finding the docs hard to use, and I don't have the Web Tools book,
>> unfortunately. It looks like the launchableAdapters extension point
>> *might* be what I'm looking for, and it appears this is part of the
>> org.eclipse.wst.server.core plugin, but when I add that plugin as a
>> dependency of my plugin, and try to add that extension point, it
>> doesn't seem to be complete... i.e. there is no extension point schema
>> and I can't add set the class attribute via the UI. I'm using the 3.4
>> RC2 build.
>
> The extension point schema problem can happen when you aren't using the
> SDK plugins to develop against.
Thanks, David. That probably affected the extension point UI. I went
ahead and added the extension point by hand in the plugin.xml.
However, it didn't do what I thought it would do. I created a class for
the launchable adapter delegate and put a breakpoint in getLaunchable().
Then I started the PDE, created a dynamic web project, and selected
Run on Server, my breakpoint was not triggered. None of the other
extension points looked close to what I wanted to accomplish. Is it
even possible to get control when Run on Server is selected?
David]]>David Whiteman2008-06-09T15:10:12-00:00Re: Extension point to get control when Run on Server invoked?
https://www.eclipse.org/forums/index.php/mv/msg/68405/215068/#msg_215068
Originally posted by: dcarver.starstandard.org
> However, it didn't do what I thought it would do. I created a class for
> the launchable adapter delegate and put a breakpoint in getLaunchable().
> Then I started the PDE, created a dynamic web project, and selected Run
> on Server, my breakpoint was not triggered. None of the other extension
> points looked close to what I wanted to accomplish. Is it even possible
> to get control when Run on Server is selected?
Not sure. You may have to create your own custom server by extending an
existing one in order to get the control you want.