Text and examples shamelessly lifted from http://docs.adobe.com/docs/en/aem/6-1/develop/sightly/block-statements.html
Initializes a helper object (defined in JavaScript or Java) and exposes it through a variable.
| { | |
| "swagger": "2.0", | |
| "info": { | |
| "description": "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.", | |
| "version": "1.0.1", | |
| "title": "Swagger Petstore", | |
| "termsOfService": "http://swagger.io/terms/", | |
| "contact": { | |
| "email": "[email protected]" | |
| }, |
| mvn -B archetype:generate \ | |
| -DarchetypeGroupId=com.adobe.granite.archetypes \ | |
| -DarchetypeArtifactId=aem-project-archetype \ | |
| -DarchetypeVersion=10 \ | |
| -DgroupId=com.nagpal \ | |
| -DartifactId=test-lab \ | |
| -Dversion=0.0.1-SNAPSHOT \ | |
| -Dpackage=com.nagpal.testlab \ | |
| -DartifactName="Test Lab Artifact" \ | |
| -DcomponentGroupName="Test Lab Component Group" \ |
Text and examples shamelessly lifted from http://docs.adobe.com/docs/en/aem/6-1/develop/sightly/block-statements.html
Initializes a helper object (defined in JavaScript or Java) and exposes it through a variable.
| cat filename.json | sed -e 's/{/\n/g' | sed -e 's/}//g' | sed -e 's/\"//g' | awk 'BEGIN {FS=","} {for (i=1; i<=NF; i++) printf("%s,",substr($i,index($i,":")+1)); printf("\n"); }' | sed -e 's/[,]*$//g' > filename.csv |