Thursday, 10 December 2009

STS Continues to Pain Me...

...this time when re-naming your project. Turns out tc Server doesn't pick up the re-name and issues arise. With the help of Wadud, we worked out that you need to find the Server.xml for your tc server and change any references to the old naming convention of your project. Also link the file with the editor (a backward and forward arrow button in STS). This change needs to be made for your pom.xml file as well as  your org.eclipse.wst.common.component file.

Clean  *everything* (much safer this way) and try again.


Such a pain, you'd think that tools like STS would sort this out for you instead of having to go through this.

1 comment:

  1. Should just be a right-click > rename (refactor) and the IDE should do the lot for you. It knows it's a maven project, deployed to TC server. It has all the info it needs to make this easy for you...

    #fail

    ReplyDelete

Search This Blog