- This topic has 4 replies, 3 voices, and was last updated 20 years, 11 months ago by Scott Anderson.
-
AuthorPosts
-
benanthonyMemberI have having a problem setting up MyEclipse to work in the way I need, I work with a large scale e-commerce (servlet based) application. The way we have it setup is with multiple java projects in eclipse. This is needed because we have a set of Core code that is re-used for every customer. We then have customer specific java projects for any custom code we write. I would like to be able to use MyEclipse for custom JSP’s that I am creating for a customer.
What I can’t figure out is how to get it to reference those other java projects and when I start Tomcat 5 to load those projects into the classpath like the Sysdeo tomcat plugin does.
I am currently using the lomboz plugin with Sysdeo to start tomcat, but really like the syntax highlighting and debug features of MyEclipse. Can anyone think of a way I can get this to work?
Thanks in advance,
Ben
Riyad KallaMemberHey Ben,
Try this: File -> New -> Folder (Advanced… create Link) or something to that extent. I believe it will create a linked resource in your project that ME will honor. if that doesn’t work, Scott or Michael can help you better.
Scott AndersonParticipantBen,
What you really need is a new feature we call dependent project support. We plan on adding it sometime in January and it will allow you to designate other projects as libraries to be built and then deployed with your current project.
Until then, the workaround is to write an Ant script that jars the library project and places it in the WEB-INF/lib directory of your web project. Then, MyEclipse will add it to the classpath and deploy with your project.
By the way, when you use MyEclipse, please don’t install it into an Eclipse instance containing either Lomboz or Sysdeo’s plugin. They both make some modifications to the server configurations and classloaders that are incompatible with MyEclipse. A parallel Eclipse installation for testing is highly recommended.
–Scott
MyEclipse Support
Riyad KallaMemberScott what are the mods? I use Sysdeo at work because ME doesn’t provide a quick way to restart the server, and everything seems to work fine…
Scott AndersonParticipantRiyad,
Sysdeo modifies the classloader used by Tomcat to support debugging of java source generated by the jsp compiler, rather than source level debugging. Just using the restart may not cause problems, but we have seen problems in the past.
–Scott
MyEclipse Support -
AuthorPosts