facebook

v6 JSP Refactor Failure

💡
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 Archived
  2.  > 
  3. Bugs
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #274814 Reply

    James_Hr
    Member

    I wanted to test “refactoring JSPs” so I installed the “simple JSP” example and pulled up the MyJavaClass and performed a Refactor on getMessage() renamed as myGetMessage(). This operation broke the JSP by incorrectly changing the JSP reference “MyJavaClass.getMessage()” to “MyJavaClass.” which caused a compile error. Kind of a bad experience for a first test of refactoring – help.

    Install Details:

    *** Date:
    Thursday, August 30, 2007 9:04:55 AM CDT

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

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.0.0 GA
    Build id: 6.0.0-GA-200708

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 6.0.0 GA
    Build id: 6.0.0-GA-200708

    Eclipse Platform

    Version: 3.3.0.v20070612-_19UEkLEzwsdF9jSqQ-G
    Build id: I20070625-1500

    Eclipse RCP

    Version: 3.3.0.v20070607-8y8eE8NEbsN3X_fjWS8HPNG
    Build id: I20070625-1500

    Eclipse Java Development Tools

    Version: 3.3.0.v20070606-0010-7o7jCHEFpPoqQYvnXqejeR
    Build id: I20070625-1500

    Eclipse Plug-in Development Environment

    Version: 3.3.0.v20070607-7N7M-DUUEF6Ez0H46IcCC
    Build id: I20070625-1500

    Eclipse Project SDK

    Version: 3.3.0.v20070607-7M7J-BIolz-OcxWxvWAPSfLPqevO
    Build id: I20070625-1500

    Eclipse Graphical Editing Framework

    Version: 3.3.0.v20070620
    Build id: 20070620-1021

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\dev\MyEclipse 6.0\eclipse\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\dev\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.0.v20070523\eclipse_1017a.dll
    -startup
    C:\dev\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070606.jar
    -exitdata
    bd8_6c
    -vm
    C:\dev\MyEclipse 6.0\jre\bin\javaw.exe

    #274909

    Loyal Water
    Member

    Hi James_Hr,
    Can you please list the exact steps you followed so that I can reproduce this at my end before filing it as a bug for the dev team.

    Thanks.

    #274910

    James_Hr
    Member

    I had both the JSP and the Java files open. With the Java file current, I high-lighted a method name then right-click and selected Refactor->Rename. Entered the new name and pressed Enter key. Then, I made the open JSP file current and noticed the flawed refactored change.

    #275025

    Loyal Water
    Member

    I was unable to reproduce this issue. Can you switch to a new workspace, create a small project and try refactoring again. Does it work ?

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: v6 JSP Refactor Failure

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