Hoping someone out there has done this:
My environment: Eclipse 2.1, Windows XP, Clearcase 5.0,
Tomcat 4.1.24, Rational plug-in 2.1.13, Tomcat plug-in 2.1,
JDK 1.4.
I am trying to run a webapp from a directory in a VOB. Ideally,
multiple webapps in the same Eclipse project, located in different
directories. I want servlet code to come from the project build
tree so I can modify it without making a WAR and have the changes
immediately picked up by Tomcat. I've seen this work before.
Problems:
1) I can't add the project to Tomcat's classpath from Window ->
Preferences -> Tomcat, because the Xerces version in the project
causes Tomcat to fail on startup with
java.lang.ClassNotFoundException:
org.apache.catalina.core.StandardServer.
2) I've installed the DevLoader as described in the plug-in
instructions. No help there. If I mark the project as a
Tomcat project (in Project -> Properties -> Tomcat), Tomcat fails
to start with the same exception, whether or not I add additional
classes to the DevLoader classpath. If I don't mark the project
as a Tomcat project, Tomcat doesn't know about the webapp.
3) I tried creating a separate project for each webapp to
isolate the Tomcat settings; no good. Eclipse says: "invalid
project description: x:/vobs/foo and x:/vobs/foo overlap."
Which is absolutely correct... and utterly useless. Can
I can have only one Eclipse project per VOB?? (Separate views for
each webapp might make Eclipse happy, but then the webapp views
won't see the classes built in the main project view.)
Suggestions greatly appreciated.
Regards / thanks,
Jonathan
Tomi Schuetz - 22 Oct 2003 14:59 GMT
> Jonathan Ross wrote:
> Hoping someone out there has done this:
[quoted text clipped - 29 lines]
> Which is absolutely correct... and utterly useless. Can
> I can have only one Eclipse project per VOB??
I'm using Eclipse with ClearCase and I have several projects in one VOB.
So, this should work. If you have some projects depended on each other,
you can set this in the project preferences. Under the point 'Project
References' you can set the dependency to all projects in the same
workspace.
>(Separate views for
> each webapp might make Eclipse happy, but then the webapp views
[quoted text clipped - 4 lines]
> Regards / thanks,
> Jonathan
I would suggest you, to check the newsgroups under eclipse.org. There
you should get an answer quite fast.
Regards,
Tomi