forked from apache/flex-blazeds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
151 lines (104 loc) · 5.2 KB
/
README
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
Apache Flex BlazeDS
===================
Apache Flex SDK is an application development framework for easily building
Flash-based applications for mobile devices, web browsers, and desktops.
Apache Flex BlazeDS is the server-based Java remoting and web messaging
technology that enables developers to easily connect to back-end distributed
data and push data in real-time to Adobe® Flex® and Adobe AIR™ applications
for more responsive rich Internet application (RIA) experiences..
Apache Flex BlazeDS 4.7.3 is an update to the initial release of BlazeDS
from the Apache Software Foundation. Prior to this, releases were provided
by Adobe Systems Inc. It is compatible with most code written to target Adobe
Flex 4.6.
For detailed information about Apache Flex please visit
http://flex.apache.org/
Getting the latest sources via Git
==================================
Getting the source code is the recommended way to get Apache Flex BlazeDS.
You can always checkout the latest source via git using the following
command:
git clone https://git-wip-us.apache.org/repos/asf/flex-blazeds.git blazeds
cd blazeds
git checkout develop
For further information visit http://flex.apache.org/download-source.html
Building Apache Flex BlazeDS 4.7.3
==================================
Apache Flex BlazeDS is a large project. It requires some build tools which must be
installed prior to building BlazeDS and it depends on some external software
which are downloaded as part of the build process. Some of these have
different licenses. See the Software Dependencies section for more
information on the external software dependencies.
From Apache's perspective, the Adobe Flash Player and Adobe AIR have
excluded licenses so they can not be bundled with the Apache Flex binaries.
They must be installed prior to building Apache Flex.
Linux support is currently experimental and while it is possible to compile
BlazeDS it has not been fully tested so you may run into issues.
Install Prerequisites
---------------------
Before building the Apache Flex BlazeDS you must install the following software
and set the corresponding environment variables using absolute file paths.
Relative file paths will result in build errors.
==================================================================================
SOFTWARE ENVIRONMENT VARIABLE (absolute paths)
==================================================================================
Java SDK 1.7 or greater (*1) JAVA_HOME
Maven 2.2.0 or greater (*1) MAVEN_HOME
==================================================================================
*1) The bin directories for MAVEN_HOME and JAVA_HOME should be added to your
PATH.
On Windows, set PATH to
PATH=%PATH%;%MAVEN_HOME%\bin;%JAVA_HOME%\bin
On the Mac (bash), set PATH to
export PATH="$PATH:$MAVEN_HOME/bin:$JAVA_HOME/bin"
On Linux make sure you path include MAVEN_HOME and JAVA_HOME.
Software Dependencies
---------------------
Apache BlazeDS uses a variety of third party libraries. A detailed summary
of all of these dependencies is listed in the releases DEPENDENCIES file.
Using the Binary Distribution
-----------------------------
Binary artifacts of Apache BlazeDS are available on Apache's public Maven
repositories.
By adding a Dependency to the following Maven artifact the binary
version of Apache BlazeDS will automatically be downloaded.
<dependency>
<groupId>org.apache.flex.blazeds</groupId>
<artifactId>flex-messaging-common</artifactId>
<version>4.7.3</version>
</dependency>
<dependency>
<groupId>org.apache.flex.blazeds</groupId>
<artifactId>flex-messaging-core</artifactId>
<version>4.7.3</version>
</dependency>
<dependency>
<groupId>org.apache.flex.blazeds</groupId>
<artifactId>flex-messaging-opt</artifactId>
<version>4.7.3</version>
</dependency>
<dependency>
<groupId>org.apache.flex.blazeds</groupId>
<artifactId>flex-messaging-proxy</artifactId>
<version>4.7.3</version>
</dependency>
<dependency>
<groupId>org.apache.flex.blazeds</groupId>
<artifactId>flex-messaging-remoting</artifactId>
<version>4.7.3</version>
</dependency>
Building the Source
----------------------------------------------
When you have all the prerequisites in place and the environment variables
set (see Install Prerequisites above), use
cd <flex-blazeds.dir>
mvn install
Notice that you have to enter the modules directory in order to able to
execute the Maven build as the rest of the project still contains an
outdated and no longer maintained ANT build. This will be removed in
future versions.
Running Tests
-------------
The testsuite is automatically executed during a normal maven build.
Thanks for using Apache Flex BlazeDS. Enjoy!
The Apache Flex Project
<http://flex.apache.org>