facebook

JSP compiler class path bug in Web Module Project

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #205411 Reply

    Maksym Gryevtsov
    Participant

    Hi all,

    In contarst to XDoclet, JSP compiler ignores class path inherited from other dependent projects (project output and export libraries). The only possibility to add to the class path either copy jar file to the WEB-INF/lib or add this library directly in the project “Library Build Path” tab.

    Thanks,
    Maksym Gryevtsov

    #205413 Reply

    Riyad Kalla
    Member

    Maksym,
    thank you for the feedback, we will look into this.

    #205415 Reply

    support-michael
    Keymaster

    A workaround used by some is to point the output location of a dependent project to be the classes folder of your web-project. The main issue with this approach is if you rebuild your web-project you need to rebuild all dependent projects also since the output area may be scrubbed (see Window>Preferences>Java>Compiler>Build Path>Scrub output… prefs).

    Our initial idea since we didn’t support dependent projects for deployment was to treat web-projects in a manner similar to a JSP container. We know this is not good enough and are working to relax this ASAP as well as provide lots of other project structuring options. The idea we have is a concept of “deployable dependent project”. The main difference between this and tradtional dependent projects is that it will be deployed as part of a primary web-project deployment process. What we want to avoid is a case where ME will create a web-project that compiles but when deployed is missing classes from dependent projects; thus the current web-project restriction. I’m looking forward to 2.8 for this capability.

    #205420 Reply

    Maksym Gryevtsov
    Participant

    Actually I found it when I moved all common libraries to Weblogic APP-INF/lib directory.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: JSP compiler class path bug in Web Module Project

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