Are you sure you have switched to the “develop” branch in the flex-sdk repo?  
We changed the URL recently.

-Alex

On 5/2/13 12:14 PM, "Lee Burrows" <[email protected]> wrote:


I'm using ant 1.8.2 in Intellij 12.1 (and jdk 1.6).

 I still get 11 errors. The URLs only appear before the first error - it looks 
like all errors are dependent on first one, from ant trace (but im no expert):

 [cid:3450344807_61853098]


 On 02/05/2013 19:45, Alex Harui wrote:



What version of Ant are you using?

Are you still getting 11 errors and are they for other URLs?


On 5/2/13 10:48 AM, "Lee Burrows" <[email protected]> 
<mailto:[email protected]>  wrote:


Thanks for info Alex but i get same error with source cloned from git.

 Heres the first error (full ant output in attachment):

 Getting: http://java.net/projects/javacc/downloads/download/javacc-5.0.tar.gz
 To: E:\Projects\Apache Flex Framework SDK\Trunk 
SDK\flex-sdk\in\javacc-5.0.tar.gz
 http://java.net/projects/javacc/downloads/download/javacc-5.0.tar.gz moved to 
https://java.net/projects/javacc/downloads/download/javacc-5.0.tar.gz
 https://java.net/projects/javacc/downloads/download/javacc-5.0.tar.gz moved to 
http://java.net/downloads/javacc/javacc-5.0.tar.gz
 E:\Projects\Apache Flex Framework SDK\Trunk 
SDK\flex-sdk\modules\downloads.xml:162: Redirection detected from https to 
http. Protocol switch unsafe, not allowed.
     at 
org.apache.tools.ant.taskdefs.Get$GetThread.redirectionAllowed(Get.java:610)
     at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:680)
     at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:684)
     at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:579)
     at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:569)




 On 02/05/2013 17:54, Alex Harui wrote:



Please use the develop branch from git.  Any fixes to the build script will
be done there.

If you have the same problem, post the ant output.

On 5/2/13 9:42 AM, "Lee Burrows" <[email protected]> 
<mailto:[email protected]>  <mailto:[email protected]>  
wrote:



Hi All

I am attempting to build the SDK from source but build keeps failing
with "Redirection detected from https to http. Protocol switch unsafe,
not allowed."

I get 11 errors of this type - all triggered by line 162 of
[sdk]/modules/downloads.xml:

<get src="${srcUrl}/${zipFile}" dest="${download.dir}/${zipFile}"/>

Does anyone have any ideas on how to fix this?

Btw, i am using trunk source from svn - i assume it is still valid or do
i need to use git repo now?

Thanks,








--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui






--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui

Reply via email to