You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by er...@apache.org on 2017/11/15 06:46:56 UTC
[royale-asjs] 03/03: Revert "[WAST] batch script for WASTC and an
early example project"
This is an automated email from the ASF dual-hosted git repository.
erikdebruin pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit 7832f47520d0a6964271cdb6efb8ae16f35b83da
Author: Erik de Bruin <er...@ixsoftware.nl>
AuthorDate: Wed Nov 15 07:46:37 2017 +0100
Revert "[WAST] batch script for WASTC and an early example project"
This reverts commit e036dd345ba0c37b80bef09798c9c957a6088ee7.
---
wast/bin/wastc | 72 ------------------------------
wast/examples/HelloWorld/src/HelloWorld.as | 29 ------------
2 files changed, 101 deletions(-)
diff --git a/wast/bin/wastc b/wast/bin/wastc
deleted file mode 100755
index fd77d19..0000000
--- a/wast/bin/wastc
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/bin/sh
-
-################################################################################
-##
-## 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.
-##
-################################################################################
-
-
-#
-# wastc shell script to launch wastc.jar on OSX, Unix, or Cygwin.
-#
-
-SCRIPT_HOME=`dirname "$0"`
-
-test "$FLEX_HOME" = "" && {
- FLEX_HOME=`dirname "$0"`/../..
-}
-
-for i in "$@"
-do
-case $i in
- -t=*|--target-player=*)
- TARGET_PLAYER="${i#*=}"
- shift
- ;;
- *) # unknown option
- ;;
-esac
-done
-
-test "$TARGET_PLAYER" = "" && {
- TARGET_PLAYER=11.1
-}
-
-case `uname` in
- CYGWIN*)
- OS="Windows"
- ;;
- *)
- OS=Unix
-esac
-
-D32=''
-
-if [ $OS = "Unix" ]; then
-
- check64="`java -version 2>&1 | grep -i 64-Bit`"
- isOSX="`uname | grep -i Darwin`"
- javaVersion="`java -version 2>&1 | awk -F '[ ".]+' 'NR==1 {print $3 "." $4}'`"
-
- if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" -a "$javaVersion" = "1.6" ]; then
- D32='-d32'
- fi
-fi
-
-VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false"
-
-java $VMARGS $D32 -jar "${SCRIPT_HOME}/../lib/wastc.jar" -external-library-path="${FLEX_HOME}/frameworks/libs/player/${TARGET_PLAYER}/playerglobal.swc" "$@"
diff --git a/wast/examples/HelloWorld/src/HelloWorld.as b/wast/examples/HelloWorld/src/HelloWorld.as
deleted file mode 100644
index b2d2c36..0000000
--- a/wast/examples/HelloWorld/src/HelloWorld.as
+++ /dev/null
@@ -1,29 +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.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package
-{
- public class HelloWorld
- {
- public function HelloWorld()
- {
- trace('Hello world ;-)');
- }
- }
-}
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
"commits@royale.apache.org" <co...@royale.apache.org>.