Tuesday, August 7, 2007

Starting w/the Wizard

Last week I met Kurt Stam at a JBoss ESB class and had the chance to get a walkthrough on patch submittals.... Here's what I learned:


  1. Start w/the JBoss IDE (I didn't but it may save you time|trouble if you do)
  2. Check out the module your wanting to play w/for me it was: http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/tools/esbwizard
  3. Modify the build.properties file so that your changes to source code will be available when you debug your changes as a plugin:
    1. Use the Plug-in Manifest editor (right click the plugin.xml file -> Open With -> Plug-in Manifest Editor | or double click if the file association already exists) and make the changes in the classpath area on the runtime tab or edit the build.properties file by hand. Either way you will be adding the projects bin directory to bin.includes entry in the build.properties file.
  4. Make your changes to the code.
  5. When your ready to see how it behaves then run it as an eclipse application
    1. Right click project -> run as -> eclipse project

Pushing the (supposed) patch to the people who need to see it was also easy.
  1. If you don't have one create a Jira account at:
  2. Create a bug... I left everything default (except the summary and the details) and they knew what to change.
  3. Create a patch file...
    • Right click project -> Team -> Create Patch
      • This will create a text file that the developer can apply to their project... don't worry about the absolute file names if you go to check out the resultant patch. There's an option when applying the patch to disregard x leading designators.
  4. Browse your bug in jira and attach the patch file.
  5. Wait to get told what you broke.

Anyway, it's a fun start. I'd love to know if this actually helps anyone.

No comments: