Eclipse (svn-Subclipse) maven project target directory problem
posted 10 years ago
Eclipse always show files is change but actually files is not changes.
When I check the project out into my Eclipse workspace using the , the generated .classpath does not include the target directory . As a result, java classes get errors due to missing classes from the generation
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Eclipse always show files is change but actually files is not changes.
When I check the project out into my Eclipse workspace using the , the generated .classpath does not include the target directory . As a result, java classes get errors due to missing classes from the generation
posted 10 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
If you are using Maven, the target directory is generated. And a plugin like M2Eclipse generates the appropriate classpath based on dependencies.
Can you elaborate about your setup? Are you using the M2E plugin? Or Maven? Can you rebuild the project?
Can you elaborate about your setup? Are you using the M2E plugin? Or Maven? Can you rebuild the project?
[OCP 21 book] | [OCP 17 book] | [OCP 11 book] | [OCA 8 book] [OCP 8 book] [Practice tests book] [Blog] [JavaRanch FAQ] [How To Ask Questions] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Samdani masum
Ranch Hand
Posts: 38
posted 10 years ago
My environment details :
1. Eclipse Luna 4.4.1
2. subclipse -(eclipse svn client) - 1.10
3. M2-eclipse -1.5 (it is built in eclipse ide)
4. Develop java ee web app
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
Jeanne Boyarsky wrote:If you are using Maven, the target directory is generated. And a plugin like M2Eclipse generates the appropriate classpath based on dependencies.
Can you elaborate about your setup? Are you using the M2E plugin? Or Maven? Can you rebuild the project?
My environment details :
1. Eclipse Luna 4.4.1
2. subclipse -(eclipse svn client) - 1.10
3. M2-eclipse -1.5 (it is built in eclipse ide)
4. Develop java ee web app
posted 10 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
If you right-clcikc the project and choose Team > Commit, what files are listyed as having been changed? It times, I have found that various Eclipse .settings or project are what are changed. This can happen if you don't store the Eclipse files in Subversion. If that is the case, you might want to configure subclipse to ignore such files.
| sunglasses are a type of coolness prosthetic. Check out the sunglasses on this tiny ad: The new gardening playing cards kickstarter is now live! https://www.kickstarter.com/projects/paulwheaton/garden-cards |








