incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bigosma...@apache.org
Subject svn commit: r1371818 - in /incubator/flex/utilities/InstallApacheFlex/src: ApacheFlexConfig.xml org/apache/flex/packageflexsdk/util/ org/apache/flex/packageflexsdk/util/MirrorURLUtil.as
Date Fri, 10 Aug 2012 20:00:55 GMT
Author: bigosmallm
Date: Fri Aug 10 20:00:55 2012
New Revision: 1371818

URL: http://svn.apache.org/viewvc?rev=1371818&view=rev
Log:
Tweaked the single-mirror-url result processing a bit to make sure we get only the url.  
Added versionUrl node to ApacheFlexConfig.xml

Modified:
    incubator/flex/utilities/InstallApacheFlex/src/ApacheFlexConfig.xml
    incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/util/  
(props changed)
    incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/util/MirrorURLUtil.as

Modified: incubator/flex/utilities/InstallApacheFlex/src/ApacheFlexConfig.xml
URL: http://svn.apache.org/viewvc/incubator/flex/utilities/InstallApacheFlex/src/ApacheFlexConfig.xml?rev=1371818&r1=1371817&r2=1371818&view=diff
==============================================================================
--- incubator/flex/utilities/InstallApacheFlex/src/ApacheFlexConfig.xml (original)
+++ incubator/flex/utilities/InstallApacheFlex/src/ApacheFlexConfig.xml Fri Aug 10 20:00:55
2012
@@ -18,6 +18,7 @@ limitations under the License.
 -->
 <config>
 	<version>1.0</version>
+	<versionurl>http://people.apache.org/~bigosmallm/installapacheflex/version.xml</versionurl>
 	<files>
 		<!-- Apache Flex binary distribution -->
 		<file name="ApacheFlexSDK" path="incubator/flex/4.8.0-incubating/binaries/" file="apache-flex-sdk-4.8.0-incubating-bin.zip"
/>
@@ -44,8 +45,5 @@ limitations under the License.
 		<!-- TLF -->
 		<file name="TLF" path="http://opensource.adobe.com/svn/opensource/flex/sdk/branches/4.y/frameworks/libs/"
file="textLayout.swc" />	
 
-		<!-- AdobeFlex4.6 -->
-<!-- 		<file name="AdobeFlex4.6" path="http://fpdownload.adobe.com/pub/flex/sdk/builds/flex4.6/"
file="flex_sdk_4.6.0.23201B.zip" />	 -->
-		
 	</files>
 </config>
\ No newline at end of file

Propchange: incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/util/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Aug 10 20:00:55 2012
@@ -0,0 +1 @@
+*.bak

Modified: incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/util/MirrorURLUtil.as
URL: http://svn.apache.org/viewvc/incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/util/MirrorURLUtil.as?rev=1371818&r1=1371817&r2=1371818&view=diff
==============================================================================
--- incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/util/MirrorURLUtil.as
(original)
+++ incubator/flex/utilities/InstallApacheFlex/src/org/apache/flex/packageflexsdk/util/MirrorURLUtil.as
Fri Aug 10 20:00:55 2012
@@ -189,7 +189,13 @@ public class MirrorURLUtil
 		{
 			addLogLine(_constants.FETCH_MIRROR_CGI_DONE);
 			
-			_url = _internetUtil.result;
+			var result:String = _internetUtil.result;
+			if(result.search("<p>") != -1)
+			{
+				result = result.substring(3,result.length-4);
+			}
+			
+			_url = result;
 			
 			_callback(false, _log);
 		}



Mime
View raw message