This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is a sample recipe | |
println "\nTHIS IS SAMPLE SCRIPT:" | |
println "\nLET'S CREATE A SAMPLE HELLOWORLD PROJECT FROM A ZIP LOCATED ON DROPBOX...\n" | |
println "\nCalling 'project-create -o temp -DartifactId=helloworldproject -qf -p https://dl.dropboxusercontent.com/u/23850645/helloworld.zip'\n" | |
project-create -o temp -DartifactId=helloworldproject -qf -p https://dl.dropboxusercontent.com/u/23850645/helloworld.zip | |
println ("\nDone creating project temp. Go to " + new File("temp").absolutePath + "\n") | |
println ("\nNOW LET'S BUILD IT using 'pb -DskipTests=true -T 1.5C'...") | |
Thread.sleep(4000) | |
pb -DskipTests=true -T 1.5C | |
println ("\nCOMPILATION DONE. LET'S RE-INITIALIZE THE DB with 'db-drop' and 'db-initialize'...\n") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project.groupId='com.magnet' | |
project.artifactId='helloworld-project' | |
project.version='1.0.0' | |
project._package='com.magnet.connect.helloworld' | |
project.type='logic' | |
project.platform_version='2.1.0' | |
project.package='com.magnet.helloworldproject' | |
include(HelloWorldControllerDefaults) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2013 Magnet Systems, Inc. All rights reserved. | |
*/ | |
package com.magnet.tools.cli.test | |
import com.magnet.tools.cli.AbstractCommand | |
import com.magnet.tools.cli.Constants | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Generated by Magnet Plugin v1.1.3-SNAPSHOT on 2013-12-12 11:49:27.593 */ | |
project.port='8080' | |
project.host='localhost' | |
project.protocol='http' | |
project.transactional='true' | |
project.jdbcHost='localhost' | |
project.jdbcPort='3306' | |
project.jdbcSystemEnabled='true' | |
project.jdbcAppEnabled='true' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
command.summary=Register or unregister custom App Builder commands | |
command.options=[-v] [-u <commandName>] [[-i] <sourceFile>] | |
command.description=\n \ | |
You can write your own custom commands to use with the App Builder. \n \ | |
Once you have created the source file with the custom commands, \n \ | |
register the file with the App Builder by specifying the path or URL \n \ | |
for the file.\n \ | |
\n \ | |
You also use the register command to unregister a previously registered \n \ | |
command by passing the -u option and the command.\n \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (c) 2013 Magnet Systems, Inc. All rights reserved. | |
*/ | |
package patch | |
import com.magnet.tools.cli.AbstractCommand | |
/** | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project-create -n sample -vq -Dplatform_version=2.2.0-SNAPSHOT | |
api-add -qv simple | |
// comment out the following is not necessary | |
project-build -DskipTests=true | |
db-initialize -qv | |
server-start | |
server-log | |
server-stop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a sample request: | |
# Request | |
http://maps.googleapis.com/maps/api/distancematrix/json?origins=435+Tasso+Street+Palo+Alto+CA&destinations=Embarcadero+Street+San+Francisco+CA&sensor=false&mode=driving&language=en&units=imperial | |
# This is the expected response: | |
# Response | |
{ | |
"destination_addresses" : [ "Embarcadero, 298 Market Street, San Francisco, CA 94111, USA" ], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Request | |
http://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=true | |
#Response | |
{ | |
"results" : [ | |
{ | |
"address_components" : [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<definitions xmlns:tns="http://www.bea.com/examples/Trader" | |
xmlns:wsr="http://www.openuri.org/2002/10/soap/reliability/" | |
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" | |
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" | |
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" | |
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" | |
xmlns:soap12enc="http://www.w3.org/2003/05/soap-encoding" | |
xmlns:conv="http://www.openuri.org/2002/04/wsdl/conversation/" |
OlderNewer