Friday, November 26, 2010

CFBuilder Navigator Filters and Starting with -clean parameter on a MAC

So basically today I wanted to add new navigator file filters to my CFBuilder workspace and came up with this great post from Jason Dean.

Jason Dean : Adding more resource navigator filters to ColdFusion Builder Eclipse

In short here are the quick instructions:
  1. Go to the Plugins Directory of your CFBuilder install
  2. Grab the file com.adobe.ide.coldfusion.ui_1.0.0.274293.jar - might be named different due to your install - basically the last numbers is your current CFBuilder build
  3. Move the file somewhere you can work, like your desktop
  4. Unzip the file - remember a jar file is just a zip and you should not have any trouble unzipping on your mac (if windows just change .jar to .zip)
  5. In an editor open up plugin.xml and plugin.properties

plugin.xml

Find the filter pattern block and add your custom filters there like so (below are the 2 I did) ...

plugin.properties

Then in the properties file just add a description for each of your new entries (filter.description.#)

Once you are done you have to place them back into your jar file, so in a terminal window run the following command. (This is assuming you have both of your files in the same directory as your jar)

Now in Jason Dean's post he states that you may have to start Eclipse or CFBuilder with the -clean parameter, which cleans and reinitializes the Workspace and I came up with this post from Adobe.

Clean and reinitialize workspace

Basically in a terminal window navigate to the Contents/MacOS/ path inside the app like so ...


No comments:

Post a Comment