facebook

Help With Project Setup Please

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #200966 Reply

    benanthony
    Member

    I 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

    #200976 Reply

    Riyad Kalla
    Member

    Hey 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.

    #201005 Reply

    Scott Anderson
    Participant

    Ben,

    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

    #201019 Reply

    Riyad Kalla
    Member

    Scott 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…

    #201026 Reply

    Scott Anderson
    Participant

    Riyad,

    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

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Help With Project Setup Please

You must be logged in to post in the forum log in