Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-jst-dev] Extending tomcat launch configuration


Hello Choudary,

Which part requires internal API - extending the Tomcat launch configuration? You are welcome to open enhancement requests for new API in bugzilla so that we can discuss.

My concern is that this implies that you'll be creating or overriding launch configurations everywhere MaintainJ could be used - you'll need separate launch configurations for regular Java apps, JUnit launches, Applets, Tomcat, WebSphere, WebLogic, JBoss, etc. Even if there is public API for each these cases and similar code, it will be a lot of code to build, maintain, and test, plus many options in the launch configuration dialog. Instead, I would suggest looking at other options - e.g. perhaps there is a single way you can plug-in to JDT or create a tab for all Java launches, so that you only need to code this once.

Thanks,
Tim deBoer
deboer@xxxxxxxxxx



From: Choudary Kothapalli <choudary.kothapalli@xxxxxxxxx>
To: wtp-jst-dev@xxxxxxxxxxx
Date: 06/28/2009 10:45 PM
Subject: [wtp-jst-dev] Extending tomcat launch configuration





Hello,

To simply state my requirement, I need to launch Tomcat with
additional VM arguments. The only way I figured out is as follows:

1. Add a new server type using org.eclipse.wst.server.core.serverTypes
extension point.
2. In that server type, define a custom 'behaviourClass', which will
override getRuntimeVMArguments() and add my VM arguments.

The trouble with this approach is, I am using the internal API in my
plugin. Is this the only possible way currently or is there any better
approach?

I need to do this for integrating MaintainJ plugin with Tomcat server
in Eclipse. I could do this for a J2SE application as at
http://maintainj.com/userGuide.jsp?param=runtime#j2se without using
any internal APIs. I don't find any such neat way for Tomcat/JBoss
server launch configurations.

Choudary Kothapalli
www.MaintainJ.com
_______________________________________________
wtp-jst-dev mailing list
wtp-jst-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-jst-dev



Back to the top