• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Eclipse (svn-Subclipse) maven project target directory problem

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
svnp.png
[Thumbnail for svnp.png]
 
author & internet detective
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Samdani masum
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic