http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/README ---------------------------------------------------------------------- diff --git a/README b/README index 28e3980..3410902 100644 --- a/README +++ b/README @@ -4,48 +4,21 @@ 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 + 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 is the initial release of BlazeDS from the Apache - Software Foundation. Prior to this, releases were provided by Adobe - Systems Inc. This version adds new features and implements bug fixes - that were unavailable in previous versions. It is compatible with most code - written to target Adobe Flex 4.6. + Apache Flex BlazeDS 4.7.2 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/ - Apache Flex BlazeDS is a large project with many pieces. The software is - implemented partially in ActionScript and partially in Java. - Currently supported platforms include: - - Microsoft Windows - Mac OS X - Apple iOS - Google Android - RIM BlackBerry - Linux - - Apache Flex is the software evolution of the popular Adobe BlazeDS project. - - The community surrounding Flex is vast, diverse, distributed globally, and - with all levels of proficiency in software development. - - There has been more that 30,000 installs of Apache Flex. The Apache Flex web - site gets 3 quarters of a million page views a year and more than 250,000 - unique visitors a year. - - -Getting the convenience packages for Apache Flex -================================================ - - TBD - -Getting the latest sources via git +Getting the latest sources via Git ================================== Getting the source code is the recommended way to get Apache Flex BlazeDS. @@ -57,22 +30,11 @@ Getting the latest sources via git cd blazeds git checkout develop - Apache Flex BlazeDS also requires source code from other Apache Flex git - repositories. To get the latest source via git for the Apache Flex SDK - use the following command: - - git clone https://git-wip-us.apache.org/repos/asf/flex-sdk.git sdk - cd sdk - git checkout develop - - Linux support is currently experimental and you may run into issues. Apache - Flex would like to see a fully supported Linux release, but we need support - from the community in order to do that. Please help out if you can. - For further information visit http://flex.apache.org/download-source.html -Building Apache Flex BlazeDS 4.7 -================================ + +Building Apache Flex BlazeDS 4.7.2 +================================== 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 @@ -87,353 +49,100 @@ Building Apache Flex BlazeDS 4.7 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 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. - - The environment variables PLAYERGLOBAL_HOME, AIR_HOME, FLASHPLAYER_DEBUGGER, - FLEX_HOME can also be set in the property file - called env.properties. See the env-template.properties file for - instructions. - - The Adobe Flash Player playerglobal.swc is needed to compile all the - ActionScript components. The Adobe Flash Player - content debugger is used by checkintests and other pieces of the test - subsystem to run compiled applications. + 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.6 or greater (*1) JAVA_HOME - (for Java 1.7 see note at (*2)) + Java SDK 1.7 or greater (*1) JAVA_HOME - Ant 1.7.1 or greater (*1) ANT_HOME - (for Java 1.7 see note at (*2)) - - Adobe AIR Integration Kit (*3) AIR_HOME - - Adobe Flash Player Content Debugger (*4) FLASHPLAYER_DEBUGGER - - Adobe Flash Player playerglobal swcs (*5) PLAYERGLOBAL_HOME - - Apache Flex SDK (*6) FLEX_HOME + Maven 2.2.0 or greater (*1) MAVEN_HOME ================================================================================== - *1) The bin directories for ANT_HOME and JAVA_HOME should be added to your + *1) The bin directories for MAVEN_HOME and JAVA_HOME should be added to your PATH. On Windows, set PATH to - PATH=%PATH%;%ANT_HOME%\bin;%JAVA_HOME%\bin + PATH=%PATH%;%MAVEN_HOME%\bin;%JAVA_HOME%\bin On the Mac (bash), set PATH to - export PATH="$PATH:$ANT_HOME/bin:$JAVA_HOME/bin" - - On Linux make sure you path include ANT_HOME and JAVA_HOME. - - *2) If you are using Java SDK 1.7 or greater on a Mac you must use Ant 1.8 - or greater. If you use Java 1.7 with Ant 1.7, ant reports the java - version as 1.6 so the JVM args for the data model (-d32/-d64) will not - be set correctly and you will get compile errors. - - *3) The Adobe AIR integration kit for Windows can be downloaded from: - http://airdownload.adobe.com/air/win/download/13.0/AdobeAIRSDK.zip - - The Adobe AIR integration kit for Mac can be downloaded from: - http://airdownload.adobe.com/air/mac/download/13.0/AdobeAIRSDK.tbz2 - - The Adobe AIR integration kit for Linux can be downloaded from: - http://airdownload.adobe.com/air/lin/download/2.6/AdobeAIRSDK.tbz2 - - This version of Apache Flex was certified for use with AIR 13.0, and - should be compatible with other versions of AIR newer than 3.1. However - it hasn't been fully tested on AIR 3.2, 3.3, 3.5, 3.6 or 3.7. - - Download the AIR SDK for your platform and unzip it. Set AIR_HOME to the - absolute path of the AIR SDK directory. - - *4) The Adobe Flash Player content debuggers can be found here: - http://www.adobe.com/support/flashplayer/downloads.html - - This version of Apache Flex was certified for use with Adobe Flash - Player 11.1, and is compatible with versions 10.2 through 13.0. It has - been tested with versions 11.1, 11.7, 11.8, 11.9 and 12.0 on Windows - and Mac. It has been compiled against other Adobe Flash Player versions - but has not been fully tested. It has not been fully tested on Linux. - - On Windows, set FLASHPLAYER_DEBUGGER to the absolute path including the - filename of the FlashPlayerDebugger.exe. Note the filename of flash - player debugger maybe different. - e.g. C:\MyPath\FlashPlayerDebugger.exe - - On the Mac, set FLASHPLAYER_DEBUGGER to the absolute path of - Flash Player Debugger.app/Contents/MacOS/Flash Player Debugger - - On Linux, set FLASHPLAYER_DEBUGGER to the absolute path of - flashplayerdebugger + export PATH="$PATH:$MAVEN_HOME/bin:$JAVA_HOME/bin" - *5) The Adobe Flash Player playerglobal.swc for 11.1 can be downloaded from: - http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_1.swc + On Linux make sure you path include MAVEN_HOME and JAVA_HOME. - Use URL above to download playerglobal11_1.swc. Create the directory, - player/11.1 and copy playerglobal11_1.swc to - player/11.1/playerglobal.swc. - - Set PLAYERGLOBAL_HOME to the absolute path of the player directory (not - including the version subdirectory). The target-player option controls - which PLAYERGLOBAL_HOME subdirectory is used. - - Other more recent versions of Adobe Flash Player playerglobal.swc can be - downloaded from: - http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_2.swc - http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_3.swc - http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_4.swc - http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_5.swc - http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_6.swc - http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_7.swc - http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_8.swc - http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_9.swc - http://download.macromedia.com/get/flashplayer/updaters/12/playerglobal12_0.swc - http://download.macromedia.com/get/flashplayer/updaters/13/playerglobal13_0.swc - - These can be used with Apache Flex but not all have not been fully - tested. - - *6) The Apache Flex SDK is required to build some of the ActionScript code. - - Set FLEX_HOME to the absolute path of Apache Flex SDK. - -FlashPlayer Configuration -------------------------- - - For testing, the Adobe Flash Player's mm.cfg file must have the following - entries - - ErrorReportingEnable=1 - TraceOutputFileEnable=1 - - and a FlashPlayerTrust file must allow local SWFs to access local files. - - -Adobe Flash Player Version Support ----------------------------------- - - Apache Flex BlazeDS defaults to using the Adobe Flash Player 11.1. The SDK - can be used with Flash Player versions 10.2, 10.3, 11.0, 11.1, 11.2, 11.3, - 11.4, 11.5, 11.6, 11.7, 11.8, 11.9, 12.0 and 13.0. - - It is recommended that you update to the latest version of Adobe Flash - Player. Newer versions of the Adobe Flash player address security - vulnerabilities, fix bugs/issues, increase stability, and implement new - features. - - To use the SDK for another version of the Adobe Flash Player either: - - Change the flex-config.xml configuration file to specify another version of - the Adobe Flash Player. - - OR - - Change the playerglobal.version in the build.properties file to have a value - other than "11.1". For this change to take effect the SDK needs to be - recompiled. For example to compile against the latest version of the Adobe - Flash Player set the value of playerglobal.version to be "12.0" like so: - - playerglobal.version = 13.0 - - OR - - Compile the SDK with a -Dplayerglobal.version=<version> option, where - <version> is the Adobe Flash Player version to compile the SDK against. - - - Different versions of the Adobe Flash Player require different versions of - playerglobal.swc. - - These can be found at: - - http://download.macromedia.com/get/flashplayer/installers/archive/playerglobal/playerglobal10_2.swc - http://download.macromedia.com/get/flashplayer/installers/archive/playerglobal/playerglobal10_3.swc - http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_0.swc - http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_1.swc - http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_2.swc - http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_3.swc - http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_4.swc - http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_5.swc - http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_6.swc - http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_7.swc - http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_8.swc - http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_9.swc - http://download.macromedia.com/get/flashplayer/updaters/12/playerglobal12_0.swc - http://download.macromedia.com/get/flashplayer/updaters/13/playerglobal13_0.swc - - Copy the target playerglobal.swc to the directory: - - frameworks/libs/player/<version>/playerglobal.swc - - Where <version> is the major and minor version numbers of the Adobe Flash - Player separated by a period or full stop. - - If all of the playerglobal swcs where installed the frameworks/libs/player - directory structure would look like this. - - /frameworks - /libs - /player - /10.2 - /playerglobal.swc - /10.3 - /playerglobal.swc - /11.0 - /playerglobal.swc - /11.2 - /playerglobal.swc - /11.2 - /playerglobal.swc - /11.3 - /playerglobal.swc - /11.4 - /playerglobal.swc - /11.5 - /playerglobal.swc - /11.6 - /playerglobal.swc - /11.7 - /playerglobal.swc - /11.8 - /playerglobal.swc - /11.9 - /playerglobal.swc - /12.0 - /playerglobal.swc - /13.0 - /playerglobal.swc - - Apache Flex has been tested with Adobe Flash Player 11.1, 11.5, 11.7, 11.8, - 11.9, 12.0 nd 13.0 on Windows and Mac. - - Apache Flex has not been tested on Linux so some issue may exist in this - release. - - It compiles against other Adobe Flash Player versions and is expected to - work but their may be some issues, particularly with the earlier 10.2 and - 10.3 versions of the Adobe Flash Player. Software Dependencies --------------------- - Apache Flex uses third-party code that will be downloaded as part of the - Apache Flex build. In addition, there is some optional third-party code - that you can choose to download if you would like to take advantage of the - features offered and you agree to the license terms. - - The Apache Version 2.0 license is in the LICENSE file. - - The following dependencies have licenses which are, or are compatible with, - the Apache Version 2.0 license. You will not be prompted to acknowledge the - download. Most of the jars are installed in lib/external. - - activemq - http://archive.apache.org/dist/activemq/apache-activemq/5.3.1/apache-activemq-5.3.1-bin.zip - codec - http://archive.apache.org/dist/commons/codec/binaries/commons-codec-1.5-bin.zip - commons-collections - http://archive.apache.org/dist/commons/collections/binaries/commons-collections-3.1.tar.gz - commons-fileupload - http://archive.apache.org/dist/commons/fileupload/binaries/commons-fileupload-1.1.zip - commons-httpclient - http://archive.apache.org/dist/httpcomponents/commons-httpclient/binary/commons-httpclient-3.1.zip - commons-logging - http://archive.apache.org/dist/commons/logging/binaries/commons-logging-1.1.1-bin.zip - hsqldb - http://downloads.sourceforge.net/project/hsqldb/hsqldb/hsqldb_1_8_0/hsqldb_1_8_0_10.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fhsqldb%2Ffiles%2Fhsqldb%2Fhsqldb_1_8_0%2F&ts=1378509998&use_mirror=softlayer-dal - jms - http://downloads.sourceforge.net/project/openjms/openjms/openjms-0.7.6.1/openjms-0.7.6.1.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fopenjms%2Ffiles%2Fopenjms%2Fopenjms-0.7.6.1%2F&ts=1378512874&use_mirror=hivelocity - log4j - http://archive.apache.org/dist/logging/log4j/1.2.14/logging-log4j-1.2.14.zip - spring-framework - http://s3.amazonaws.com/dist.springframework.org/release/SPR/spring-framework-3.0.3.RELEASE.zip - spring-security - http://s3.amazonaws.com/dist.springframework.org/release/SEC/spring-security-3.0.3.RELEASE.zip - spring-flex - http://repo1.maven.org/maven2/org/springframework/flex/spring-flex-core/1.5.2.RELEASE/spring-flex-core-1.5.2.RELEASE.jar - jakarta-taglibs - http://archive.apache.org/dist/jakarta/taglibs/standard/binaries/jakarta-taglibs-standard-1.1.2.zip - aopalliance - http://downloads.sourceforge.net/project/aopalliance/aopalliance/1.0/aopalliance.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Faopalliance%2Ffiles%2Faopalliance%2F1.0%2F&ts=1378515484&use_mirror=softlayer-dal - backport - http://downloads.sourceforge.net/project/backport-jsr166/backport-jsr166/2.2/backport-util-concurrent-2.2.zip?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fbackport-jsr166%2Ffiles%2Fbackport-jsr166%2F2.2%2F&ts=1378515970&use_mirror=heanet - cglib - http://downloads.sourceforge.net/project/cglib/cglib2/cglib%202.1_03/cglib-nodep-2.1_3.jar?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fcglib%2Ffiles%2Fcglib2%2Fcglib%25202.1_03%2F&ts=1378516297&use_mirror=hivelocity - jackson-core - http://repository.codehaus.org/org/codehaus/jackson/jackson-core-asl/1.0.0/jackson-core-asl-1.0.0.jar - tomcat - http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.29/bin/apache-tomcat-6.0.29.zip - xalan - http://archive.apache.org/dist/xml/xalan-j/binaries/xalan-j_2_6_0-bin.tar.gz - xerces - http://archive.apache.org/dist/xerces/j/Xerces-J-bin.2.9.1.zip - ExcludeDoclet.java - http://sixlegs.com/misc/ExcludeDoclet.java - mx4j - http://repo1.maven.org/maven2/mx4j/mx4j-jmx/1.1.1/mx4j-jmx-1.1.1.jar - axis - http://archive.apache.org/dist/axis/axis/java/1.4/axis-bin-1_4.zip - testng - http://mirrors.ibiblio.org/pub/mirrors/maven2/org/testng/testng/5.8/testng-5.8-jdk15.jar + 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 ----------------------------- - TBD - -Building the Framework in a Binary Distribution ------------------------------------------------ - - The source for most of the framework is included in the binary distribution. - It can be useful if you wish to debug and/or extend components. - - When you have all the prerequisites in place and the environment variables - set, (see Install Prerequisites above), use - - cd <blazeds.dir> - ant main (or just ant since the default target is main) - - to download the third-party dependencies and build BlazeDS. You - may be prompted to acknowledge some of the downloads. Since the third-party - dependencies take a little while to download and they don't change very - often, they are not cleaned with the regular clean target. - - To clean the build, of everything other than the downloaded third-party - dependencies use - - ant clean - - To clean the build, of everything, including the downloaded third-party - dependencies use - - ant super-clean (which is just thirdparty-clean followed by clean) - -Building the Source in the Source 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.2</version> + </dependency> + <dependency> + <groupId>org.apache.flex.blazeds</groupId> + <artifactId>flex-messaging-core</artifactId> + <version>4.7.2</version> + </dependency> + <dependency> + <groupId>org.apache.flex.blazeds</groupId> + <artifactId>flex-messaging-opt</artifactId> + <version>4.7.2</version> + </dependency> + <dependency> + <groupId>org.apache.flex.blazeds</groupId> + <artifactId>flex-messaging-proxy</artifactId> + <version>4.7.2</version> + </dependency> + <dependency> + <groupId>org.apache.flex.blazeds</groupId> + <artifactId>flex-messaging-remoting</artifactId> + <version>4.7.2</version> + </dependency> + + +Building the Source ---------------------------------------------- When you have all the prerequisites in place and the environment variables set (see Install Prerequisites above), use - cd <blazeds.dir> - ant main (or just ant since the default target is main) - - to download the thirdparty dependencies and build the source. You may be - prompted to acknowledge and/or confirm some of the downloads. Since the - third-party dependencies take a little while to download and they don't - change very often, they are not cleaned with the regular clean target. - - To clean the build, of everything other than the downloaded third-party - dependencies use - - ant clean - - To clean the build, of everything, including the downloaded third-party - dependencies use - - ant super-clean (which is just thirdparty-clean followed by clean) - - To generate a source distribution package and a binary distribution package - use - - ant -Dbuild.number=<YYYYMMDD> -Dbuild.noprompt= release - - The packages can be found in the "out" subdirectory. + cd <flex-blazeds.dir> + mvn install - To build the ASDoc package + 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. - ant asdoc-package - To get a brief listing of all the targets type +Running Tests +------------- - ant -projecthelp + The testsuite is automatically executed during a normal maven build. Thanks for using Apache Flex BlazeDS. Enjoy!
http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/RELEASE_NOTES ---------------------------------------------------------------------- diff --git a/RELEASE_NOTES b/RELEASE_NOTES index 48159ce..ee94e7d 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -1,7 +1,27 @@ +Apache Flex BlazeDS 4.7.2 +======================= + +Apache Flex BlazeDS 4.7.2 is an update to 4.7.1 to allow configuration control +over allowind document type declarations inside an AMF XML payload. + +Known Issues +_____________ +FLEX-34648 Memory Leak occurred in AsyncMessage when sending a lot of messages + +Apache Flex BlazeDS 4.7.1 +======================= + +Apache Flex BlazeDS 4.7.1 is an update to 4.7.0 to allow configuration control +over XML Entity processing. + +Known Issues +_____________ +FLEX-34648 Memory Leak occurred in AsyncMessage when sending a lot of messages + Apache Flex BlazeDS 4.7 -================= +======================= -Apache Flex BlazeDS 4.7 is the first release of BlazeDS from Apache. Earlier +Apache Flex BlazeDS 4.7 is the first release of BlazeDS from Apache. Earlier releases were provided by Adobe Systems Inc. Known Issues @@ -10,9 +30,12 @@ _____________ Differences from Adobe BlazeDS 4.6 include: -TBD +- No functional differences the only changes that were made were adding code to make the + test-suite run against a server instance brought up by the test-suite itself making it + self sufficient. The Adobe version relied on the availability of a running BlazeDS server + instance. -Please report new issues to our bugbase at: +Please report new issues to our bug tracker at: https://issues.apache.org/jira/browse/FLEX http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/apps/blazeds-spring/WEB-INF/classes/commons-logging.properties ---------------------------------------------------------------------- diff --git a/apps/blazeds-spring/WEB-INF/classes/commons-logging.properties b/apps/blazeds-spring/WEB-INF/classes/commons-logging.properties deleted file mode 100755 index 46c3be4..0000000 --- a/apps/blazeds-spring/WEB-INF/classes/commons-logging.properties +++ /dev/null @@ -1,19 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# suppress logging for 3rd-party libraries using commons-logging -# Flex logging is not configured here. It is configured through in the logging section of flex-config.xml -org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl -org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/apps/blazeds-spring/WEB-INF/flex-servlet.xml ---------------------------------------------------------------------- diff --git a/apps/blazeds-spring/WEB-INF/flex-servlet.xml b/apps/blazeds-spring/WEB-INF/flex-servlet.xml deleted file mode 100755 index 21d1e5a..0000000 --- a/apps/blazeds-spring/WEB-INF/flex-servlet.xml +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:flex="http://www.springframework.org/schema/flex" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation=" - http://www.springframework.org/schema/beans - http://www.springframework.org/schema/beans/spring-beans-3.0.xsd - http://www.springframework.org/schema/flex - http://www.springframework.org/schema/flex/spring-flex-1.5.xsd"> - - <flex:message-broker> - <flex:message-service - default-channels="my-streaming-amf,my-longpolling-amf,my-polling-amf" /> - <flex:secured /> - </flex:message-broker> -</beans> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/apps/blazeds-spring/WEB-INF/flex/messaging-config.xml ---------------------------------------------------------------------- diff --git a/apps/blazeds-spring/WEB-INF/flex/messaging-config.xml b/apps/blazeds-spring/WEB-INF/flex/messaging-config.xml deleted file mode 100755 index 34f4d3f..0000000 --- a/apps/blazeds-spring/WEB-INF/flex/messaging-config.xml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<service id="message-service" - class="flex.messaging.services.MessageService"> - - <adapters> - <adapter-definition id="actionscript" class="flex.messaging.services.messaging.adapters.ActionScriptAdapter" default="true" /> - <!-- <adapter-definition id="jms" class="flex.messaging.services.messaging.adapters.JMSAdapter"/> --> - </adapters> - - <default-channels> - <channel ref="my-polling-amf"/> - </default-channels> - -</service> http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/apps/blazeds-spring/WEB-INF/flex/proxy-config.xml ---------------------------------------------------------------------- diff --git a/apps/blazeds-spring/WEB-INF/flex/proxy-config.xml b/apps/blazeds-spring/WEB-INF/flex/proxy-config.xml deleted file mode 100755 index 9335e6c..0000000 --- a/apps/blazeds-spring/WEB-INF/flex/proxy-config.xml +++ /dev/null @@ -1,43 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<service id="proxy-service" - class="flex.messaging.services.HTTPProxyService"> - - <properties> - <connection-manager> - <max-total-connections>100</max-total-connections> - <default-max-connections-per-host>2</default-max-connections-per-host> - </connection-manager> - <allow-lax-ssl>true</allow-lax-ssl> - </properties> - - <adapters> - <adapter-definition id="http-proxy" class="flex.messaging.services.http.HTTPProxyAdapter" default="true"/> - <adapter-definition id="soap-proxy" class="flex.messaging.services.http.SOAPProxyAdapter"/> - </adapters> - - <default-channels> - <channel ref="my-amf"/> - </default-channels> - - <destination id="DefaultHTTP"> - </destination> - -</service> http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/apps/blazeds-spring/WEB-INF/flex/remoting-config.xml ---------------------------------------------------------------------- diff --git a/apps/blazeds-spring/WEB-INF/flex/remoting-config.xml b/apps/blazeds-spring/WEB-INF/flex/remoting-config.xml deleted file mode 100755 index 88a4a1f..0000000 --- a/apps/blazeds-spring/WEB-INF/flex/remoting-config.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<service id="remoting-service" - class="flex.messaging.services.RemotingService"> - - <adapters> - <adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/> - </adapters> - - <default-channels> - <channel ref="my-amf"/> - </default-channels> - -</service> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/apps/blazeds-spring/WEB-INF/flex/services-config.xml ---------------------------------------------------------------------- diff --git a/apps/blazeds-spring/WEB-INF/flex/services-config.xml b/apps/blazeds-spring/WEB-INF/flex/services-config.xml deleted file mode 100755 index 289fbfe..0000000 --- a/apps/blazeds-spring/WEB-INF/flex/services-config.xml +++ /dev/null @@ -1,117 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<services-config> - - <services> - <service-include file-path="remoting-config.xml" /> - <service-include file-path="proxy-config.xml" /> - <service-include file-path="messaging-config.xml" /> - </services> - - <security> - <login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/> - <!-- Uncomment the correct app server - <login-command class="flex.messaging.security.TomcatLoginCommand" server="JBoss"/> - <login-command class="flex.messaging.security.JRunLoginCommand" server="JRun"/> - <login-command class="flex.messaging.security.WeblogicLoginCommand" server="Weblogic"/> - <login-command class="flex.messaging.security.WebSphereLoginCommand" server="WebSphere"/> - --> - - <!-- - <security-constraint id="basic-read-access"> - <auth-method>Basic</auth-method> - <roles> - <role>guests</role> - <role>accountants</role> - <role>employees</role> - <role>managers</role> - </roles> - </security-constraint> - --> - </security> - - <channels> - - <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel"> - <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/> - </channel-definition> - - <channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel"> - <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/> - <properties> - <add-no-cache-headers>false</add-no-cache-headers> - </properties> - </channel-definition> - - <channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel"> - <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/> - <properties> - <polling-enabled>true</polling-enabled> - <polling-interval-seconds>4</polling-interval-seconds> - </properties> - </channel-definition> - - <!-- - <channel-definition id="my-http" class="mx.messaging.channels.HTTPChannel"> - <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/http" class="flex.messaging.endpoints.HTTPEndpoint"/> - </channel-definition> - - <channel-definition id="my-secure-http" class="mx.messaging.channels.SecureHTTPChannel"> - <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/httpsecure" class="flex.messaging.endpoints.SecureHTTPEndpoint"/> - <properties> - <add-no-cache-headers>false</add-no-cache-headers> - </properties> - </channel-definition> - --> - </channels> - - <logging> - <target class="flex.messaging.log.ConsoleTarget" level="Error"> - <properties> - <prefix>[BlazeDS] </prefix> - <includeDate>false</includeDate> - <includeTime>false</includeTime> - <includeLevel>false</includeLevel> - <includeCategory>false</includeCategory> - </properties> - <filters> - <pattern>Endpoint.*</pattern> - <pattern>Service.*</pattern> - <pattern>Configuration</pattern> - </filters> - </target> - </logging> - - <system> - <redeploy> - <enabled>false</enabled> - <!-- - <watch-interval>20</watch-interval> - <watch-file>{context.root}/WEB-INF/flex/services-config.xml</watch-file> - <watch-file>{context.root}/WEB-INF/flex/proxy-config.xml</watch-file> - <watch-file>{context.root}/WEB-INF/flex/remoting-config.xml</watch-file> - <watch-file>{context.root}/WEB-INF/flex/messaging-config.xml</watch-file> - <watch-file>{context.root}/WEB-INF/flex/data-management-config.xml</watch-file> - <touch-file>{context.root}/WEB-INF/web.xml</touch-file> - --> - </redeploy> - </system> - -</services-config> http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/apps/blazeds-spring/WEB-INF/spring/app-config.xml ---------------------------------------------------------------------- diff --git a/apps/blazeds-spring/WEB-INF/spring/app-config.xml b/apps/blazeds-spring/WEB-INF/spring/app-config.xml deleted file mode 100755 index b78ba74..0000000 --- a/apps/blazeds-spring/WEB-INF/spring/app-config.xml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:security="http://www.springframework.org/schema/security" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:context="http://www.springframework.org/schema/context" - xsi:schemaLocation=" - http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd - http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd - http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd"> - -</beans> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/apps/blazeds-spring/WEB-INF/spring/infrastructure-config.xml ---------------------------------------------------------------------- diff --git a/apps/blazeds-spring/WEB-INF/spring/infrastructure-config.xml b/apps/blazeds-spring/WEB-INF/spring/infrastructure-config.xml deleted file mode 100755 index 5cbe9ab..0000000 --- a/apps/blazeds-spring/WEB-INF/spring/infrastructure-config.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> - - -</beans> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/apps/blazeds-spring/WEB-INF/spring/security-config.xml ---------------------------------------------------------------------- diff --git a/apps/blazeds-spring/WEB-INF/spring/security-config.xml b/apps/blazeds-spring/WEB-INF/spring/security-config.xml deleted file mode 100755 index 06edb10..0000000 --- a/apps/blazeds-spring/WEB-INF/spring/security-config.xml +++ /dev/null @@ -1,41 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<beans:beans xmlns="http://www.springframework.org/schema/security" - xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd - http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.0.xsd"> - - <http entry-point-ref="entryPoint"> - <anonymous enabled="false"/> - </http> - - <beans:bean id="entryPoint" class="org.springframework.security.web.authentication.Http403ForbiddenEntryPoint"/> - - <authentication-manager> - <authentication-provider> - <user-service> - <user name="john" password="john" authorities="ROLE_USER" /> - <user name="admin" password="admin" authorities="ROLE_USER, ROLE_ADMIN" /> - <user name="guest" password="guest" authorities="ROLE_GUEST" /> - </user-service> - </authentication-provider> - </authentication-manager> - -</beans:beans> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/apps/blazeds-spring/WEB-INF/web.xml ---------------------------------------------------------------------- diff --git a/apps/blazeds-spring/WEB-INF/web.xml b/apps/blazeds-spring/WEB-INF/web.xml deleted file mode 100755 index ec5c772..0000000 --- a/apps/blazeds-spring/WEB-INF/web.xml +++ /dev/null @@ -1,102 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> -<web-app> - - <display-name>BlazeDS Spring Integration Application</display-name> - <description>BlazeDS Spring Integration Application</description> - - <context-param> - <param-name>contextConfigLocation</param-name> - <param-value> - /WEB-INF/spring/*-config.xml - </param-value> - </context-param> - - <filter> - <filter-name>springSecurityFilterChain</filter-name> - <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class> - </filter> - - <filter-mapping> - <filter-name>springSecurityFilterChain</filter-name> - <url-pattern>/*</url-pattern> - </filter-mapping> - - <!-- Http Flex Session attribute and binding listener support --> - <listener> - <listener-class>flex.messaging.HttpFlexSession</listener-class> - </listener> - - <listener> - <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> - </listener> - - <!-- Spring Dispatcher Servlet --> - <servlet> - <servlet-name>flex</servlet-name> - <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class> - <load-on-startup>1</load-on-startup> - </servlet> - -<!-- begin rds - <servlet> - <servlet-name>RDSDispatchServlet</servlet-name> - <display-name>RDSDispatchServlet</display-name> - <servlet-class>flex.rds.server.servlet.FrontEndServlet</servlet-class> - <init-param> - <param-name>useAppserverSecurity</param-name> - <param-value>true</param-value> - </init-param> - <init-param> - <param-name>messageBrokerId</param-name> - <param-value>_messageBroker</param-value> - </init-param> - <load-on-startup>10</load-on-startup> - </servlet> - - <servlet-mapping id="RDS_DISPATCH_MAPPING"> - <servlet-name>RDSDispatchServlet</servlet-name> - <url-pattern>/CFIDE/main/ide.cfm</url-pattern> - </servlet-mapping> -end rds --> - - <servlet-mapping> - <servlet-name>flex</servlet-name> - <url-pattern>/messagebroker/*</url-pattern> - </servlet-mapping> - - <welcome-file-list> - <welcome-file>index.html</welcome-file> - <welcome-file>index.htm</welcome-file> - </welcome-file-list> - - <!-- for WebSphere deployment, please uncomment --> - <!-- - <resource-ref> - <description>Flex Messaging WorkManager</description> - <res-ref-name>wm/MessagingWorkManager</res-ref-name> - <res-type>com.ibm.websphere.asynchbeans.WorkManager</res-type> - <res-auth>Container</res-auth> - <res-sharing-scope>Shareable</res-sharing-scope> - </resource-ref> - --> - -</web-app> http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/apps/blazeds-spring/build.xml ---------------------------------------------------------------------- diff --git a/apps/blazeds-spring/build.xml b/apps/blazeds-spring/build.xml deleted file mode 100755 index dc3b1c4..0000000 --- a/apps/blazeds-spring/build.xml +++ /dev/null @@ -1,97 +0,0 @@ -<?xml version="1.0"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> - -<project name="blazeds-spring.war/build.xml" default="main" basedir="../.."> - - <property file="${basedir}/build.properties" /> - <property name="blazeds-spring.war" value="${basedir}/apps/blazeds-spring" /> - <property name="dist.dir" value="${basedir}/dist" /> - <property name="src.dir" value="${blazeds-spring.war}/WEB-INF/src"/> - <property name="classes.dir" value="${blazeds-spring.war}/WEB-INF/classes"/> - - <path id="classpath"> - <fileset dir="${blazeds-spring.war}/WEB-INF/lib" includes="**/*.jar" /> - </path> - - <target name="main" depends="clean,compile" /> - - <target name="prepare"> - <mkdir dir="${blazeds-spring.war}/WEB-INF/src" /> - <mkdir dir="${blazeds-spring.war}/WEB-INF/lib" /> - <mkdir dir="${blazeds-spring.war}/WEB-INF/classes" /> - </target> - - <target name="run-depend" if="src.depend"> - <echo message="Removing class files that changed and dependent class files." /> - <depend cache="${classes.dir}" srcdir="${src.dir}" destdir="${classes.dir}" /> - </target> - - <target name="copy-resources"> - <copy todir="${blazeds-spring.war}/WEB-INF/lib"> - <fileset dir="${basedir}/lib" includes="${webapp.ce.lib}" /> - <fileset dir="${basedir}/lib/spring" includes="**/*" /> - <fileset dir="${basedir}/lib/aspectj" includes="**/*" /> - </copy> - <copy todir="${classes.dir}"> - <fileset dir="${basedir}/lib" includes="${webapp.classes}" /> - </copy> - - <propertyfile file="${blazeds-spring.war}/WEB-INF/flex/version.properties"> - <entry key="build" value="${manifest.Implementation-Version}.${build.number}"/> - <entry key="minimumSDKVersion" value="${min.sdk.version}"/> - </propertyfile> - - </target> - - <target name="compile" depends="prepare,run-depend,copy-resources" description="compile"> - <javac source="1.4" debug="${src.debug}" destdir="${classes.dir}" srcdir="${src.dir}" classpathref="classpath" /> - </target> - - <target name="package" description=" Creates distribution war file"> - <mkdir dir="${dist.dir}" /> - <war file="${dist.dir}/blazeds-spring.war" webxml="${blazeds-spring.war}/WEB-INF/web.xml"> - <manifest> - <attribute name="Sealed" value="${manifest.sealed}" /> - <attribute name="Implementation-Title" value="${manifest.Implementation-Title} - BlazeDS Spring Integration Application" /> - <attribute name="Implementation-Version" value="${manifest.Implementation-Version}.${build.number}" /> - <attribute name="Implementation-Vendor" value="${manifest.Implementation-Vendor}" /> - </manifest> - <fileset dir="${blazeds-spring.war}"> - <exclude name="build.xml" /> - <exclude name="WEB-INF/src/**/*.java" /> - <exclude name="WEB-INF/jsp/**/*" /> - <exclude name="WEB-INF/sessions/**/*" /> - <!-- This is included in the war task already --> - <exclude name="WEB-INF/web.xml" /> - </fileset> - </war> - </target> - - <target name="clean" description="--> Removes jars and classes"> - <delete quiet="true"> - <fileset dir="${blazeds-spring.war}/WEB-INF/lib" includes="**/*" /> - </delete> - <delete quiet="true"> - <fileset dir="${classes.dir}" includes="**/*.class"/> - </delete> - <delete quiet="true" file="${dist.dir}/blazeds-spring.war" /> - </target> - -</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/apps/blazeds-spring/index.htm ---------------------------------------------------------------------- diff --git a/apps/blazeds-spring/index.htm b/apps/blazeds-spring/index.htm deleted file mode 100755 index 8ce9112..0000000 --- a/apps/blazeds-spring/index.htm +++ /dev/null @@ -1,50 +0,0 @@ -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<title>Welcome to BlazeDS</title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -<style> -body, pre { font-family:Tahoma,Helvetica,sans-serif; font-size:10pt; } -div.indent { margin-left: 20;} -span.reference { font-weight: bold } -span.header {white-space:nowrap } -span.title {font-size:12pt; color:blue} -span.highlight { background-color: #FFFFB7 } -table.code { font-family: courier; font-size: 9pt;} -span.fade { color:#666666; font-size:11px } -</style> -</head> -<body> -<span class="title">Welcome to BlazeDS</span> -<br> - <br> -This is an empty BlazeDS application that serves as a template for creating your custom BlazeDS Spring application. -<!-- -<br> <br> -If you're looking for sample Flex applications, check with the system administrator for the URL where the samples are deployed. ---> -<br> - <br> -Visit the <a href="http://opensource.adobe.com/wiki/display/blazeds/BlazeDS">product page</a> for documentation and further information. -</body> -</html> - - - - http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/apps/blazeds/WEB-INF/classes/commons-logging.properties ---------------------------------------------------------------------- diff --git a/apps/blazeds/WEB-INF/classes/commons-logging.properties b/apps/blazeds/WEB-INF/classes/commons-logging.properties deleted file mode 100755 index 46c3be4..0000000 --- a/apps/blazeds/WEB-INF/classes/commons-logging.properties +++ /dev/null @@ -1,19 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# suppress logging for 3rd-party libraries using commons-logging -# Flex logging is not configured here. It is configured through in the logging section of flex-config.xml -org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl -org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/apps/blazeds/WEB-INF/flex/messaging-config.xml ---------------------------------------------------------------------- diff --git a/apps/blazeds/WEB-INF/flex/messaging-config.xml b/apps/blazeds/WEB-INF/flex/messaging-config.xml deleted file mode 100755 index 34f4d3f..0000000 --- a/apps/blazeds/WEB-INF/flex/messaging-config.xml +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<service id="message-service" - class="flex.messaging.services.MessageService"> - - <adapters> - <adapter-definition id="actionscript" class="flex.messaging.services.messaging.adapters.ActionScriptAdapter" default="true" /> - <!-- <adapter-definition id="jms" class="flex.messaging.services.messaging.adapters.JMSAdapter"/> --> - </adapters> - - <default-channels> - <channel ref="my-polling-amf"/> - </default-channels> - -</service> http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/apps/blazeds/WEB-INF/flex/proxy-config.xml ---------------------------------------------------------------------- diff --git a/apps/blazeds/WEB-INF/flex/proxy-config.xml b/apps/blazeds/WEB-INF/flex/proxy-config.xml deleted file mode 100755 index 9335e6c..0000000 --- a/apps/blazeds/WEB-INF/flex/proxy-config.xml +++ /dev/null @@ -1,43 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<service id="proxy-service" - class="flex.messaging.services.HTTPProxyService"> - - <properties> - <connection-manager> - <max-total-connections>100</max-total-connections> - <default-max-connections-per-host>2</default-max-connections-per-host> - </connection-manager> - <allow-lax-ssl>true</allow-lax-ssl> - </properties> - - <adapters> - <adapter-definition id="http-proxy" class="flex.messaging.services.http.HTTPProxyAdapter" default="true"/> - <adapter-definition id="soap-proxy" class="flex.messaging.services.http.SOAPProxyAdapter"/> - </adapters> - - <default-channels> - <channel ref="my-amf"/> - </default-channels> - - <destination id="DefaultHTTP"> - </destination> - -</service> http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/apps/blazeds/WEB-INF/flex/remoting-config.xml ---------------------------------------------------------------------- diff --git a/apps/blazeds/WEB-INF/flex/remoting-config.xml b/apps/blazeds/WEB-INF/flex/remoting-config.xml deleted file mode 100755 index 88a4a1f..0000000 --- a/apps/blazeds/WEB-INF/flex/remoting-config.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<service id="remoting-service" - class="flex.messaging.services.RemotingService"> - - <adapters> - <adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/> - </adapters> - - <default-channels> - <channel ref="my-amf"/> - </default-channels> - -</service> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/apps/blazeds/WEB-INF/flex/services-config.xml ---------------------------------------------------------------------- diff --git a/apps/blazeds/WEB-INF/flex/services-config.xml b/apps/blazeds/WEB-INF/flex/services-config.xml deleted file mode 100755 index 289fbfe..0000000 --- a/apps/blazeds/WEB-INF/flex/services-config.xml +++ /dev/null @@ -1,117 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<services-config> - - <services> - <service-include file-path="remoting-config.xml" /> - <service-include file-path="proxy-config.xml" /> - <service-include file-path="messaging-config.xml" /> - </services> - - <security> - <login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/> - <!-- Uncomment the correct app server - <login-command class="flex.messaging.security.TomcatLoginCommand" server="JBoss"/> - <login-command class="flex.messaging.security.JRunLoginCommand" server="JRun"/> - <login-command class="flex.messaging.security.WeblogicLoginCommand" server="Weblogic"/> - <login-command class="flex.messaging.security.WebSphereLoginCommand" server="WebSphere"/> - --> - - <!-- - <security-constraint id="basic-read-access"> - <auth-method>Basic</auth-method> - <roles> - <role>guests</role> - <role>accountants</role> - <role>employees</role> - <role>managers</role> - </roles> - </security-constraint> - --> - </security> - - <channels> - - <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel"> - <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/> - </channel-definition> - - <channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel"> - <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/> - <properties> - <add-no-cache-headers>false</add-no-cache-headers> - </properties> - </channel-definition> - - <channel-definition id="my-polling-amf" class="mx.messaging.channels.AMFChannel"> - <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling" class="flex.messaging.endpoints.AMFEndpoint"/> - <properties> - <polling-enabled>true</polling-enabled> - <polling-interval-seconds>4</polling-interval-seconds> - </properties> - </channel-definition> - - <!-- - <channel-definition id="my-http" class="mx.messaging.channels.HTTPChannel"> - <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/http" class="flex.messaging.endpoints.HTTPEndpoint"/> - </channel-definition> - - <channel-definition id="my-secure-http" class="mx.messaging.channels.SecureHTTPChannel"> - <endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/httpsecure" class="flex.messaging.endpoints.SecureHTTPEndpoint"/> - <properties> - <add-no-cache-headers>false</add-no-cache-headers> - </properties> - </channel-definition> - --> - </channels> - - <logging> - <target class="flex.messaging.log.ConsoleTarget" level="Error"> - <properties> - <prefix>[BlazeDS] </prefix> - <includeDate>false</includeDate> - <includeTime>false</includeTime> - <includeLevel>false</includeLevel> - <includeCategory>false</includeCategory> - </properties> - <filters> - <pattern>Endpoint.*</pattern> - <pattern>Service.*</pattern> - <pattern>Configuration</pattern> - </filters> - </target> - </logging> - - <system> - <redeploy> - <enabled>false</enabled> - <!-- - <watch-interval>20</watch-interval> - <watch-file>{context.root}/WEB-INF/flex/services-config.xml</watch-file> - <watch-file>{context.root}/WEB-INF/flex/proxy-config.xml</watch-file> - <watch-file>{context.root}/WEB-INF/flex/remoting-config.xml</watch-file> - <watch-file>{context.root}/WEB-INF/flex/messaging-config.xml</watch-file> - <watch-file>{context.root}/WEB-INF/flex/data-management-config.xml</watch-file> - <touch-file>{context.root}/WEB-INF/web.xml</touch-file> - --> - </redeploy> - </system> - -</services-config> http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/apps/blazeds/WEB-INF/web.xml ---------------------------------------------------------------------- diff --git a/apps/blazeds/WEB-INF/web.xml b/apps/blazeds/WEB-INF/web.xml deleted file mode 100755 index 9bf2f4a..0000000 --- a/apps/blazeds/WEB-INF/web.xml +++ /dev/null @@ -1,82 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> -<web-app> - - <display-name>BlazeDS</display-name> - <description>BlazeDS Application</description> - - <!-- Http Flex Session attribute and binding listener support --> - <listener> - <listener-class>flex.messaging.HttpFlexSession</listener-class> - </listener> - - <!-- MessageBroker Servlet --> - <servlet> - <servlet-name>MessageBrokerServlet</servlet-name> - <display-name>MessageBrokerServlet</display-name> - <servlet-class>flex.messaging.MessageBrokerServlet</servlet-class> - <init-param> - <param-name>services.configuration.file</param-name> - <param-value>/WEB-INF/flex/services-config.xml</param-value> - </init-param> - <load-on-startup>1</load-on-startup> - </servlet> - -<!-- begin rds - <servlet> - <servlet-name>RDSDispatchServlet</servlet-name> - <display-name>RDSDispatchServlet</display-name> - <servlet-class>flex.rds.server.servlet.FrontEndServlet</servlet-class> - <init-param> - <param-name>useAppserverSecurity</param-name> - <param-value>true</param-value> - </init-param> - <load-on-startup>10</load-on-startup> - </servlet> - - <servlet-mapping id="RDS_DISPATCH_MAPPING"> - <servlet-name>RDSDispatchServlet</servlet-name> - <url-pattern>/CFIDE/main/ide.cfm</url-pattern> - </servlet-mapping> -end rds --> - - <servlet-mapping> - <servlet-name>MessageBrokerServlet</servlet-name> - <url-pattern>/messagebroker/*</url-pattern> - </servlet-mapping> - - <welcome-file-list> - <welcome-file>index.html</welcome-file> - <welcome-file>index.htm</welcome-file> - </welcome-file-list> - - <!-- for WebSphere deployment, please uncomment --> - <!-- - <resource-ref> - <description>Flex Messaging WorkManager</description> - <res-ref-name>wm/MessagingWorkManager</res-ref-name> - <res-type>com.ibm.websphere.asynchbeans.WorkManager</res-type> - <res-auth>Container</res-auth> - <res-sharing-scope>Shareable</res-sharing-scope> - </resource-ref> - --> - -</web-app> http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/apps/blazeds/build.xml ---------------------------------------------------------------------- diff --git a/apps/blazeds/build.xml b/apps/blazeds/build.xml deleted file mode 100755 index c47017f..0000000 --- a/apps/blazeds/build.xml +++ /dev/null @@ -1,99 +0,0 @@ -<?xml version="1.0"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> - -<project name="blazeds.war/build.xml" default="main" basedir="../.."> - - <property file="${basedir}/build.properties" /> - <property name="blazeds.war" value="${basedir}/apps/blazeds" /> - <property name="dist.dir" value="${basedir}/dist" /> - <property name="src.dir" value="${blazeds.war}/WEB-INF/src"/> - <property name="classes.dir" value="${blazeds.war}/WEB-INF/classes"/> - - <path id="classpath"> - <fileset dir="${blazeds.war}/WEB-INF/lib" includes="**/*.jar" /> - </path> - - <target name="main" depends="clean,compile" /> - - <target name="prepare"> - <mkdir dir="${blazeds.war}/WEB-INF/src" /> - <mkdir dir="${blazeds.war}/WEB-INF/lib" /> - <mkdir dir="${blazeds.war}/WEB-INF/classes" /> - </target> - - <target name="run-depend" if="src.depend"> - <echo message="Removing class files that changed and dependent class files." /> - <depend cache="${classes.dir}" srcdir="${src.dir}" destdir="${classes.dir}" /> - </target> - - <target name="copy-resources"> - <copy todir="${blazeds.war}/WEB-INF/lib"> - <fileset dir="${basedir}/lib" includes="${webapp.ce.lib}" /> - </copy> - <copy todir="${classes.dir}"> - <fileset dir="${basedir}/lib" includes="${webapp.classes}" /> - </copy> - - <propertyfile file="${blazeds.war}/WEB-INF/flex/version.properties"> - <entry key="build" value="${manifest.Implementation-Version}.${build.number}"/> - <entry key="minimumSDKVersion" value="${min.sdk.version}"/> - </propertyfile> - - </target> - - <target name="compile" depends="prepare,run-depend,copy-resources" description="compile"> - <javac source="1.4" debug="${src.debug}" destdir="${classes.dir}" srcdir="${src.dir}" classpathref="classpath" /> - </target> - - <target name="package" description=" Creates distribution war file"> - <mkdir dir="${dist.dir}" /> - <war file="${dist.dir}/blazeds.war" webxml="${blazeds.war}/WEB-INF/web.xml"> - <manifest> - <attribute name="Sealed" value="${manifest.sealed}" /> - <attribute name="Implementation-Title" value="${manifest.Implementation-Title} - BlazeDS Application" /> - <attribute name="Implementation-Version" value="${manifest.Implementation-Version}.${build.number}" /> - <attribute name="Implementation-Vendor" value="${manifest.Implementation-Vendor}" /> - </manifest> - <fileset dir="${blazeds.war}"> - <exclude name="build.xml" /> - <exclude name="WEB-INF/src/**/*.java" /> - <exclude name="WEB-INF/jsp/**/*" /> - <exclude name="WEB-INF/sessions/**/*" /> - <!-- This is included in the war task already --> - <exclude name="WEB-INF/web.xml" /> - </fileset> - </war> - </target> - - <target name="clean" description="--> Removes jars and classes"> - <delete quiet="true"> - <fileset dir="${blazeds.war}/WEB-INF/lib" includes="${webapp.ce.lib},${old.jars.to.clean}" /> - </delete> - <delete quiet="true"> - <fileset dir="${classes.dir}" includes="**/*.class"/> - </delete> - <delete quiet="true" file="${dist.dir}/blazeds.war" /> - <delete quiet="true" dir="${blazeds.war}/WEB-INF/lib" /> - <delete quiet="true" dir="${blazeds.war}/WEB-INF/src" /> - <delete quiet="true" file="${blazeds.war}/WEB-INF/flex/version.properties" /> - <echo>apps/blazeds clean</echo> - </target> - -</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/apps/blazeds/index.htm ---------------------------------------------------------------------- diff --git a/apps/blazeds/index.htm b/apps/blazeds/index.htm deleted file mode 100755 index aeec257..0000000 --- a/apps/blazeds/index.htm +++ /dev/null @@ -1,50 +0,0 @@ -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<title>Welcome to BlazeDS</title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -<style> -body, pre { font-family:Tahoma,Helvetica,sans-serif; font-size:10pt; } -div.indent { margin-left: 20;} -span.reference { font-weight: bold } -span.header {white-space:nowrap } -span.title {font-size:12pt; color:blue} -span.highlight { background-color: #FFFFB7 } -table.code { font-family: courier; font-size: 9pt;} -span.fade { color:#666666; font-size:11px } -</style> -</head> -<body> -<span class="title">Welcome to BlazeDS</span> -<br> - <br> -This is an empty BlazeDS application that serves as a template for creating your custom application. -<!-- -<br> <br> -If you're looking for sample Flex applications, check with the system administrator for the URL where the samples are deployed. ---> -<br> - <br> -Visit the <a href="http://opensource.adobe.com/wiki/display/blazeds/BlazeDS">product page</a> for documentation and further information. -</body> -</html> - - - - http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/apps/ds-console/ConsoleResultWindow.mxml ---------------------------------------------------------------------- diff --git a/apps/ds-console/ConsoleResultWindow.mxml b/apps/ds-console/ConsoleResultWindow.mxml deleted file mode 100755 index 4a8eac2..0000000 --- a/apps/ds-console/ConsoleResultWindow.mxml +++ /dev/null @@ -1,48 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" title="Results" width="200" height="200" showCloseButton="true" close="close()" borderStyle="solid"> - <mx:Script> - <![CDATA[ - - import mx.managers.*; - - public function showResult(result:Object):void - { - resultMessage.text = result.toString(); - } - - public function showSuccess():void - { - resultMessage.text = "Operation executed"; - } - - private function close():void - { - PopUpManager.removePopUp(this); - } - - ]]> - </mx:Script> - <mx:Spacer height="20%"/> - <mx:VBox height="80%"> - <mx:Label id="resultMessage" /> - </mx:VBox> - -</mx:TitleWindow> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/bf2e1dc9/apps/ds-console/WEB-INF/flex/services-config.xml ---------------------------------------------------------------------- diff --git a/apps/ds-console/WEB-INF/flex/services-config.xml b/apps/ds-console/WEB-INF/flex/services-config.xml deleted file mode 100755 index 9283f8c..0000000 --- a/apps/ds-console/WEB-INF/flex/services-config.xml +++ /dev/null @@ -1,116 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<services-config> - - <services> - <!-- - REMOTING SERVICE - --> - <service id="remoting-service" class="flex.messaging.services.RemotingService"> - - <adapters> - <adapter-definition id="java-object" class="flex.messaging.services.remoting.adapters.JavaAdapter" default="true"/> - </adapters> - - <!-- Runtime management console destination --> - <destination id="RuntimeManagement" channels="amf"> - <properties> - <source>flex.management.jmx.MBeanServerGateway</source> - </properties> - - <!-- - If running the console on WebSphere with administrative security enabled uncomment this section. Also, - create a User Group called "console_administrator" and add any users that are allowed to use the console to this group. - These users must also have at least one role that allows them to access MBeans under WebSphere security. Finally, - be sure to use the WebSphere login-command below. - <security> - <security-constraint ref="console"/> - </security> - --> - </destination> - - </service> - - </services> - - - <security> - <login-command class="flex.messaging.security.TomcatLoginCommand" server="Tomcat"/> - <!-- Uncomment the correct app server - <login-command class="flex.messaging.security.TomcatLoginCommand" server="JBoss"/> - <login-command class="flex.messaging.security.JRunLoginCommand" server="JRun"/> - <login-command class="flex.messaging.security.WeblogicLoginCommand" server="Weblogic"/> - <login-command class="flex.messaging.security.WebSphereLoginCommand" server="WebSphere"/> - --> - - <!-- - If running the console on WebSphere with administrative security enabled uncomment this section. Also, - create a User Group called "console_administrator" and add any users that are allowed to use the console to this group. - These users must also have at least one role that allows them to access MBeans under WebSphere security. Finally, - be sure to use the WebSphere login-command above. - <security-constraint id="console"> - <auth-method>Basic</auth-method> - <roles> - <role>console_administrator</role> - </roles> - </security-constraint> - --> - </security> - - - <channels> - - <channel-definition id="amf" class="mx.messaging.channels.AMFChannel"> - <endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/> - <properties> - <polling-enabled>false</polling-enabled> - </properties> - </channel-definition> - - </channels> - - <logging> - - <!-- You may also use flex.messaging.log.ServletLogTarget --> - <target class="flex.messaging.log.ConsoleTarget" level="Error"> - <properties> - <prefix>[BlazeDS] </prefix> - <includeDate>false</includeDate> - <includeTime>false</includeTime> - <includeLevel>true</includeLevel> - <includeCategory>true</includeCategory> - </properties> - <filters> - <pattern>Endpoint.*</pattern> - </filters> - </target> - - </logging> - - <system> - <redeploy> - <enabled>true</enabled> - <watch-interval>20</watch-interval> - <watch-file>{context.root}/WEB-INF/flex/services-config.xml</watch-file> - <touch-file>{context.root}/WEB-INF/web.xml</touch-file> - </redeploy> - </system> - -</services-config>
