facebook

JSP debugging – source files with same name

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #248232 Reply

    While debugging JSPs with tomcat 5.5.15 I’ve come across the following:

    There are a few cases where I’ve got JSPs with the same name (in a different project)
    as the ones that I’m trying to debug.
    Instead of the JSP from the WebRoot directory the debugger brings up the source
    from the JSP from the other (non-myeclise) project.

    Is there anything I can to to influence this:

    Marcel

    Configuration Summary:

    *** Date: Thu Mar 09 23:48:47 GMT 2006

    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_05

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.1.1 GA
    Build id: 20060228-4.1.1-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Platform

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse RCP

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Java Development Tools

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Plug-in Development Environment

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse Project SDK

    Version: 3.1.2
    Build id: M20060118-1600

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\Program Files\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    10a4_e8
    -vm
    C:\WINDOWS\system32\javaw.exe

    Extract from error log (web.xml missing on purpose, supplied
    from a different source to the tomcat webapp):

    !ENTRY com.genuitec.eclipse.jsf 1 0 2006-03-09 23:41:06.394
    !MESSAGE
    !STACK 1
    org.eclipse.core.internal.resources.ResourceException: Resource /Languagewise/WebRoot/WEB-INF/web.xml does not exist.

    #248256

    Well, it’s picking up the correct JSP this morning.
    Let’s assume it works now, I’ll post again if the problem repeats itself.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JSP debugging – source files with same name

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