Results 1 to 6 of 6

Thread: Weird problem with STS/Eclipse and SVN entries file

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Posts
    5

    Default Weird problem with STS/Eclipse and SVN entries file

    Unfortunately I guess I found a weird bug on STS 2.5.2 (built upon Eclipse 3.6.1) when using SVN as version control system.

    As far as I noticed everytime someone updates a given project from any SVN client (like SmartSVN, eSVN or anyone else) and then refreshes that same project on STS the .svn/entries file from the project root is deleted, so the SVN reference to that project is lost.

    The weirdest of it all is that it only happens on Maven WAR projects. The other types of Maven projects (POM, JAR, EAR) don't suffer this issue. I confess I didn't verify against other types of so called web projects like Dynamic Web Projects.

    This bug (?) happens on Windows and Linux (Debian) STS distos.

    Does anyone know any workaround for this? Is that a known issue? I've searched the web and haven't found any reference.
    Last edited by rduval; Mar 14th, 2011 at 07:41 AM.

  2. #2
    Join Date
    Oct 2008
    Posts
    5

    Default Workaround found

    After some more researching I've found a similar problem reported on MyEclipse forum which led me to think that the problem could not be STS but Eclipse itself. With that in mind I finally googled to Anil Samuel blog who faced the same issue.

    The workaround is simple, just open .project file on your WTP web project and remove the following XML blocks:

    Code:
            <buildCommand>
                <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
                <arguments>
                </arguments>
            </buildCommand>
    And

    Code:
            <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
    That will fix the issue between STS and SVN.

    Well, do you think it should be reported as a bug?

  3. #3
    Join Date
    Mar 2011
    Location
    Brazil
    Posts
    1

    Default RE: Workaround found

    Thanks for the workaround rduval...

    I had the same problem and not found any solution.

    This workaround helped me a lot.

  4. #4
    Join Date
    Mar 2011
    Location
    Sofia, Bulgaria
    Posts
    22

    Default

    Same problem with STS 2.6.0.M2 built with Eclipse 3.6.2

    Strangely enough, I can reproduce it on my work machine (Win7 x64), but not on my home machine (same STS build, but on Vista SP2 x64)

  5. #5
    Join Date
    Oct 2008
    Posts
    5

    Default

    I've been able to reproduce the bug on Eclipse Helios alone so I filed a bug on Eclipse's Bugzilla.

    https://bugs.eclipse.org/bugs/show_bug.cgi?id=339927

    Regarding STS, I noticed the issue on Windows 7 32 bits, running STS 2.5.2.SR1 and on Linux Debian 2.6.32 with Gnome running STS 2.5.2.RELEASE.
    Last edited by rduval; Mar 15th, 2011 at 12:10 PM.

  6. #6
    Join Date
    May 2011
    Posts
    1

    Default

    same thing on Window XP 32, STS 2.5.2

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •