facebook

JSP Debug under jboss

💡
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. General Development
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #267137 Reply

    pafawa
    Member

    Hi i’m using Jboss 4 with myeclipse 5.1.0 eclipse and I’ve witnessed some problems while trying to debug jsps.
    My project is not marked as a web project, and i’m getting the error message that jsp source can’t be located.

    #267201

    Riyad Kalla
    Member

    My project is not marked as a web project, and i’m getting the error message that jsp source can’t be located.

    That is most likely the problem. MYEclipse uses the metadata you enter when marking a project as a web project and uses that information to resolve the mapping between debugging bytecode and the source files in your project. Without that information MyEclipse has a hard time making that mapping occur, but will still attempt to (which is why sometimes it will “sort of work” but not entirely)

    #267307

    pafawa
    Member

    Hi.

    But is it possible to make it work with that project status ( non web). Including source code in the class path perhaps.

    #267317

    Riyad Kalla
    Member

    I don’t understand what you are asking. Please clarify what you mean.

    #267382

    pafawa
    Member

    Hi

    In other words: is there any way to debug jsps with project which isn’t a web project.
    I’m using ant to create a war file, that’s why my project isn’t marked as a web one.
    War file is embedded in a ear file.

    #267386

    Riyad Kalla
    Member

    is there any way to debug jsps with project which isn’t a web project.

    It *may* work if the root of your project is the root of your webproject (meaning the root of your project represents the root of your deployed project), otherwise no there is not because MyEclipse has no way to correctly map the JSPs.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: JSP Debug under jboss

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