- This topic has 3 replies, 2 voices, and was last updated 11 years, 2 months ago by support-tony.
-
AuthorPosts
-
Christopher CrottyMemberMyEclipse 2013 copies the source files into the output dir when it builds java projects, and I can’t seem to find a configuration setting to stop this from happening.
The same projects do not do this in MyEclipse 10.7.1The problem is that it copies the source control (.svn) directories as well and we have had issues where the project becomes corrupted due to this.
Anyone know what/where this config option may be?
Thanks,
Chris
support-tonyKeymasterChris,
I’m not sure how this could happen. Can you provide some more details to help us replicate the issue and track down the cause?
- Are you referring to the normal project build where source files are compiled,with the class files going into the defined output folder and all other resources from the source folders are copied to the output folder? Or are you referring to deployment to a web server, when class files and resource files are copied to the WEB-INF/classes folder? Or something else?
- Please paste or attach the output from MyEclipse->Installation Summary->Installation Details.
- Can you you attach a zip file of the project, if possible? You can exclude the source folder contents, if you wish. This may help us replicate the problem and examine all the settings files. If you can replicate it with a simple project that you can attach, that would be even better.
- Have you installed any 3rd party plug-ins that might affect the build?
Christopher CrottyMember1. This is a normal java project with class files going into a ‘bin’ directory.
2. I’ve attached the installation summary
3. I will see if I can reproduce this on a new project.
Some more bits of information:
1. It only seems to be copying the .svn directories from source into the bin directory, not the source files themselves.
2. These projects were version 10.7 projects that were automatically updated.Attachments:
You must be logged in to view attached files.
support-tonyKeymasterChris,
Thanks for the information. I guess you are using a version of Subversion prior to 1.7, since from that point on, the .svn folder only appears in the base folder of the working copy (which I assume is your eclipse project).
As you are experiencing this with a normal Java project, it seems to me that this may be a base eclipse/subversion problem. On searching, I found this page and this page which may be helpful. I’ve also seen reference to the project not being recognized as a subversion controlled project, which a reload (delete the project without deleting the files then import the project again) might fix.
Basically, the answers in the above linked pages seem to suggest that a manual fix is to configure the build path to exclude the .svn folders.
If this doesn’t help, please let us know which version of subversion you’re running and which subversion eclipse plugin you’re using. A sample project showing the error would also help.
-
AuthorPosts