Better ROI with FileSync on RAD 7 and JBoss
You use RAD 7 and want to develop comfortably with JBoss AS 4 – 5 ?
Here you learn how to use my favorite Eclipse plugin with my favorite application server on RAD 7 (if you absolutely must).
Some facts:
1. RAD 7 is based on Eclipse 3.2.1 and can be upgraded to maximum 3.2.2
2. FileSync’s creator’s Eclipse update site does not contain the version of FileSync which will work on Eclipse 3.2.x
3. You can get the older version of FileSync for Eclipse 3.2.x here
Hack the RAD to use FileSync, because it will not accept it easily.
Shut down RAD.
1. Copy de.loskutov.FileSync_1.3.2.1.jar to IBM/SDP70Shared/plugins
2. Find the eclipse dir which is SDP70 if you installed from scratch without giving an existing Eclipse 3.2.1 installation to IBM Installation Manager
3. Edit eclipse/configuration/org.eclipse.update/platform.xml with something better than Notepad like TextPad or Notepad++
4. Find the tag <site enabled=true list=”plugins/….,…” policy=”USER-INCLUDE” updateable=”false” url=”file:../../..Program Files/IBM/SDP70Shared/”> and add “,plugins/de.loskutov.FileSync_1.3.2.1.jar” to the list attribute
5. Delete eclipse/org.eclipse.core.runtime and org.eclipse.osgi
6. Fireup RAD
Now you have File Synchronization in every project properties, use it wisely. FileSync is a builder which is invoked each time that you edit and save a resource of your project (if Auto Build is enabled) and synchronizes the configured directories. You want to sync directories from workspace to exploded deployment on the server’s deploy dir.
Play around with mapping of directories to learn how and where Eclipse compiles and saves Java class files, resources, JSPs and everything else. For classes there is the Output Dir in Project>Build Path>Source, web resources remain in place.
If you want to launch JBoss server from inside RAD then you need to hack a little to add versions of JBoss > 4.0.
Read all about how to do that in the next post
Enjoy!














