- This topic has 6 replies, 3 voices, and was last updated 17 years, 1 month ago by
Riyad Kalla.
-
AuthorPosts
-
DimitrisMemberHi 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,
DimitrisInstallation 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 SDKVersion: 3.3.2
Build id: M20080221-1800Eclipse Project SDK
Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
Build id: M20080221-1800Eclipse Platform
Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
Build id: M20080221-1800Eclipse RCP
Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
Build id: M20080221-1800Eclipse Plug-in Development Environment
Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
Build id: M20080221-1800Eclipse Java Development Tools
Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
Build id: M20080221-1800Eclipse Graphical Editing Framework
Version: 3.3.1.v20070814
Build id: 20070814-1555Eclipse 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.dllMay 9, 2008 at 9:12 am #284832
Loyal WaterMemberDimitris,
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 ?May 10, 2008 at 10:37 am #284872
DimitrisMemberYes, 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,
DimitrisMay 12, 2008 at 3:04 pm #284916
Riyad KallaMemberDimitris,
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.May 13, 2008 at 4:58 am #284935
DimitrisMemberOK, I’ll check using subclipse as soon as possible and post back.
Thanks,
DimitrisMay 15, 2008 at 2:25 pm #285033
DimitrisMemberHi 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,
DimitrisMay 16, 2008 at 10:13 am #285055
Riyad KallaMemberDimitris,
Glad to hear it! -
AuthorPosts