Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / October 2003

Tip: Looking for answers? Try searching our database.

Eclipse + Tomcat + Clearcase = Frustration

Thread view: 
Jonathan Ross - 16 Oct 2003 17:54 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.