facebook

Hidden .svn files sent from /src to WEB-INF/classes

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #284812 Reply

    Dimitris
    Member

    Hi there,

    I’m using TortoiseSVN as my subversion client, which as you know puts hidden .svn folders in every directory that is under version control.

    I have excluded my WEB-INF/classes directory from version control.
    The problem is that whenever I build my project, it seems that MyEclipse gets the hidden .svn folders located under my /src directory and sends them to WEB-INF/classes directory along with the compiled .class files, thus causing TortoiseSVN to behave very strangely!

    I’ve solved the problem temporarily by using an exclusion pattern (**/.svn/ ) for my source folder. However, I was wondering, shouldn’t ME exclude hidden .svn folders from the build process by default? Am I doing something wrong regarding project set up and configuration?

    Many thanks,
    Dimitris

    Installation Summary follows below:
    *** Date:
    Thursday, May 8, 2008 11:28:47 PM EEST

    ** System properties:
    OS=Windows2003
    OS version=5.2
    Java version=1.6.0_05

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

    *** Eclipse details:
    Eclipse SDK

    Version: 3.3.2
    Build id: M20080221-1800

    Eclipse Project SDK

    Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
    Build id: M20080221-1800

    Eclipse Platform

    Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
    Build id: M20080221-1800

    Eclipse RCP

    Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
    Build id: M20080221-1800

    Eclipse Plug-in Development Environment

    Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
    Build id: M20080221-1800

    Eclipse Java Development Tools

    Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
    Build id: M20080221-1800

    Eclipse Graphical Editing Framework

    Version: 3.3.1.v20070814
    Build id: 20070814-1555

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\eclipse-classic\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\eclipse-classic\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
    -startup
    C:\eclipse-classic\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
    -vm
    C:\Program Files (x86)\Java\jre1.6.0_05\bin\client\jvm.dll

    #284832

    Loyal Water
    Member

    Dimitris,
    Can you go to Windows > Prefs > Java > Compiler > Building > Output Folder and uncheck “Scrub output folder when cleaning projects”. Does it still create the file ?

    #284872

    Dimitris
    Member

    Yes, unfortunately it still creates the file with “Scrub output folder when cleaning projects” unchecked. Only the **/.svn/ exlusion pattern seems to be working so far.

    Thanks,
    Dimitris

    #284916

    Riyad Kalla
    Member

    Dimitris,
    Unless you are using a subversion plugin inside MyEclipse (like subclipse or subversive) MyEclipse doesn’t know that you are using source control. I believe if you begin using either of those two plugins inside the IDE the team support will implicitly ignore that files from building.

    #284935

    Dimitris
    Member

    OK, I’ll check using subclipse as soon as possible and post back.

    Thanks,
    Dimitris

    #285033

    Dimitris
    Member

    Hi there,

    You were right. I just installed subclipse, removed the exclusion pattern and everything now seems to work properly (so far at least 🙂

    Many thanks,
    Dimitris

    #285055

    Riyad Kalla
    Member

    Dimitris,
    Glad to hear it!

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Hidden .svn files sent from /src to WEB-INF/classes

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