- This topic has 5 replies, 2 voices, and was last updated 15 years, 2 months ago by support-joy.
-
AuthorPosts
-
DavyBSGMemberHi,
I’ve seen a similar problem to this on the support forum but I tried the suggested fix and it did not resolve my issue.
I have installed
MyEclipse Version: 7.5 Build id: 7.5-20090609
SubEclipse for SVN
SubVersive for SVNThe problem is when I export a java project to a jar file, all the svn files are packaged into the jar too. The other form said that I only need install the SVN plugins but the problem still occurs after I have done this and also restarted MyEclipse. The only way I can get around this is to actually share each project with the SVN repository and after this is done the svn files are no longer included in the jar file.
Is there a way that I can get MyEclipse to ignore the svn files for all my projects without having to manually filters them (once subversion is installed this should not be necessary)
Thanks for your help
Dave
support-joyMemberDave,
Can you go to Windows–>Preferences–>Java–> Compiler–>Building–>Output Folder and uncheck “Scrub output folder when cleaning projects”.
After doing the above step, try to create the .jar file again and observe whether the jar file contains svn files.
Please let me know.
DavyBSGMemberHi Joy,
Thanks for your response. I’ve tried the above but unfortunately it still exports the svn files into the jar.
regards
Dave
support-joyMemberDave,
Sorry to hear that you are running into issues. I’ll escalate the issue to the Dev team and they’ll get back to you.
Mean while can you try this work around:
1) Can you go to Windows–>Preferences–>Java–> Compiler–>Building–>Output Folder.
2) In Filtered resources text box, type *.svn
3) If you have any entry in the text box, add the above as a comma separated value.
DavyBSGMemberHi Joy,
Thanks for your email. I followed the above suggestion but unfortunately it did not fix my issue. However, I then tried the steps below and am happy to report that the jar file is now being built without the svn files.
1. Create a new Java project
2. Check out files from SVN
3. Check box to scrub output folder when cleaning project
4. Remove “.svn” from filter resources list
5. Rebuild all projects
6. Restart MyEclipse (Probably not needed)So it looks like any projects that were created before I installed the SVN plugins continue to include the .svn files as part of the exported jar but any new projects that I create after installing the plugins are behaving correctly.
I will just have to remove and recreate all my projects now and everything should be fine.
Thanks for your helpBest regards
David
support-joyMemberDavid,
Good to hear that you are all set. 🙂
Once again sorry for the inconvenience. -
AuthorPosts