blob: 9f42796ab80a27e0a8582f0ea0330a653a122a2c (
plain)
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
|
<?xml version="1.0" encoding="utf-8"?>
<!--
Ant build file which provides Yet another way (other than build.sh) to build SWF files.
You need to copy build.properties.sample to build.properties and change FLEX_HOME
for your environment.
-->
<project name="ant" basedir="." default="swf">
<property file="build.properties" /><!-- set sdk -->
<echo message="Using SDK version: ${FLEX_HOME}" />
<!-- do not change next 2 lines, it adds needed task to ant -->
<property name="FLEXTASKS" value="${FLEX_HOME}/ant/lib/flexTasks.jar"/>
<taskdef resource="flexTasks.tasks" classpath="${FLEXTASKS}"/>
<target name="swf">
<delete file="../WebSocketMain.swf"/>
<mxmlc file="net/gimite/websocket/WebSocketMain.as"
output="../WebSocketMain.swf"
incremental="false"
strict="true"
accessible="false"
fork="true"
static-link-runtime-shared-libraries="true">
<optimize>true</optimize>
<target-player>10</target-player>
<raw-metadata></raw-metadata>
<source-path path-element="."/>
</mxmlc>
</target>
<target name="swfInsecure">
<delete file="../WebSocketMainInsecure.swf" />
<mxmlc file="net/gimite/websocket/WebSocketMainInsecure.as"
output="../WebSocketMainInsecure.swf"
incremental="false"
strict="true"
accessible="false"
fork="true"
static-link-runtime-shared-libraries="true">
<optimize>true</optimize>
<target-player>10</target-player>
<raw-metadata></raw-metadata>
<source-path path-element="."/>
</mxmlc>
</target>
<target name="swc" ><!-- for pure .as -->
<delete file="../WebSocket.swc" />
<compc output="../WebSocket.swc"
incremental="false"
strict="true"
accessible="false"
fork="true"
static-link-runtime-shared-libraries="false">
<optimize>true</optimize>
<raw-metadata></raw-metadata>
<include-sources dir="." includes="**/*.as"/>
<source-path path-element="."/>
</compc>
</target>
</project>
|