incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cframp...@apache.org
Subject svn commit: r1365701 - in /incubator/flex/trunk/ide/flashbuilder: makeApacheFlexForFlashBuilder.bat makeApacheFlexForFlashBuilder.sh
Date Wed, 25 Jul 2012 19:33:14 GMT
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



Mime
View raw message