让Workshop for WebLogic 10gR3支持tomcat 6

来源:互联网 发布:淘宝报名派发报名任务 编辑:程序博客网 时间:2024/05/01 11:55

Workshop for WebLogic 10gR3支持tomcat 6

贴几个图:

 

 

 

 

 

 

主要是修改几个地方:

1

bea/workshop_10.3/workshop4WP/eclipse/plugins/com.m7.nitrox.debugger_3.5.100.200807251738

 

主要修改以下几个文件:

com.m7.nitrox.debugger.jar

主要是添加了 com/bea/wstudio/debugger/Tomcat60ServerBehaviour.class Tomcat60ServerBehaviour继承自Tomcat55ServerBehaviour

 

plugin.properties

添加内容:

tomcat60ServerType=Tomcat v6.0 Server

tomcat60ServerDescription=Publishes and runs J2EE and Java EE Web projects and server

configurations to a local Tomcat server.

 

plugin.xml

添加以下内容:具体位置可以搜索

         <serverType

                            behaviourClass="com.bea.wstudio.debugger.Jetty6ServerBehavior"

                            class="org.eclipse.jst.server.generic.core.internal.GenericServer"

                            description="%jetty6serverTypeDescription" hasConfiguration="false"

                            id="com.bea.wstudio.jetty.6" initialState="stopped"

                            launchConfigId="com.bea.wstudio.debugger.launchConfigurationType"

                            launchModes="run,debug" name="%jetty6serverTypeName"

                            runtime="true"

                            runtimeTypeId="com.bea.wstudio.runtime.jetty.6"

                            startBeforePublish="false" startTimeout="150000" stopTimeout="30000"

                            supportsRemoteHosts="false" />

    

     <serverType

       id="com.bea.wstudio.tomcat.60"

       name="%tomcat60ServerType"

       description="%tomcat60ServerDescription"

       supportsRemoteHosts="false"

       runtime="true"

       startTimeout="45000"

       stopTimeout="15000"

       initialState="stopped"

       hasConfiguration="true"

       launchConfigId="org.eclipse.jst.server.tomcat.core.launchConfigurationType"

       runtimeTypeId="org.eclipse.jst.server.tomcat.runtime.60"

       class="org.eclipse.jst.server.tomcat.core.internal.TomcatServer"

       behaviourClass="org.eclipse.jst.server.tomcat.core.internal.TomcatServerBehaviour">

     </serverType>

 

2

bea/workshop_10.3/workshop4WP/eclipse/plugins/com.m7.nitrox.serverdef_3.5.100.200807251738

plugin.properties

添加:

 

runtimeTypeTomcat60Label=Apache Tomcat v6.0

runtimeTypeTomcat60Description=Apache Tomcat v6.0 supports J2EE 1.2, 1.3, 1.4, and Java EE 5 Web modules.

 

 

plugin.xml

添加:

             <runtimeType      id="org.eclipse.jst.server.tomcat.runtime.60"   name="%runtimeTypeTomcat60Label"

       description="%runtimeTypeTomcat60Description"     vendor="%apache"      version="6.0"

       class="org.eclipse.jst.server.tomcat.core.internal.TomcatRuntime">

       <moduleType        types="jst.web"       versions="2.2, 2.3, 2.4, 2.5"/>

       <moduleType         types="jst.utility"         versions="1.0"/>

    </runtimeType>

最后删除:C:/Documents and Settings/Your Name/.eclipse目录

用 bea/workshop_10.3/workshop.exe -clean 启动

 

下载地址: http://d.download.csdn.net/down/640913/myloon

原创粉丝点击