You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cf...@apache.org on 2012/07/25 21:33:14 UTC

svn commit: r1365701 - in /incubator/flex/trunk/ide/flashbuilder: makeApacheFlexForFlashBuilder.bat makeApacheFlexForFlashBuilder.sh

Author: cframpton
Date: Wed Jul 25 19:33:14 2012
New Revision: 1365701

URL: http://svn.apache.org/viewvc?rev=1365701&view=rev
Log:
Two fixes - for the sh script it should work if the current directory isn't ide/flashbuilder and for the bat script prepend "call" to ant command.

Modified:
    incubator/flex/trunk/ide/flashbuilder/makeApacheFlexForFlashBuilder.bat
    incubator/flex/trunk/ide/flashbuilder/makeApacheFlexForFlashBuilder.sh

Modified: incubator/flex/trunk/ide/flashbuilder/makeApacheFlexForFlashBuilder.bat
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/ide/flashbuilder/makeApacheFlexForFlashBuilder.bat?rev=1365701&r1=1365700&r2=1365701&view=diff
==============================================================================
--- incubator/flex/trunk/ide/flashbuilder/makeApacheFlexForFlashBuilder.bat (original)
+++ incubator/flex/trunk/ide/flashbuilder/makeApacheFlexForFlashBuilder.bat Wed Jul 25 19:33:14 2012
@@ -89,7 +89,7 @@ if not exist "%tempDir%" mkdir "%tempDir
 REM
 REM the third-party downloads, including the optional components
 REM
-ant -f "%FLEX_HOME%/frameworks/downloads.xml"
+call ant -f "%FLEX_HOME%/frameworks/downloads.xml"
 
 REM
 REM     Download AIR Runtime Kit for Windows

Modified: incubator/flex/trunk/ide/flashbuilder/makeApacheFlexForFlashBuilder.sh
URL: http://svn.apache.org/viewvc/incubator/flex/trunk/ide/flashbuilder/makeApacheFlexForFlashBuilder.sh?rev=1365701&r1=1365700&r2=1365701&view=diff
==============================================================================
--- incubator/flex/trunk/ide/flashbuilder/makeApacheFlexForFlashBuilder.sh (original)
+++ incubator/flex/trunk/ide/flashbuilder/makeApacheFlexForFlashBuilder.sh Wed Jul 25 19:33:14 2012
@@ -35,7 +35,7 @@
 # Edit these constants if you would like to download from alternative locations.
 
 # Apache Flex binary distribution
-APACHE_FLEX_BIN_DIR=`(cd ../.. && pwd)`
+APACHE_FLEX_BIN_DIR="$( cd $( dirname -- "$0" ) > /dev/null ; pwd )"/../..
 
 # Adobe AIR SDK Version 3.1
 ADOBE_AIR_SDK_MAC_URL=http://airdownload.adobe.com/air/mac/download/3.1/AdobeAIRSDK.tbz2