facebook

Saving XML files in Linux

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #290643 Reply

    felixnine
    Member

    I’m using MyEclipse 6.5 on Linux, Ubuntu 8.04. If I edit an XML file or JSP (I think anything with tags) and then try to sync with a SVN repository, the diff of my local version and the remote file indicates that the whole file has changed; it doesn’t give a line-by-line comparison. The repository contains files that were edited on Windows. The reason I’m starting to think it’s a MyEclipse issue is because if I edit files with Emacs and then do an SVN diff outside of MyEclipse, it’s fine. It seems like as soon as MyEclipse touches the file, it gets corrupted or something.

    Is this a line break issue? Encoding? I’m at the end of my rope here. Thanks.

    #290662 Reply

    Loyal Water
    Member

    It’s the SVN client behavior that determines the diff calculation. If your using Subclipse versus Subversive, the behaviors could be different. Also there might be settings under Window > Prefs > Team > SVN that you could jack with to check this out.

    #290837 Reply

    felixnine
    Member

    I solved my problem by setting the line delimiters to Windows in Window > Prefs > MyEclipse… > Files and Editors > XML. I’ve since upgraded to 7.0-M2 and the option is GONE, completely gone. What do I do now? Where did it go?

    #290840 Reply

    Loyal Water
    Member

    There is a new universal setting under General > Workspace > New text file line delimiter… That should do the trick.

    #290842 Reply

    felixnine
    Member

    Ah, that did it. Thanks!

    #290856 Reply

    Loyal Water
    Member

    Your welcome.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Saving XML files in Linux

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

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