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 / Flare3dP2pExample
Created July 17, 2012 05:34
Flare3dP2pExample
package
{
//--------------------------------------------------------------------------
//
// Imports
//
//--------------------------------------------------------------------------
import flash.display.Sprite;
import flash.events.Event;
import flash.events.MouseEvent;
@yangboz
yangboz / java_checkstytle.xml
Created October 18, 2012 06:00
Ant xml for JAVA check style.
<?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/"/>
@yangboz
yangboz / JAVA_checkstyle.xml
Created October 18, 2012 06:02
Ant xml example for JAVA code check style.
<?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/"/>
@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_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_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"