Return-Path: X-Original-To: apmail-flex-commits-archive@www.apache.org Delivered-To: apmail-flex-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 54EBB17724 for ; Sun, 27 Sep 2015 06:06:47 +0000 (UTC) Received: (qmail 90432 invoked by uid 500); 27 Sep 2015 06:06:47 -0000 Delivered-To: apmail-flex-commits-archive@flex.apache.org Received: (qmail 90404 invoked by uid 500); 27 Sep 2015 06:06:47 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 90396 invoked by uid 99); 27 Sep 2015 06:06:47 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 27 Sep 2015 06:06:47 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C6213DFBD3; Sun, 27 Sep 2015 06:06:46 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: aharui@apache.org To: commits@flex.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: git commit: [flex-asjs] [refs/heads/develop] - rename jsc scripts to asjsc Date: Sun, 27 Sep 2015 06:06:46 +0000 (UTC) Repository: flex-asjs Updated Branches: refs/heads/develop 33016bb59 -> 0bbba3e58 rename jsc scripts to asjsc Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/0bbba3e5 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/0bbba3e5 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/0bbba3e5 Branch: refs/heads/develop Commit: 0bbba3e58553b463e35608330ec42501d4157b17 Parents: 33016bb Author: Alex Harui Authored: Sat Sep 26 23:07:26 2015 -0700 Committer: Alex Harui Committed: Sat Sep 26 23:07:26 2015 -0700 ---------------------------------------------------------------------- .../projects/Binding/compile-asjs-config.xml | 2 +- .../projects/Charts/compile-asjs-config.xml | 2 +- .../Collections/compile-asjs-config.xml | 2 +- .../projects/Core/compile-asjs-config.xml | 2 +- .../projects/DragDrop/compile-asjs-config.xml | 2 +- .../projects/Effects/compile-asjs-config.xml | 2 +- .../projects/Formatters/compile-asjs-config.xml | 2 +- .../projects/HTML/compile-asjs-config.xml | 2 +- .../projects/Mobile/compile-asjs-config.xml | 2 +- installer.xml | 4 +- js/bin/asjsc | 70 ++++++++++++++++++++ js/bin/asjsc.bat | 29 ++++++++ js/bin/asjscompc | 70 ++++++++++++++++++++ js/bin/asjscompc.bat | 29 ++++++++ js/bin/compcjsc | 70 -------------------- js/bin/compcjsc.bat | 29 -------- js/bin/jsc | 70 -------------------- js/bin/jsc.bat | 29 -------- 18 files changed, 209 insertions(+), 209 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/frameworks/projects/Binding/compile-asjs-config.xml ---------------------------------------------------------------------- diff --git a/frameworks/projects/Binding/compile-asjs-config.xml b/frameworks/projects/Binding/compile-asjs-config.xml index c7bd631..8a0395b 100644 --- a/frameworks/projects/Binding/compile-asjs-config.xml +++ b/frameworks/projects/Binding/compile-asjs-config.xml @@ -43,7 +43,7 @@ - ../../libs/Core.swc http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/frameworks/projects/Charts/compile-asjs-config.xml ---------------------------------------------------------------------- diff --git a/frameworks/projects/Charts/compile-asjs-config.xml b/frameworks/projects/Charts/compile-asjs-config.xml index b63a50c..19ab3bd 100644 --- a/frameworks/projects/Charts/compile-asjs-config.xml +++ b/frameworks/projects/Charts/compile-asjs-config.xml @@ -43,7 +43,7 @@ - ../../libs/Core.swc http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/frameworks/projects/Collections/compile-asjs-config.xml ---------------------------------------------------------------------- diff --git a/frameworks/projects/Collections/compile-asjs-config.xml b/frameworks/projects/Collections/compile-asjs-config.xml index 57fd3af..48d7dc0 100644 --- a/frameworks/projects/Collections/compile-asjs-config.xml +++ b/frameworks/projects/Collections/compile-asjs-config.xml @@ -43,7 +43,7 @@ - ../../libs/Core.swc http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/frameworks/projects/Core/compile-asjs-config.xml ---------------------------------------------------------------------- diff --git a/frameworks/projects/Core/compile-asjs-config.xml b/frameworks/projects/Core/compile-asjs-config.xml index 9b093c0..a37a163 100644 --- a/frameworks/projects/Core/compile-asjs-config.xml +++ b/frameworks/projects/Core/compile-asjs-config.xml @@ -43,7 +43,7 @@ - ../../libs/Core.swc http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/frameworks/projects/DragDrop/compile-asjs-config.xml ---------------------------------------------------------------------- diff --git a/frameworks/projects/DragDrop/compile-asjs-config.xml b/frameworks/projects/DragDrop/compile-asjs-config.xml index 6b632d4..3fcabd6 100644 --- a/frameworks/projects/DragDrop/compile-asjs-config.xml +++ b/frameworks/projects/DragDrop/compile-asjs-config.xml @@ -43,7 +43,7 @@ - ../../libs/Core.swc http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/frameworks/projects/Effects/compile-asjs-config.xml ---------------------------------------------------------------------- diff --git a/frameworks/projects/Effects/compile-asjs-config.xml b/frameworks/projects/Effects/compile-asjs-config.xml index 8fd6a6c..1131fa7 100644 --- a/frameworks/projects/Effects/compile-asjs-config.xml +++ b/frameworks/projects/Effects/compile-asjs-config.xml @@ -43,7 +43,7 @@ - ../../libs/Core.swc http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/frameworks/projects/Formatters/compile-asjs-config.xml ---------------------------------------------------------------------- diff --git a/frameworks/projects/Formatters/compile-asjs-config.xml b/frameworks/projects/Formatters/compile-asjs-config.xml index 8f8c841..d688c63 100644 --- a/frameworks/projects/Formatters/compile-asjs-config.xml +++ b/frameworks/projects/Formatters/compile-asjs-config.xml @@ -43,7 +43,7 @@ - ../../libs/Core.swc http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/frameworks/projects/HTML/compile-asjs-config.xml ---------------------------------------------------------------------- diff --git a/frameworks/projects/HTML/compile-asjs-config.xml b/frameworks/projects/HTML/compile-asjs-config.xml index 93560c6..c0379f3 100644 --- a/frameworks/projects/HTML/compile-asjs-config.xml +++ b/frameworks/projects/HTML/compile-asjs-config.xml @@ -43,7 +43,7 @@ - ../../libs/Binding.swc http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/frameworks/projects/Mobile/compile-asjs-config.xml ---------------------------------------------------------------------- diff --git a/frameworks/projects/Mobile/compile-asjs-config.xml b/frameworks/projects/Mobile/compile-asjs-config.xml index 9a885c8..043394b 100644 --- a/frameworks/projects/Mobile/compile-asjs-config.xml +++ b/frameworks/projects/Mobile/compile-asjs-config.xml @@ -43,7 +43,7 @@ - ../../libs/Core.swc http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/installer.xml ---------------------------------------------------------------------- diff --git a/installer.xml b/installer.xml index bd0427c..0906ced 100644 --- a/installer.xml +++ b/installer.xml @@ -321,11 +321,11 @@ - + - + http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/js/bin/asjsc ---------------------------------------------------------------------- diff --git a/js/bin/asjsc b/js/bin/asjsc new file mode 100755 index 0000000..3270f31 --- /dev/null +++ b/js/bin/asjsc @@ -0,0 +1,70 @@ +#!/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. +## +################################################################################ + + +# +# mxmlc shell script to launch falcon-mxmlc.jar on OSX, Unix, or Cygwin. +# In Windows Command Prompt, use mxmlc.bat instead. +# + +SCRIPT_HOME=`dirname $0` +if [ "x${FALCON_HOME}" = "x" ] +then + FALCON_HOME=${SCRIPT_HOME}/../.. +fi + +echo Using Falcon codebase: $FALCON_HOME + +if [ "x${FLEX_HOME}" = "x" ] +then + FLEX_HOME=${SCRIPT_HOME}/../.. +fi +echo Using Flex SDK: $FLEX_HOME + +case `uname` in + CYGWIN*) + OS="Windows" + ;; + *) + OS=Unix +esac + +D32='' + +if [ $OS = "Windows" ]; then + + FALCON_HOME=`cygpath -m $FALCON_HOME` + FLEX_HOME=`cygpath -m $FLEX_HOME` + +elif [ $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 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks" -js-output-type=jsc -external-library-path="$SCRIPT_HOME/../libs/js.swc" "$@" http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/js/bin/asjsc.bat ---------------------------------------------------------------------- diff --git a/js/bin/asjsc.bat b/js/bin/asjsc.bat new file mode 100644 index 0000000..0df6851 --- /dev/null +++ b/js/bin/asjsc.bat @@ -0,0 +1,29 @@ +@echo off + +rem +rem Licensed to the Apache Software Foundation (ASF) under one or more +rem contributor license agreements. See the NOTICE file distributed with +rem this work for additional information regarding copyright ownership. +rem The ASF licenses this file to You under the Apache License, Version 2.0 +rem (the "License"); you may not use this file except in compliance with +rem the License. You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. +rem + +rem +rem mxmlc.bat script to launch falcon-mxmlc.jar in Windows Command Prompt. +rem On OSX, Unix, or Cygwin, use the mxmlc shell script instead. +rem + +if "x%FALCON_HOME%"=="x" (set "FALCON_HOME=%~dp0..\..") else echo Using Falcon codebase: %FALCON_HOME% + +if "x%FLEX_HOME%"=="x" (set "FLEX_HOME=%~dp0..\..") else echo Using Flex SDK: %FLEX_HOME% + +@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar "%FALCON_HOME%\js\lib\mxmlc.jar" -js-output-type=jsc -external-library-path="%FLEX_HOME%\js\libs\js.swc" %* \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/js/bin/asjscompc ---------------------------------------------------------------------- diff --git a/js/bin/asjscompc b/js/bin/asjscompc new file mode 100755 index 0000000..7fd0cb0 --- /dev/null +++ b/js/bin/asjscompc @@ -0,0 +1,70 @@ +#!/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. +## +################################################################################ + + +# +# mxmlc shell script to launch falcon-mxmlc.jar on OSX, Unix, or Cygwin. +# In Windows Command Prompt, use mxmlc.bat instead. +# + +if [ "x${FALCON_HOME}" = "x" ] +then + SCRIPT_HOME=`dirname $0` + FALCON_HOME=${SCRIPT_HOME}/../.. +fi + +echo Using Falcon codebase: $FALCON_HOME + +if [ "x${FLEX_HOME}" = "x" ] +then + FLEX_HOME=${SCRIPT_HOME}/../.. +fi +echo Using Flex SDK: $FLEX_HOME + +case `uname` in + CYGWIN*) + OS="Windows" + ;; + *) + OS=Unix +esac + +D32='' + +if [ $OS = "Windows" ]; then + + FALCON_HOME=`cygpath -m $FALCON_HOME` + FLEX_HOME=`cygpath -m $FLEX_HOME` + +elif [ $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 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/compc.jar" +flexlib="$FLEX_HOME/frameworks" -js-output-type=jsc -external-library-path="$SCRIPT_HOME/../libs/js.swc" "$@" http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/js/bin/asjscompc.bat ---------------------------------------------------------------------- diff --git a/js/bin/asjscompc.bat b/js/bin/asjscompc.bat new file mode 100644 index 0000000..a9ea897 --- /dev/null +++ b/js/bin/asjscompc.bat @@ -0,0 +1,29 @@ +@echo off + +rem +rem Licensed to the Apache Software Foundation (ASF) under one or more +rem contributor license agreements. See the NOTICE file distributed with +rem this work for additional information regarding copyright ownership. +rem The ASF licenses this file to You under the Apache License, Version 2.0 +rem (the "License"); you may not use this file except in compliance with +rem the License. You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, software +rem distributed under the License is distributed on an "AS IS" BASIS, +rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +rem See the License for the specific language governing permissions and +rem limitations under the License. +rem + +rem +rem compc.bat script to launch falcon-compc.jar in Windows Command Prompt. +rem On OSX, Unix, or Cygwin, use the compc shell script instead. +rem + +if "x%FALCON_HOME%"=="x" (set "FALCON_HOME=%~dp0..\..") else echo Using Falcon codebase: %FALCON_HOME% + +if "x%FLEX_HOME%"=="x" (set "FLEX_HOME=%~dp0..\..") else echo Using Flex SDK: %FLEX_HOME% + +@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar "%FALCON_HOME%\js\lib\compc.jar" -js-output-type=jsc -external-library-path="%FLEX_HOME%\js\libs\js.swc" %* \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/js/bin/compcjsc ---------------------------------------------------------------------- diff --git a/js/bin/compcjsc b/js/bin/compcjsc deleted file mode 100755 index 7fd0cb0..0000000 --- a/js/bin/compcjsc +++ /dev/null @@ -1,70 +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. -## -################################################################################ - - -# -# mxmlc shell script to launch falcon-mxmlc.jar on OSX, Unix, or Cygwin. -# In Windows Command Prompt, use mxmlc.bat instead. -# - -if [ "x${FALCON_HOME}" = "x" ] -then - SCRIPT_HOME=`dirname $0` - FALCON_HOME=${SCRIPT_HOME}/../.. -fi - -echo Using Falcon codebase: $FALCON_HOME - -if [ "x${FLEX_HOME}" = "x" ] -then - FLEX_HOME=${SCRIPT_HOME}/../.. -fi -echo Using Flex SDK: $FLEX_HOME - -case `uname` in - CYGWIN*) - OS="Windows" - ;; - *) - OS=Unix -esac - -D32='' - -if [ $OS = "Windows" ]; then - - FALCON_HOME=`cygpath -m $FALCON_HOME` - FLEX_HOME=`cygpath -m $FLEX_HOME` - -elif [ $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 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/compc.jar" +flexlib="$FLEX_HOME/frameworks" -js-output-type=jsc -external-library-path="$SCRIPT_HOME/../libs/js.swc" "$@" http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/js/bin/compcjsc.bat ---------------------------------------------------------------------- diff --git a/js/bin/compcjsc.bat b/js/bin/compcjsc.bat deleted file mode 100644 index a9ea897..0000000 --- a/js/bin/compcjsc.bat +++ /dev/null @@ -1,29 +0,0 @@ -@echo off - -rem -rem Licensed to the Apache Software Foundation (ASF) under one or more -rem contributor license agreements. See the NOTICE file distributed with -rem this work for additional information regarding copyright ownership. -rem The ASF licenses this file to You under the Apache License, Version 2.0 -rem (the "License"); you may not use this file except in compliance with -rem the License. You may obtain a copy of the License at -rem -rem http://www.apache.org/licenses/LICENSE-2.0 -rem -rem Unless required by applicable law or agreed to in writing, software -rem distributed under the License is distributed on an "AS IS" BASIS, -rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -rem See the License for the specific language governing permissions and -rem limitations under the License. -rem - -rem -rem compc.bat script to launch falcon-compc.jar in Windows Command Prompt. -rem On OSX, Unix, or Cygwin, use the compc shell script instead. -rem - -if "x%FALCON_HOME%"=="x" (set "FALCON_HOME=%~dp0..\..") else echo Using Falcon codebase: %FALCON_HOME% - -if "x%FLEX_HOME%"=="x" (set "FLEX_HOME=%~dp0..\..") else echo Using Flex SDK: %FLEX_HOME% - -@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar "%FALCON_HOME%\js\lib\compc.jar" -js-output-type=jsc -external-library-path="%FLEX_HOME%\js\libs\js.swc" %* \ No newline at end of file http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/js/bin/jsc ---------------------------------------------------------------------- diff --git a/js/bin/jsc b/js/bin/jsc deleted file mode 100755 index 3270f31..0000000 --- a/js/bin/jsc +++ /dev/null @@ -1,70 +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. -## -################################################################################ - - -# -# mxmlc shell script to launch falcon-mxmlc.jar on OSX, Unix, or Cygwin. -# In Windows Command Prompt, use mxmlc.bat instead. -# - -SCRIPT_HOME=`dirname $0` -if [ "x${FALCON_HOME}" = "x" ] -then - FALCON_HOME=${SCRIPT_HOME}/../.. -fi - -echo Using Falcon codebase: $FALCON_HOME - -if [ "x${FLEX_HOME}" = "x" ] -then - FLEX_HOME=${SCRIPT_HOME}/../.. -fi -echo Using Flex SDK: $FLEX_HOME - -case `uname` in - CYGWIN*) - OS="Windows" - ;; - *) - OS=Unix -esac - -D32='' - -if [ $OS = "Windows" ]; then - - FALCON_HOME=`cygpath -m $FALCON_HOME` - FLEX_HOME=`cygpath -m $FLEX_HOME` - -elif [ $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 $SETUP_SH_VMARGS -Dflexcompiler="$FALCON_HOME" -Dflexlib="$FLEX_HOME/frameworks" -jar "$SCRIPT_HOME/../lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks" -js-output-type=jsc -external-library-path="$SCRIPT_HOME/../libs/js.swc" "$@" http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0bbba3e5/js/bin/jsc.bat ---------------------------------------------------------------------- diff --git a/js/bin/jsc.bat b/js/bin/jsc.bat deleted file mode 100644 index 0df6851..0000000 --- a/js/bin/jsc.bat +++ /dev/null @@ -1,29 +0,0 @@ -@echo off - -rem -rem Licensed to the Apache Software Foundation (ASF) under one or more -rem contributor license agreements. See the NOTICE file distributed with -rem this work for additional information regarding copyright ownership. -rem The ASF licenses this file to You under the Apache License, Version 2.0 -rem (the "License"); you may not use this file except in compliance with -rem the License. You may obtain a copy of the License at -rem -rem http://www.apache.org/licenses/LICENSE-2.0 -rem -rem Unless required by applicable law or agreed to in writing, software -rem distributed under the License is distributed on an "AS IS" BASIS, -rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -rem See the License for the specific language governing permissions and -rem limitations under the License. -rem - -rem -rem mxmlc.bat script to launch falcon-mxmlc.jar in Windows Command Prompt. -rem On OSX, Unix, or Cygwin, use the mxmlc shell script instead. -rem - -if "x%FALCON_HOME%"=="x" (set "FALCON_HOME=%~dp0..\..") else echo Using Falcon codebase: %FALCON_HOME% - -if "x%FLEX_HOME%"=="x" (set "FLEX_HOME=%~dp0..\..") else echo Using Flex SDK: %FLEX_HOME% - -@java -Dsun.io.useCanonCaches=false -Xms32m -Xmx512m -Dflexcompiler="%FALCON_HOME%" -Dflexlib="%FLEX_HOME%\frameworks" -jar "%FALCON_HOME%\js\lib\mxmlc.jar" -js-output-type=jsc -external-library-path="%FLEX_HOME%\js\libs\js.swc" %* \ No newline at end of file