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
1. Download the latest AndroidStudios(AS) | |
2. Install Genymotion simultor. | |
3. Download 'gradle-2.2.1-all.zip',and unzip into 'GRADLE_PATH=gradle-2.2.1-all' | |
4. In AS, search 'Global Gradle settings. Unselect 'offline work', | |
select 'use local gradle distribution', and specify 'Gradle home' to the GRADLE_PATH directory. | |
5. Download 'android-sdk_r24.3.3-macosx.zip' and unzip into 'ANDROID_SDK_PATH=android-sdk-macosx' | |
6. In AS, search 'Android SDK',and specify 'Android SDK Location' to the ANDROID_SDK_PATH directory. | |
references: |
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
set -ex | |
[ "$ACTION" = build ] || exit 0 | |
[ "$BUILD_VARIANTS" = "normal" ] || exit 0 | |
[ "$CONFIGURATION" = "Release" ] || exit 0 | |
dir="$TEMP_FILES_DIR/disk" | |
dmg="$HOME/Desktop/$PROJECT_NAME.dmg" | |
rm -rf "$dir" |
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
1. TO run a spring shell project in IDEA | |
[edit configurations]->add Application->specify [Main class] as "org.springframework.shell.Bootstrap" | |
2. TO run a spring shell project with maven (exec-maven-plugin) | |
$ cd path/to/projectRoot (where pom.xml exists) | |
$ mvn exec:java -Dexec.mainClass="org.springframework.shell.Bootstrap" | |
reference: | |
http://docs.spring.io/spring-shell/docs/current/reference/htmlsingle/#d4e260 |
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
brew tap homebrew/versoins | |
brew install FORMULA # here is maven30\maven31\maven2 etc... | |
brew unlink maven2 # suppose that maven2 (version 2.2.1) is installed previously | |
brew link maven30 # now maven30 (version 3.0.x) will substitute maven2 | |
# to revert this process, no need to reinstall maven2. just | |
brew unlink maven30 | |
brew link maven2 |
NewerOlder