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"?> | |
<project name="XXX Application Build with find bugs" default="run" | |
basedir="../"> | |
<description> | |
Ant build sample for running | |
- findbugs, | |
</description> | |
<!-- Change the paths to your individual installation directories --> |
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 intended to be a simple build file, created a suggestion for the necessary steps need to utilize the FlexUnit4 Ant task. | |
For the most detail when running this build, call "ant -v clean package". The build uses a simple lifecycle of: | |
clean->init->compile->test->package | |
The end goal is to produce a zip of a website you could deploy for your application. This build is not intended to be an example | |
for how to use Ant or the Flex SDK Ant tasks. This is just one possible way to utilize the FlexUnit4 Ant tasks. | |
--> | |
<project name="XXX_Flex_UnitTest" basedir="." default="test"> |
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 name="XXX_Flex_PMD" | |
default="flexPmdWithCustomRuleset"> | |
<description> | |
Example Of Flex PMD | |
</description> | |
<property name="projecthome" | |
value="${basedir}"/> | |
<property name="flexpmd.version" |
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 name="GODPAPER_ASDOC" | |
basedir="." | |
default="docs"> | |
<property name="FLEX_HOME" | |
value="C:\Software\FLEX\sdks\4.6.0"/> | |
<property name="OUTPUT_DIR" | |
value="${basedir}/target/asdoc"/> | |
<taskdef resource="flexTasks.tasks" | |
classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"/> | |
<property name="flexlib" location="${FLEX_HOME}/frameworks"/> |
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"?> | |
<!-- myMXMLCBuild.xml --> | |
<project name="XXX_Flex_Compile" | |
basedir="." | |
default="main"> | |
<property name="FLEX_HOME" | |
value="C:\Flex\sdks\flex_sdk_3.5.0_code_coverage"/> | |
<property name="TARGET_PLAYER" | |
value="11.3.0"/> | |
<property name="APP_ROOT" |
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"?> | |
<project name="XXX Application Build with check style" default="run" basedir="../"> | |
<description> | |
Ant build sample for running | |
- checkstyle, | |
</description> | |
<!-- Change the paths to your individual installation directories --> | |
<property name="checkstyle.home.dir" location="${basedir}/tools/checkstyle/"/> |
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
package | |
{ | |
//-------------------------------------------------------------------------- | |
// | |
// Imports | |
// | |
//-------------------------------------------------------------------------- | |
import flash.display.Sprite; | |
import flash.events.Event; | |
import flash.events.MouseEvent; |
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
CHBIN-M-Q0AA@[~/Projects] | |
$> find ./dingding_bonus -type d -print | sed -n -e '/[0-9]\{8,8\}$/p' | sed -n -e 's/\(.*\)\/\([0-9]\{8,8\}\)$/\1\/\2##\2/gp;' | awk -F '##' '{if(int($2) < cmpVl)print $1}' cmpVl="20150910" | |
./dingding_bonus/20150902 | |
./dingding_bonus/20150903 | |
./dingding_bonus/20150904 | |
./dingding_bonus/20150905 | |
./dingding_bonus/20150906 | |
./dingding_bonus/20150907 | |
./dingding_bonus/20150908 | |
./dingding_bonus/20150909 |
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
<!-- | |
@ref: http://chrigl.de/blogentries/integration-of-pylint-into-jenkins | |
@ref: http://redsolo.blogspot.com/2007/11/hudson-embraces-python.html | |
@more: http://bitten.edgewall.org/wiki/Documentation/commands.html | |
--> | |
<project default="all" basedir="../"> | |
<!-- | |
Define an environment variable pointing to PyLint folder or change this | |
--> | |
<property environment="env"/> |
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
@implementation | |
- (void)setup { | |
// Non-UI initialization goes here. It will only ever be called once. | |
} | |
- (id)initWithNibName:(NSString *)nibName bundle:(NSString *)bundle { | |
if ((self = [super initWithNibName:nibName bundle:bundle])) { | |
[self setup]; | |
} |