facebook

Browser URL (OSX vs XP)

💡
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 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #243077 Reply

    mark.a.oneil
    Member

    Hello,

    I am working on two systems, one OS X and one XP, running what I believe to be identical J2EE development environments (JVM 1.4.2, Tomcat 5.0, Eclipse 3.1, MyEclipse 4.0.3 GA, same configurations).

    When I deploy locally and try and access the app I have to use different URLs in the MyEclipse Web Browser. eg:
    OS X: localhost:8080/helloworld/helloworld.jsp
    XP: localhost:8080/helloworld/WebRoot/helloworld.jsp

    I obviously(?) do not have identical installations or there is simply a difference in the way the XP version deploys.

    I would like to know which.

    Thank you,

    -m

    #243105

    Riyad Kalla
    Member

    Mark,
    I believe your projects are setup differently. The case on XP shouldn’t happen, the path in OS X is correct.

    Open your project properties and go to MyEclispe-Web preferences, are they the same for both projects?

    Also to check if you have the same setups, you can do MyEclipse > About > Configuration Details

    #243139

    mark.a.oneil
    Member

    Hello,

    Yes I thought it odd that the paths would be different.

    Properties:
    On my OS X project I have:
    Web-root folder: WebRoot
    Web Context-root: /helloworld

    On my XP project I have:
    Web-root folder: /WebRoot
    Web Context-root: /helloworld

    So no they do not match exactly, but I cannot edit the Web-root folder entry….

    As for the configuration of Eclipse/MyEclipse I just noticed that things are a bit out of sync eg:
    On OS X I am using 3.1 started with 1.4.2_9 and on XP I am using 3.1.1 started with JVM1.5 (though I have the SDK for Tomcat 5 set to be 1.4.2)
    *** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_05

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.0.3 GA
    Build id: 20051025-4.0.3-GA

    -m

    #243143

    Riyad Kalla
    Member

    M, switch to your navigator view on XP, and open the .mymetadata file, in there you should be able to edit the path and save it. Then close and reopen your project (be sure to remove any deployments ahead of time) then see if that does the trick.

    #243228

    mark.a.oneil
    Member

    First I created a project and made certain it worked as expected (removed the / from the WebRoot entry), then I removed deployments for the dysfunctional helloworld, edited it’s .mymetadata file to mirror the WebRoot entry of the functioning project, saved, closed and reopened the project for good measure, redeployed and no joy…. I am certain that it may be something significant that I did on creating the project, but cannot see it. If you wish to pursue this further that is okay with me, if not that is fine also. This project is only a small test anyway so it is not a problem on my end – I am happy to note that I should test first before getting heavily into a project.

    I believe that the dysfundctioinal project was created with a WebRoot of /WebRoot and the one that works was created with WebRoot.

    regards,
    -m

    #243253

    Scott Anderson
    Participant

    I believe that the dysfundctioinal project was created with a WebRoot of /WebRoot and the one that works was created with WebRoot.

    Ah, that makes some sense as the name of the directory shouldn’t include the ‘/’ character since it’s reserved. I’d try recreating the project and moving the artifacts over as a fast way to get moving again.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Browser URL (OSX vs XP)

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