-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathjsdoc.build.xml
104 lines (97 loc) · 6.54 KB
/
jsdoc.build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<?xml version="1.0" encoding="UTF-8"?>
<project name="Test-JsDoc" default="jsdoc" basedir=".">
<property name="js.dir" location="${basedir}/assets/js"/>
<property name="lib.dir" location="${basedir}/lib"/>
<property name="cocos2d.dir" location="${lib.dir}/cocos2d"/>
<property name="jsdoc.dir" location="${basedir}/tools/jsdoc-toolkit"/>
<property name="rhino.dir" location="${jsdoc.dir}/java/classes"/>
<property name="out.dir" location="${basedir}/build/jsdoc"/>
<!-- Define the classpath for the Apache Ant task - needs Rhino as well. -->
<path id="jsdoc.classpath">
<pathelement path="${rhino.dir}/js.jar"/>
<pathelement path="${rhino.dir}/jsdoc-toolkit-ant-task-1.1.2.jar"/>
</path>
<!-- Define the Ant Task -->
<taskdef name="jsdoctoolkit" classname="uk.co.darrenhurley.ant.tasks.JsDocToolkit" classpathref="jsdoc.classpath"/>
<!-- This is the default target - it generates the JsDoc documents -->
<target name="jsdoc" depends="" description="Generate JsDoc.">
<jsdoctoolkit jsdochome="${jsdoc.dir}/" template="jsdoc" outputdir="${out.dir}" includeprivate="false">
<source file="${cocos2d.dir}/platform/CCClass.js"/>
<source file="${cocos2d.dir}/platform/CCCommon.js"/>
<source file="${cocos2d.dir}/platform/platform.js"/>
<source file="${cocos2d.dir}/platform/ZipUtils.js"/>
<source file="${cocos2d.dir}/platform/base64.js"/>
<source file="${cocos2d.dir}/platform/gzip.js"/>
<source file="${cocos2d.dir}/platform/CCMacro.js"/>
<source file="${cocos2d.dir}/platform/CCConfig.js"/>
<source file="${cocos2d.dir}/platform/CCFileUtils.js"/>
<source file="${cocos2d.dir}/platform/CCTypes.js"/>
<source file="${cocos2d.dir}/cocoa/CCGeometry.js"/>
<source file="${cocos2d.dir}/cocoa/CCSet.js"/>
<source file="${cocos2d.dir}/cocoa/CCNS.js"/>
<source file="${cocos2d.dir}/cocoa/CCAffineTransform.js"/>
<source file="${cocos2d.dir}/support/CCPointExtension.js"/>
<source file="${cocos2d.dir}/base_nodes/CCNode.js"/>
<source file="${cocos2d.dir}/base_nodes/CCAtlasNode.js"/>
<!-- <source file="${cocos2d.dir}/textures/CCTexture2D.js"/> -->
<source file="${cocos2d.dir}/textures/CCTextureCache.js"/>
<source file="${cocos2d.dir}/textures/CCTextureAtlas.js"/>
<source file="${cocos2d.dir}/misc_nodes/CCRenderTexture.js"/>
<source file="${cocos2d.dir}/misc_nodes/CCProgressTimer.js"/>
<source file="${cocos2d.dir}/actions/CCAction.js"/>
<source file="${cocos2d.dir}/actions/CCActionInterval.js"/>
<source file="${cocos2d.dir}/actions/CCActionInstant.js"/>
<source file="${cocos2d.dir}/actions/CCActionManager.js"/>
<source file="${cocos2d.dir}/actions/CCActionProgressTimer.js"/>
<!--<source file="${cocos2d.dir}/actions/CCActionCamera.js"/>-->
<source file="${cocos2d.dir}/actions/CCActionEase.js"/>
<!-- <source file="${cocos2d.dir}/actions/CCActionGrid.js"/> -->
<source file="${cocos2d.dir}/actions/CCActionTiledGrid.js"/>
<source file="${cocos2d.dir}/layers_scenes_transitions_nodes/CCScene.js"/>
<source file="${cocos2d.dir}/layers_scenes_transitions_nodes/CCLayer.js"/>
<source file="${cocos2d.dir}/layers_scenes_transitions_nodes/CCTransition.js"/>
<source file="${cocos2d.dir}/layers_scenes_transitions_nodes/CCTransitionRadial.js"/>
<source file="${cocos2d.dir}/layers_scenes_transitions_nodes/CCTransitionPageTurn.js"/>
<source file="${cocos2d.dir}/sprite_nodes/CCSprite.js"/>
<source file="${cocos2d.dir}/sprite_nodes/CCAnimation.js"/>
<source file="${cocos2d.dir}/sprite_nodes/CCAnimationCache.js"/>
<source file="${cocos2d.dir}/sprite_nodes/CCSpriteFrame.js"/>
<source file="${cocos2d.dir}/sprite_nodes/CCSpriteFrameCache.js"/>
<source file="${cocos2d.dir}/sprite_nodes/CCSpriteBatchNode.js"/>
<source file="${cocos2d.dir}/label_nodes/CCLabelAtlas.js"/>
<source file="${cocos2d.dir}/label_nodes/CCLabelTTF.js"/>
<source file="${cocos2d.dir}/label_nodes/CCLabelBMFont.js"/>
<source file="${cocos2d.dir}/particle_nodes/CCParticleSystem.js"/>
<source file="${cocos2d.dir}/particle_nodes/CCParticleSystemQuad.js"/>
<!--<source file="${cocos2d.dir}/particle_nodes/CCParticleSystemPoint.js"/>-->
<source file="${cocos2d.dir}/particle_nodes/CCParticleExamples.js"/>
<source file="${cocos2d.dir}/touch_dispatcher/CCTouchDelegateProtocol.js"/>
<source file="${cocos2d.dir}/touch_dispatcher/CCTouchHandler.js"/>
<source file="${cocos2d.dir}/touch_dispatcher/CCTouchDispatcher.js"/>
<source file="${cocos2d.dir}/keypad_dispatcher/CCKeypadDelegate.js"/>
<source file="${cocos2d.dir}/keypad_dispatcher/CCKeypadDispatcher.js"/>
<source file="${cocos2d.dir}/text_input_node/CCIMEDispatcher.js"/>
<source file="${cocos2d.dir}/text_input_node/CCTextFieldTTF.js"/>
<source file="${cocos2d.dir}/CCDirector.js"/>
<source file="${cocos2d.dir}/CCCamera.js"/>
<source file="${cocos2d.dir}/CCScheduler.js"/>
<source file="${cocos2d.dir}/CCLoader.js"/>
<source file="${cocos2d.dir}/CCDrawingPrimitives.js"/>
<source file="${cocos2d.dir}/platform/CCApplication.js"/>
<source file="${cocos2d.dir}/platform/CCSAXParser.js"/>
<source file="${cocos2d.dir}/platform/AppControl.js"/>
<source file="${cocos2d.dir}/menu_nodes/CCMenuItem.js"/>
<source file="${cocos2d.dir}/menu_nodes/CCMenu.js"/>
<source file="${cocos2d.dir}/tileMap_parallax_nodes/CCTMXTiledMap.js"/>
<source file="${cocos2d.dir}/tileMap_parallax_nodes/CCTMXXMLParser.js"/>
<source file="${cocos2d.dir}/tileMap_parallax_nodes/CCTMXObjectGroup.js"/>
<source file="${cocos2d.dir}/tileMap_parallax_nodes/CCTMXLayer.js"/>
<source file="${cocos2d.dir}/tileMap_parallax_nodes/CCParallaxNode.js"/>
<source file="${lib.dir}/CocosDenshion/SimpleAudioEngine.js"/>
</jsdoctoolkit>
</target>
<!-- Neat and Tidy, Tidy and Neat - best to clean up afterwards... -->
<target name="clean" description="Cleanup everything this build script creates.">
<delete dir="${out.dir}"/>
</target>
</project>