facebook

MyEclipse has trouble opening up various XML files

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #284414 Reply

    Mork
    Participant

    Perhaps I’m doing this wrong, but if I go to the Package Explorer and double click an XML file, I usually get a dialog box saying something like it can’t open this file type.

    When I then right-click the XML file and say Open…with, I see that MyEclipse is stuck on the last type of MyEclipse editor I used. Maybe it was Struts or JSF.

    In Hibernate, with the a mapping file, even if I click Open…with the MyEclipse XMLeditor, I can get: “Cannot display document contents.”

    Perhaps I’m doing something wrong, but it seems that MyEclipse isn’t figuring out which Editor would be best for the XML file I’m opening.

    Anything I can do here?

    Thanks in advance.

    M

    #284433 Reply

    Loyal Water
    Member

    Can you check which editor is *.xml file associated with under Windows > Pref > General > Editors > File association? Is it associated with the MyEclipse XML Editor ?

    Is this happening with just XML files?

    #284434 Reply

    Mork
    Participant

    Yes, that one is in there, and “locked” (so it can’t be removed) with a lot of other editors.

    There are lots of editors in this list.

    And, yes, this just happens with xml files.

    What to do now?

    Mork

    #284439 Reply

    Loyal Water
    Member

    Can you switch to a new workspace and test this again. I just want to eliminate the option of this issue being related to the workspace.

    #285965 Reply

    bigTHEW
    Member

    I am having the same issue as well. I tried to switch my workspace but that doesn’t seem to work. My subscription has not expired but all the MyEclipse editors I have appear to be locked

    #285990 Reply

    Loyal Water
    Member

    My subscription has not expired but all the MyEclipse editors I have appear to be locked

    What do you mean by the editors are locked? Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

    If you right click on a file in the package explorer and go to Open WIth, do you get a list of editors showing up?

    #286022 Reply

    bigTHEW
    Member

    What I mean is that when I go to Preferences -> General -> Editors -> File Associations and I choose an extension like XML the associated editors for that file extension are locked. This is for all the MyEclipse editors that associated with that file type such as the MyEclipse XML editor display messages like (locked by ‘XML’ content type)(locked by XML (Illformed) content type)…

    When i got to the XML content type, the file associations are all locked. I have other editors in Eclipse as well where this is not occurring.

    Below is my configuration data.
    *** Date:
    Thursday, June 19, 2008 3:45:09 PM EDT

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

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710

    Eclipse Graphical Editing Framework

    Version: 3.3.1.v20070814
    Build id: 20070814-1555

    Eclipse Platform

    Version: 3.3.1.R33x_r20070911-_19UEkpF-B7Uh2hKy75y
    Build id: M20070921-1145

    Eclipse RCP

    Version: 3.3.1.R33x_r20070802-8y8eE8sEV3Fz0z0GlHJrXvTAUS
    Build id: M20070921-1145

    Eclipse Java Development Tools

    Version: 3.3.1.r331_v20070629-7o7jE72EDlXAbqAcnbmyg1rf8RIL
    Build id: M20070921-1145

    Eclipse Plug-in Development Environment

    Version: 3.3.1.R33x_r20070802-7N7M3D1VIA_52JsDFsEC
    Build id: M20070921-1145

    Eclipse Project SDK

    Version: 3.3.1.R33x_r20070802-7M7J78_mu1mnlRa7A4Ns52XeZ6D0
    Build id: M20070921-1145

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\WebProjects\Program Files\eclipse\Installations\MyEclipse6\eclipse\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\WebProjects\Program Files\eclipse\Installations\MyEclipse6\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.1.R33x_v20070828\eclipse_1020.dll
    -startup
    C:\WebProjects\Program Files\eclipse\Installations\MyEclipse6\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
    -exitdata
    cf8_c0
    -vm
    C:\WebProjects\Program Files\eclipse\Installations\MyEclipse6\jre\bin\javaw.exe

    #286065 Reply

    Loyal Water
    Member

    When i got to the XML content type, the file associations are all locked. I have other editors in Eclipse as well where this is not occurring.

    This is normal MyEclipse behavior but you should still be able to use these editors when your working with MyEclipse. I’m not sure what issue you are facing? Are you unable to open your xml file using the MyEclipse XML editor since it is locked by MyEclipse?

    #286067 Reply

    bigTHEW
    Member

    What happens is when I open my xml file using the MyEclipse xml editor I get the following message.

    Unsupported content type in editor
    To associated file extension with a supported content type,
    please se Content Types Preference page

    then it just defaults to a plain text editor.

    #286096 Reply

    Loyal Water
    Member

    A few things I would like to point out:-
    1. Even though the editor seems locked, go to Preferences -> General -> Editors -> File Associations and make sure you associate the MyEclipes XML editor with the*.xml file by hitting the “default” button.

    2. Can you switch to a new workspace space (File > Switch Workspace > Temp) and try opening an xml file again. Does it work?

    3. Are you facing this issue with all xml files or one particular file?

    #286110 Reply

    bigTHEW
    Member

    Yeah I am able to set the editor as the default. I only looked at the editors being locked as a symptom because it was doing it for all the MyEclipse editors I use. I primarily use the MyEclise CSS, XML and HTML editors. All of them display messages as being locked and when I open a file using those editors, they always open up instead in the plain text editor after giving me a message telling me it is an unsupported content type in editor. I have tried different workspaces, along with creating new workspaces without success. I also have multiple css, xml and html files across multiple projects and file locations and they all open giving me the same message. If I open these files in a non-MyEclipse editor those editors will render the file just fine.

    I actually prefer the MyEclipse editors over the others because of the features they come with as well as the coloring of the tags. At first I thought it had to do with my license being expired but it appears that my license should be still valid.

    #286148 Reply

    Loyal Water
    Member

    Can you go to Windows > Preferences > MyEclipse > Subscription and make sure your license is still valid.

    #286209 Reply

    bigTHEW
    Member

    I Have a professional subscription that shouldn’t expire until 2009
    Subscription expiration date (YYYYMMDD): 20090327

Viewing 13 posts - 1 through 13 (of 13 total)
Reply To: MyEclipse has trouble opening up various XML files

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