让Workshop for WebLogic 10gR3支持tomcat 6
让Workshop for WebLogic 10gR3支持tomcat 6
贴几个图:
<?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><shapetype id="_x0000_t75" stroked="f" filled="f" path="[email protected]@[email protected]@[email protected]@[email protected]@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"><stroke joinstyle="miter"></stroke><formulas><f eqn="if lineDrawn pixelLineWidth 0"></f><f eqn="sum @0 1 0"></f><f eqn="sum 0 0 @1"></f><f eqn="prod @2 1 2"></f><f eqn="prod @3 21600 pixelWidth"></f><f eqn="prod @3 21600 pixelHeight"></f><f eqn="sum @0 0 1"></f><f eqn="prod @6 1 2"></f><f eqn="prod @7 21600 pixelWidth"></f><f eqn="sum @8 21600 0"></f><f eqn="prod @7 21600 pixelHeight"></f><f eqn="sum @10 21600 0"></f></formulas><path o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></path><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><lock aspectratio="t" v:ext="edit"></lock></shapetype><shape id="图片_x0020_1" style="VISIBILITY: visible; WIDTH: 415.5pt; HEIGHT: 301.5pt; mso-wrap-style: square" type="#_x0000_t75" o:spid="_x0000_i1026"><imagedata o:title="" src="file:///C:/DOCUME~1/life/LOCALS~1/Temp/msohtmlclip1/01/clip_image001.png"></imagedata></shape>
<shape id="图片_x0020_4" style="VISIBILITY: visible; WIDTH: 415.5pt; HEIGHT: 369pt; mso-wrap-style: square" type="#_x0000_t75" o:spid="_x0000_i1025"><imagedata o:title="" src="file:///C:/DOCUME~1/life/LOCALS~1/Temp/msohtmlclip1/01/clip_image003.png"><font color="#000000" size="3"></font></imagedata></shape>
主要是修改几个地方:
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 启动