http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/ds-console/console/events/ManagementOperationInvokeEvent.as ---------------------------------------------------------------------- diff --git a/attic/apps/ds-console/console/events/ManagementOperationInvokeEvent.as b/attic/apps/ds-console/console/events/ManagementOperationInvokeEvent.as index 548c1c9..1390c4d 100755 --- a/attic/apps/ds-console/console/events/ManagementOperationInvokeEvent.as +++ b/attic/apps/ds-console/console/events/ManagementOperationInvokeEvent.as @@ -1,99 +1,99 @@ -//////////////////////////////////////////////////////////////////////////////// -// -// 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. -// -//////////////////////////////////////////////////////////////////////////////// - -package console.events -{ - -import flash.events.Event; - -/** - * Used to request that an MBean operation be invoked. - */ -public class ManagementOperationInvokeEvent extends Event -{ - /** - * Constructs an instance of this event with the specified type, target, - * and message. - */ - public function ManagementOperationInvokeEvent(mbean:String, name:String, values:Array, signature:Array) - { - super(INVOKE, false, false); - _mbean = mbean; - _name = name; - _values = values; - _signature = signature; - } - - /** - * The mbean of the operation to invoke. - */ - public function get mbean():String - { - return _mbean; - } - - /** - * The name of the operation to invoke. - */ - public function get name():String - { - return _name; - } - - /** - * The argument values for the operation. - */ - public function get values():Array - { - return _values; - } - - /** - * The type signature for operation arguments. - */ - public function get signature():Array - { - return _signature; - } - - /** - * Because this event can be re-dispatched we have to implement clone to - * return the appropriate type, otherwise we will get just the standard - * event type. - * - * @return Clone of this <code>ManagementOperationInvokeEvent</code> - */ - override public function clone():Event - { - return new ManagementOperationInvokeEvent(_mbean, _name, _values, _signature); - } - - /** - * The event type. - */ - public static const INVOKE:String = "invoke"; - - // private members - private var _name:String; - private var _values:Array; - private var _signature:Array; - private var _mbean:String; -} - -} +//////////////////////////////////////////////////////////////////////////////// +// +// 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. +// +//////////////////////////////////////////////////////////////////////////////// + +package console.events +{ + +import flash.events.Event; + +/** + * Used to request that an MBean operation be invoked. + */ +public class ManagementOperationInvokeEvent extends Event +{ + /** + * Constructs an instance of this event with the specified type, target, + * and message. + */ + public function ManagementOperationInvokeEvent(mbean:String, name:String, values:Array, signature:Array) + { + super(INVOKE, false, false); + _mbean = mbean; + _name = name; + _values = values; + _signature = signature; + } + + /** + * The mbean of the operation to invoke. + */ + public function get mbean():String + { + return _mbean; + } + + /** + * The name of the operation to invoke. + */ + public function get name():String + { + return _name; + } + + /** + * The argument values for the operation. + */ + public function get values():Array + { + return _values; + } + + /** + * The type signature for operation arguments. + */ + public function get signature():Array + { + return _signature; + } + + /** + * Because this event can be re-dispatched we have to implement clone to + * return the appropriate type, otherwise we will get just the standard + * event type. + * + * @return Clone of this <code>ManagementOperationInvokeEvent</code> + */ + override public function clone():Event + { + return new ManagementOperationInvokeEvent(_mbean, _name, _values, _signature); + } + + /** + * The event type. + */ + public static const INVOKE:String = "invoke"; + + // private members + private var _name:String; + private var _values:Array; + private var _signature:Array; + private var _mbean:String; +} + +}
http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/samples-spring/README.txt ---------------------------------------------------------------------- diff --git a/attic/apps/samples-spring/README.txt b/attic/apps/samples-spring/README.txt index 714815e..16c2166 100755 --- a/attic/apps/samples-spring/README.txt +++ b/attic/apps/samples-spring/README.txt @@ -1,5 +1,5 @@ -All of the files contained in this directory and any subdirectories are -considered "Sample Code" under the terms of the end user license agreement -that accompanies this product. Please consult such end user license agreement -for details about your rights with respect to such files. - +All of the files contained in this directory and any subdirectories are +considered "Sample Code" under the terms of the end user license agreement +that accompanies this product. Please consult such end user license agreement +for details about your rights with respect to such files. + http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/samples-spring/WEB-INF/classes/commons-logging.properties ---------------------------------------------------------------------- diff --git a/attic/apps/samples-spring/WEB-INF/classes/commons-logging.properties b/attic/apps/samples-spring/WEB-INF/classes/commons-logging.properties index b8a3e1f..46c3be4 100755 --- a/attic/apps/samples-spring/WEB-INF/classes/commons-logging.properties +++ b/attic/apps/samples-spring/WEB-INF/classes/commons-logging.properties @@ -1,19 +1,19 @@ -# 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 +# 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/012fad7c/attic/apps/samples-spring/WEB-INF/flex-servlet.xml ---------------------------------------------------------------------- diff --git a/attic/apps/samples-spring/WEB-INF/flex-servlet.xml b/attic/apps/samples-spring/WEB-INF/flex-servlet.xml index 5f2addc..158453b 100755 --- a/attic/apps/samples-spring/WEB-INF/flex-servlet.xml +++ b/attic/apps/samples-spring/WEB-INF/flex-servlet.xml @@ -1,70 +1,70 @@ -<?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> - - <!-- Expose the productService bean for BlazeDS remoting --> - <flex:remoting-destination ref="productService" /> - - <!-- Expose the contactService bean for BlazeDS remoting --> - <flex:remoting-destination ref="contactService" /> - - <!-- Expose the securedProductService bean for BlazeDS remoting --> - <flex:remoting-destination ref="securedProductService" /> - - <!-- Helper for getting the currently authenticated user --> - <bean id="securityHelper" class="org.springframework.flex.samples.secured.Security3Helper"> - <flex:remoting-destination/> - </bean> - - <!-- Messaging destinations --> - <flex:message-destination id="chat" /> - <flex:message-destination id="simple-feed" /> - <flex:message-destination id="market-feed" allow-subtopics="true" subtopic-separator="." /> - - <!-- MessageTemplate makes it easy to publish messages --> - <bean id="defaultMessageTemplate" class="org.springframework.flex.messaging.MessageTemplate" /> - - <!-- Pojo used to start and stop the data feed that pushes data in the 'simple-feed' destination --> - <bean id="simpleFeedStarter" class="org.springframework.flex.samples.simplefeed.SimpleFeed"> - <constructor-arg ref="defaultMessageTemplate" /> - <flex:remoting-destination /> - </bean> - - <!-- Pojo used to start and stop the data feed that pushes data in the 'market-feed' destination --> - <bean id="marketFeedStarter" class="org.springframework.flex.samples.marketfeed.MarketFeed"> - <constructor-arg ref="defaultMessageTemplate" /> - <constructor-arg value="stocklist.xml" /> - <flex:remoting-destination /> - </bean> - +<?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> + + <!-- Expose the productService bean for BlazeDS remoting --> + <flex:remoting-destination ref="productService" /> + + <!-- Expose the contactService bean for BlazeDS remoting --> + <flex:remoting-destination ref="contactService" /> + + <!-- Expose the securedProductService bean for BlazeDS remoting --> + <flex:remoting-destination ref="securedProductService" /> + + <!-- Helper for getting the currently authenticated user --> + <bean id="securityHelper" class="org.springframework.flex.samples.secured.Security3Helper"> + <flex:remoting-destination/> + </bean> + + <!-- Messaging destinations --> + <flex:message-destination id="chat" /> + <flex:message-destination id="simple-feed" /> + <flex:message-destination id="market-feed" allow-subtopics="true" subtopic-separator="." /> + + <!-- MessageTemplate makes it easy to publish messages --> + <bean id="defaultMessageTemplate" class="org.springframework.flex.messaging.MessageTemplate" /> + + <!-- Pojo used to start and stop the data feed that pushes data in the 'simple-feed' destination --> + <bean id="simpleFeedStarter" class="org.springframework.flex.samples.simplefeed.SimpleFeed"> + <constructor-arg ref="defaultMessageTemplate" /> + <flex:remoting-destination /> + </bean> + + <!-- Pojo used to start and stop the data feed that pushes data in the 'market-feed' destination --> + <bean id="marketFeedStarter" class="org.springframework.flex.samples.marketfeed.MarketFeed"> + <constructor-arg ref="defaultMessageTemplate" /> + <constructor-arg value="stocklist.xml" /> + <flex:remoting-destination /> + </bean> + </beans> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/samples-spring/WEB-INF/flex-src/chat/.actionScriptProperties ---------------------------------------------------------------------- diff --git a/attic/apps/samples-spring/WEB-INF/flex-src/chat/.actionScriptProperties b/attic/apps/samples-spring/WEB-INF/flex-src/chat/.actionScriptProperties index 07c42ee..b5390a8 100755 --- a/attic/apps/samples-spring/WEB-INF/flex-src/chat/.actionScriptProperties +++ b/attic/apps/samples-spring/WEB-INF/flex-src/chat/.actionScriptProperties @@ -1,38 +1,38 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- - - 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. - ---> -<actionScriptProperties mainApplicationPath="chat.mxml" projectUUID="46e6c4ea-bda5-466a-9d9a-a020928ae0f8" version="6"> - <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="true" fteInMXComponents="false" generateAccessible="true" htmlExpressInstall="true" htmlGenerate="true" htmlHistoryManagement="true" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true"> - <compilerSourcePath/> - <libraryPath defaultLinkType="0"> - <libraryPathEntry kind="4" path=""> - <excludedEntries> - <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/> - </excludedEntries> - </libraryPathEntry> - <libraryPathEntry kind="1" linkType="1" path="libs"/> - </libraryPath> - <sourceAttachmentPath/> - </compiler> - <applications> - <application path="chat.mxml"/> - </applications> - <modules/> - <buildCSSFiles/> -</actionScriptProperties> +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- + + 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. + +--> +<actionScriptProperties mainApplicationPath="chat.mxml" projectUUID="46e6c4ea-bda5-466a-9d9a-a020928ae0f8" version="6"> + <compiler additionalCompilerArguments="-locale en_US" autoRSLOrdering="true" copyDependentFiles="true" fteInMXComponents="false" generateAccessible="true" htmlExpressInstall="true" htmlGenerate="true" htmlHistoryManagement="true" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true"> + <compilerSourcePath/> + <libraryPath defaultLinkType="0"> + <libraryPathEntry kind="4" path=""> + <excludedEntries> + <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/> + </excludedEntries> + </libraryPathEntry> + <libraryPathEntry kind="1" linkType="1" path="libs"/> + </libraryPath> + <sourceAttachmentPath/> + </compiler> + <applications> + <application path="chat.mxml"/> + </applications> + <modules/> + <buildCSSFiles/> +</actionScriptProperties> http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/samples-spring/WEB-INF/flex-src/chat/.flexProperties ---------------------------------------------------------------------- diff --git a/attic/apps/samples-spring/WEB-INF/flex-src/chat/.flexProperties b/attic/apps/samples-spring/WEB-INF/flex-src/chat/.flexProperties index afc8269..1d99468 100755 --- a/attic/apps/samples-spring/WEB-INF/flex-src/chat/.flexProperties +++ b/attic/apps/samples-spring/WEB-INF/flex-src/chat/.flexProperties @@ -1,20 +1,20 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<!-- - - 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. - ---> -<flexProperties enableServiceManager="false" flexServerFeatures="0" flexServerType="0" toolCompile="true" useServerFlexSDK="false" version="2"/> +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- + + 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. + +--> +<flexProperties enableServiceManager="false" flexServerFeatures="0" flexServerType="0" toolCompile="true" useServerFlexSDK="false" version="2"/> http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/samples-spring/WEB-INF/flex-src/chat/.project ---------------------------------------------------------------------- diff --git a/attic/apps/samples-spring/WEB-INF/flex-src/chat/.project b/attic/apps/samples-spring/WEB-INF/flex-src/chat/.project index 648b1c7..0cb0ea0 100755 --- a/attic/apps/samples-spring/WEB-INF/flex-src/chat/.project +++ b/attic/apps/samples-spring/WEB-INF/flex-src/chat/.project @@ -1,36 +1,36 @@ -<?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. - ---> -<projectDescription> - <name>chat</name> - <comment></comment> - <projects> - </projects> - <buildSpec> - <buildCommand> - <name>com.adobe.flexbuilder.project.flexbuilder</name> - <arguments> - </arguments> - </buildCommand> - </buildSpec> - <natures> - <nature>com.adobe.flexbuilder.project.flexnature</nature> - <nature>com.adobe.flexbuilder.project.actionscriptnature</nature> - </natures> -</projectDescription> +<?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. + +--> +<projectDescription> + <name>chat</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>com.adobe.flexbuilder.project.flexbuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>com.adobe.flexbuilder.project.flexnature</nature> + <nature>com.adobe.flexbuilder.project.actionscriptnature</nature> + </natures> +</projectDescription> http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/samples-spring/WEB-INF/flex-src/chat/build.xml ---------------------------------------------------------------------- diff --git a/attic/apps/samples-spring/WEB-INF/flex-src/chat/build.xml b/attic/apps/samples-spring/WEB-INF/flex-src/chat/build.xml index 22a305f..e5ee6d4 100755 --- a/attic/apps/samples-spring/WEB-INF/flex-src/chat/build.xml +++ b/attic/apps/samples-spring/WEB-INF/flex-src/chat/build.xml @@ -1,76 +1,76 @@ -<?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="samples-spring.war/build.xml" default="main" basedir="../../../../../"> - - <property environment="env" /> - <property file="${basedir}/build.properties"/> - <property name="samples-spring.war" value="${basedir}/apps/samples-spring"/> - <property name="context.root" value="samples-spring" /> - <property name="application.name" value="chat" /> - <property name="application.file" value="chat" /> - <property name="application.bin.dir" value="${samples-spring.war}/chat" /> - <property name="application.src.dir" value="${samples-spring.war}/WEB-INF/flex-src/chat/src" /> - - <target name="main" depends="clean,compile-swf" /> - - <target name="compile-swf"> - - <taskdef resource="flexTasks.tasks" classpath="${basedir}/ant/lib/flexTasks.jar" /> - - <property name="FLEX_HOME" value="${basedir}"/> - - <mxmlc file="${application.src.dir}/${application.file}.mxml" - output="${application.bin.dir}/${application.file}.swf" - actionscript-file-encoding="UTF-8" - keep-generated-actionscript="false" - incremental="false" - services="${samples-spring.war}/WEB-INF/flex/services-config.xml" - context-root="${context.root}" - locale="en_US"> - <load-config filename="${basedir}/frameworks/flex-config.xml"/> - <license product="flexbuilder3" serial-number="${env.fb3_license}"/> - <source-path path-element="${basedir}/frameworks"/> - <external-library-path/> - <metadata> - <publisher name="${manifest.Implementation-Vendor}" /> - <creator name="${manifest.Implementation-Vendor}" /> - </metadata> - </mxmlc> - - <html-wrapper title="${application.name}" - height="100%" - width="100%" - application="app" - swf="${application.file}" - version-major="10" - version-minor="0" - version-revision="0" - output="${application.bin.dir}"/> - - </target> - - <target name="clean" description="--> Removes jars and classes"> - <delete quiet="true" includeemptydirs="true"> - <fileset dir="${application.bin.dir}" includes="*.swf,index.html"/> - <fileset dir="${application.bin.dir}/history" /> - </delete> - </target> - -</project> +<?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="samples-spring.war/build.xml" default="main" basedir="../../../../../"> + + <property environment="env" /> + <property file="${basedir}/build.properties"/> + <property name="samples-spring.war" value="${basedir}/apps/samples-spring"/> + <property name="context.root" value="samples-spring" /> + <property name="application.name" value="chat" /> + <property name="application.file" value="chat" /> + <property name="application.bin.dir" value="${samples-spring.war}/chat" /> + <property name="application.src.dir" value="${samples-spring.war}/WEB-INF/flex-src/chat/src" /> + + <target name="main" depends="clean,compile-swf" /> + + <target name="compile-swf"> + + <taskdef resource="flexTasks.tasks" classpath="${basedir}/ant/lib/flexTasks.jar" /> + + <property name="FLEX_HOME" value="${basedir}"/> + + <mxmlc file="${application.src.dir}/${application.file}.mxml" + output="${application.bin.dir}/${application.file}.swf" + actionscript-file-encoding="UTF-8" + keep-generated-actionscript="false" + incremental="false" + services="${samples-spring.war}/WEB-INF/flex/services-config.xml" + context-root="${context.root}" + locale="en_US"> + <load-config filename="${basedir}/frameworks/flex-config.xml"/> + <license product="flexbuilder3" serial-number="${env.fb3_license}"/> + <source-path path-element="${basedir}/frameworks"/> + <external-library-path/> + <metadata> + <publisher name="${manifest.Implementation-Vendor}" /> + <creator name="${manifest.Implementation-Vendor}" /> + </metadata> + </mxmlc> + + <html-wrapper title="${application.name}" + height="100%" + width="100%" + application="app" + swf="${application.file}" + version-major="10" + version-minor="0" + version-revision="0" + output="${application.bin.dir}"/> + + </target> + + <target name="clean" description="--> Removes jars and classes"> + <delete quiet="true" includeemptydirs="true"> + <fileset dir="${application.bin.dir}" includes="*.swf,index.html"/> + <fileset dir="${application.bin.dir}/history" /> + </delete> + </target> + +</project> http://git-wip-us.apache.org/repos/asf/flex-blazeds/blob/012fad7c/attic/apps/samples-spring/WEB-INF/flex-src/chat/html-template/history/history.css ---------------------------------------------------------------------- diff --git a/attic/apps/samples-spring/WEB-INF/flex-src/chat/html-template/history/history.css b/attic/apps/samples-spring/WEB-INF/flex-src/chat/html-template/history/history.css index 8716330..4a7f791 100755 --- a/attic/apps/samples-spring/WEB-INF/flex-src/chat/html-template/history/history.css +++ b/attic/apps/samples-spring/WEB-INF/flex-src/chat/html-template/history/history.css @@ -1,22 +1,22 @@ -/* - * 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. - */ -/* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ - -#ie_historyFrame { width: 0px; height: 0px; display:none } -#firefox_anchorDiv { width: 0px; height: 0px; display:none } -#safari_formDiv { width: 0px; height: 0px; display:none } -#safari_rememberDiv { width: 0px; height: 0px; display:none } +/* + * 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. + */ +/* This CSS stylesheet defines styles used by required elements in a flex application page that supports browser history */ + +#ie_historyFrame { width: 0px; height: 0px; display:none } +#firefox_anchorDiv { width: 0px; height: 0px; display:none } +#safari_formDiv { width: 0px; height: 0px; display:none } +#safari_rememberDiv { width: 0px; height: 0px; display:none }
