Created
February 8, 2016 12:55
-
-
Save savelee/59c57584a1663bfc7dfe to your computer and use it in GitHub Desktop.
Maven profiles, for sencha environment setting
This file contains hidden or 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
| <properties> | |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
| <!-- Default Sencha Cmd build environment --> | |
| <sencha.env>testing</sencha.env> | |
| </properties> | |
| <profiles> | |
| <!-- Development profile --> | |
| <profile> | |
| <id>development</id> | |
| <activation> | |
| <property> | |
| <name>env</name> | |
| <value>development</value> | |
| </property> | |
| </activation> | |
| <properties> | |
| <sencha.env>development</sencha.env> | |
| </properties> | |
| </profile> | |
| <!-- Test profile --> | |
| <profile> | |
| <id>testing</id> | |
| <activation> | |
| <property> | |
| <name>env</name> | |
| <value>testing</value> | |
| </property> | |
| </activation> | |
| <properties> | |
| <sencha.env>testing</sencha.env> | |
| </properties> | |
| </profile> | |
| <!-- Production profile --> | |
| <profile> | |
| <id>production</id> | |
| <activation> | |
| <property> | |
| <name>env</name> | |
| <value>production</value> | |
| </property> | |
| </activation> | |
| <properties> | |
| <sencha.env>production</sencha.env> | |
| </properties> | |
| </profile> | |
| </profiles> | |
| //${env.development} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment