Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Unable to create publisher org.eclipse.jst.server.generic.antpublisher (Creating eclipse tomcat server adapter plugin)
icon5.gif  Unable to create publisher org.eclipse.jst.server.generic.antpublisher [message #788760] Thu, 02 February 2012 07:17
Tejaswaroop Vankadari is currently offline Tejaswaroop VankadariFriend
Messages: 1
Registered: February 2012
Junior Member
Hi there,

I'm trying to create a custom tomcat7 server adapter for eclipse.
I used below plugin dependencies while creating the same.

org.eclipse.core.runtime
org.eclipse.wst.server.core
org.eclipse.jst.server.core
org.eclipse.jst.server.ui
org.eclipse.jst.server.generic.core
org.eclipse.jst.server.generic.ui
org.eclipse.wst.common.core
org.eclipse.wst.common.project.facet.core
org.eclipse.wst.common.project.facet.ui
org.eclipse.wst.common.project.facet.ui
org.eclipse.jst.common.project.facet.core
org.eclipse.debug.core


I added below extension point to the plugin.xml file to refer the org.eclipse.jst.server.generic.antpublisher.

<extension point="org.eclipse.jst.server.generic.core.genericpublisher">
 
<genericpublisher
           class="org.eclipse.jst.server.generic.core.internal.publishers.AntPublisher"
           id="org.eclipse.jst.server.generic.antpublisher"/>
		
      </runtimeType>
           
</extension>


Added the below code in serverdef file:

<module>
   <type>jst.web</type>
   <publishDir>${serverRootDirectory}/webapps</publishDir>
   <publisherReference>
    org.eclipse.jst.server.generic.antpublisher
   </publisherReference>
   </module>

 <publisher id="org.eclipse.jst.server.generic.antpublisher">
   <publisherdata>
    <dataname>build.file</dataname>
    <datavalue>/buildfile/csspant.xml</datavalue>
   </publisherdata>
</publisher>


When I tried executing the project I'm getting below error:

!ENTRY org.eclipse.jst.server.generic.core 4 0 2012-02-02 10:20:42.741
!MESSAGE Unable to create publisher 
    org.eclipse.jst.server.generic.antpublisher


Can anyone please help me resolving the issue?

Thanks,
Teja
Previous Topic:weblogic 9.2 debug port change
Next Topic:[Axis2 PlugIn] Output path without src and Proxy classes
Goto Forum:
  


Current Time: Thu Dec 18 10:35:27 GMT 2014

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

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