Skip to content

Instantly share code, notes, and snippets.

View yangboz's full-sized avatar
:octocat:
lifelong learner

yangbo.zhou yangboz

:octocat:
lifelong learner
View GitHub Profile
@yangboz
yangboz / FLEX_build.xml
Created October 23, 2012 07:36
Ant xml example for FLEX/AS3 code build.
<?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"
@yangboz
yangboz / FLEX_asdoc.xml
Last active October 11, 2015 23:38
Ant xml example for FLEX/AS3 code document.
<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"/>
@yangboz
yangboz / FLEX_PMD.xml
Last active October 11, 2015 23:38
Ant xml example for FLEX/AS3 code PMD.
<project name="XXX_Flex_PMD"
default="flexPmdWithCustomRuleset">
<description>
Example Of Flex PMD
</description>
<property name="projecthome"
value="${basedir}"/>
<property name="flexpmd.version"
@yangboz
yangboz / FLEX_unit_test.xml
Created October 23, 2012 07:40
Ant xml example for FLEX/AS3 code unit test.
<!--
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">
@yangboz
yangboz / JAVA_findbugs.xml
Created October 23, 2012 06:52
Ant xml example for JAVA code find bugs.
<?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 -->
@yangboz
yangboz / JAVA_CPD.xml
Created October 23, 2012 06:53
Ant xml example for JAVA code CPD.
<?xml version="1.0"?>
<project name="XXX Application Build with CPD" default="run"
basedir="../">
<description>
Ant build sample for running
- CPD,
</description>
<!-- Change the paths to your individual installation directories -->
@yangboz
yangboz / JAVA_PMD.xml
Created October 23, 2012 06:54
Ant xml example for JAVA code PMD.
<?xml version="1.0"?>
<project name="XXX Application Build with PMD" default="run"
basedir="../">
<description>
Ant build sample for running
- PMD,
</description>
<!-- Change the paths to your individual installation directories -->
@yangboz
yangboz / PHP_phpcs,test, phpmd, phpcpd, pdepend,phpdoc,phpcb,phploc,lint.xml
Created October 23, 2012 07:17
Ant xml example for PHP code check style/PMD/CPD/pdepend/doc/lint/test.
<?xml version="1.0" encoding="UTF-8"?>
<!--@see:http://agile.dzone.com/news/continuous-integration-php -->
<project name="AutoPhotobookContinuousIntegrationInPHP/Jenkins"
default="build" basedir=".">
<!-- $Id: build.xml 102 2012-01-19 14:39:10Z abtris $ -->
<property name="output" location="${basedir}/build/" />
<property name="src" location="${basedir}/application/" />
<property name="basedir" value="." />
<!-- Clean dirs -->
<target name="clean">
@yangboz
yangboz / FLEX_CPD.xml
Last active October 11, 2015 23:38
Ant xml example for FLEX/AS3 code CPD.
<project name="XXX_Flex_CPD"
default="run">
<description>
Example Of Flex CPD
</description>
<property name="projecthome"
value="${basedir}"/>
<property name="flexcpd.version"
@yangboz
yangboz / FLEX_metrics.xml
Last active October 11, 2015 23:38
Ant xml example for FLEX/AS3 code metrics.
<project name="XXX_Flex_Metrics"
default="run">
<description>
Example Of Flex Metrics
</description>
<property name="projecthome"
value="${basedir}"/>
<property name="flexMetrics.version"