Using Fatwire plugin for Eclipse
28/08/2010 § 4 Comments
Fatwire Content Server doesn’t offer any official plugin with Eclipse at the moment, but digging on the web, I found this nice plugin at http://www.nl.fatwire.com/ide/installation.html.
The documentation is not extensive, but you can manage to install it quite quickly.
After installing the plugin for Eclipse (I think you need at least Eclipse 3.4), you need to:
1. Right click on the project, select Enable ContentServer
2. Right click on the project, select ContentServer and then Checkout to checkout all the JSPs
3. Enter username, password, hostname, port, and servlet path (such as “/ContentServer”)
4. You can select the publication you’d like – publication is a Site in Fatwire “world”
5. Select the folder where you want to download all Templates and CSElements. Template and CSElements are the two main Fatwire code components (JSPs)
and now you easily update and commit your JSPs from Eclipse and take advantage of all Eclipse cool features.
Just a couple of hints:
* Before you commit a jsp it’s safer to update it first. So right click on your JSP in Project Explorer View, select “Content Server” and then “Update” . After that select again “Content Server” and then “Commit”. This is because I have noticed that sometimes the plugin creates issues if you commit before updating.
* Template and CSElement tables needs to have tracking off to let developers commit.
The plugin doesn’t work perfectly sometimes especially if you edit your Template/CSElement from a IDE/Test Editor different than Eclipse.
Last suggestion, having disable tracking from “Template” and “CSElement” tables, you need another system to keep track of your change…use SVN!