Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » problem when attempting to implement a GenericPublisher
problem when attempting to implement a GenericPublisher [message #179704] Fri, 22 September 2006 14:52 Go to next message
Eclipse UserFriend
Originally posted by: pbeag_RemoverIfNotASpammer_an.yahoo.com

I'm looking to implement a GenericPublisher and hook up to my
serverdef. In my plugin I add a class MyPublisher that extends
org.eclipse.jst.server.generic.core.internal.GenericPublishe r . I
get a warning stating 'Discouraged Access: The type GenericPublisher
is not accessible due to restriction on required project
org.eclipse.jst.server.generic.core .

Is this intentional? Or a bug where the package was not exported?

Also, seems like I'm blazing my own trail here as there are little to
no docs on this. Any pointers to docs or whatever would be greatly
appreciated!
Re: problem when attempting to implement a GenericPublisher [message #179713 is a reply to message #179704] Fri, 22 September 2006 15:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pbeag_RemoverIfNotASpammer_an.yahoo.com

The org.eclipse.jst.server.generic.core plugins has the line below in
the Manifest. Does 'x-internal:=true' mean that it is not exported to
other plugins? I'm confused.

Export-Package: org.eclipse.jst.server.generic.core.internal;x-interna
l:=true





On Fri, 22 Sep 2006 10:52:45 -0400, patrick
<pbeag_RemoverIfNotASpammer_an@yahoo.com> wrote:

>I'm looking to implement a GenericPublisher and hook up to my
>serverdef. In my plugin I add a class MyPublisher that extends
> org.eclipse.jst.server.generic.core.internal.GenericPublishe r . I
>get a warning stating 'Discouraged Access: The type GenericPublisher
>is not accessible due to restriction on required project
>org.eclipse.jst.server.generic.core .
>
>Is this intentional? Or a bug where the package was not exported?
>
>Also, seems like I'm blazing my own trail here as there are little to
>no docs on this. Any pointers to docs or whatever would be greatly
>appreciated!
Re: problem when attempting to implement a GenericPublisher [message #179928 is a reply to message #179713] Mon, 25 September 2006 22:33 Go to previous message
Angel Vera is currently offline Angel VeraFriend
Messages: 63
Registered: July 2009
Member

We are still working in the documentation.

Anything that is in the internal packages you should probably not be
using. They are classes that are for internal processing and are bound
to change. You should use the APIs.

I am not entierly sure of what you are trying to do. But if you are just
want to write your own publish task and attach it to a server you should
be using the publishtask extension point:
org.eclipse.wst.server.core.publishTasks

Or if you already defined a server then perhaps you should be looking at
providing your implemention in the ServerBehaviourDelegate. Try looking
at: publishModule, or startPublish..

Hope it helps..

patrick <pbeag_RemoverIfNotASpammer_an@yahoo.com> wrote in
news:0sv7h2liobm735fojesod0csedfgmfjp4a@4ax.com:

> The org.eclipse.jst.server.generic.core plugins has the line below in
> the Manifest. Does 'x-internal:=true' mean that it is not exported to
> other plugins? I'm confused.
>
> Export-Package: org.eclipse.jst.server.generic.core.internal;x-interna
> l:=true
>
>
>
>
>
> On Fri, 22 Sep 2006 10:52:45 -0400, patrick
> <pbeag_RemoverIfNotASpammer_an@yahoo.com> wrote:
>
>>I'm looking to implement a GenericPublisher and hook up to my
>>serverdef. In my plugin I add a class MyPublisher that extends
>> org.eclipse.jst.server.generic.core.internal.GenericPublishe r . I
>>get a warning stating 'Discouraged Access: The type GenericPublisher
>>is not accessible due to restriction on required project
>>org.eclipse.jst.server.generic.core .
>>
>>Is this intentional? Or a bug where the package was not exported?
>>
>>Also, seems like I'm blazing my own trail here as there are little to
>>no docs on this. Any pointers to docs or whatever would be greatly
>>appreciated!


Regards,
--
Angel Vera
WTP Server Tools Developer
Previous Topic:Setting context for tomcat 5.0
Next Topic:Added value of Web Module
Goto Forum:
  


Current Time: Tue Apr 23 07:25:13 GMT 2024

Powered by FUDForum. Page generated in 0.03597 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top