Skip to content

Instantly share code, notes, and snippets.

@luckyphil
luckyphil / iso 20022 plugin
Created August 3, 2014 15:12
iso 20022 working with the ecore download and the .iso20022 repository file from iso20022.org
1. Download the eclipse emf from http://www.eclipse.org/downloads/packages/eclipse-modeling-tools/lunar
2. Download the model from http://www.iso20022.org/e_dictionary.page
3. Follow instructions to build the model plugin http://www.vogella.com/tutorials/EclipseEMF/article.html
4. Implement the tip on the site in step 2
5. Restart eclipse and load the repository file
@luckyphil
luckyphil / gist:2913388
Created June 11, 2012 23:22
When Spring Roo Addon support doesn't work, how to load and use osgi bundles
Had trouble getting addons loaded since upgrading to roo 1.2.2 – things that worked before like roo> git <tab><tab> prompting me to load the addon had stopped working.
The root cause of this is some issue with a piece called ROOBOT which has an xml file in a springsource repo that appears to be incomplete. It’s purpose is to track all the available addons so that we can search them and install them. When this failed, I started down the path of loading the bundles manually – well here is the abridged version.
1. Bundles are in an S3 (Amazon) repo – if you want to browse you need the s3 browser and an aws account.
2. If you know what you are trying to load its easy, but you need to load all the dependencies.
Example 1. Getting the GIT addon to work again in 1.2.2
osgi install --url http://spring-roo-repository.springsource.org/release/org/springframework/roo/wrapping/org.springframework.roo.wrapping.jsch/0.1.42.0010/org.springframework.roo.wrapping.jsch-0.1.42.0010.jar