Spring Integration Images for use in Visio
Does anyone know where some Spring style integration images can be found for use in Visio - just a stencil or where one could possible download the images used in the Spring Integration designer GUI as seen here: http://blog.开发者_运维技巧springsource.com/wp-content/uploads/2010/10/si-sts-editor.png
FYI for anyone else interested there are these EIP stencils for Visio http://eaipatterns.com/downloads.html .
However I was hoping to use the ones that are used in the Spring Integration GUI to keep things consistent.
Cheers!
When You download and install SpringSource Tool Suite, it has a file: $STS_HOME/plugins/com.springsource.sts.config.ui_<version>.jar
.
When You unpack it with standard unzip tool, inside You'll find a folder icons/integration
. That's where all images from Spring Integration GUI editor are.
git clone https://github.com/spring-projects/spring-ide
# any icons
git ls-files "*/icons/*"
# integration icons:
git ls-files plugins/org.springframework.ide.eclipse.config.ui/icons/integration
valid for: df2c295 > 20 hours ago (HEAD, origin/master, origin/HEAD, master)
P.S. beware licensing
The images of Spring integration are part of STS bundle. You can extract them from the bundle using simple bash commands:
BASE=https://github.com/spring-projects/spring-ide/tree/master/plugins/org.springframework.ide.eclipse.config.ui/icons/integration/
RAW=https://raw.githubusercontent.com/spring-projects/spring-ide/master/plugins/org.springframework.ide.eclipse.config.ui/icons/integration/
curl "$BASE" | cheerio "a.js-directory-link" | sed "s;^;$RAW;" | xargs -I {} curl -O {}
Without the need to clone the original repository. My previous answer works on the local cloned repo.
Script uses cheerio CLI, you can donwload and install from npm. https://www.npmjs.com/package/cheerio-cli
精彩评论