You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Lee Burrows <su...@leeburrows.com> on 2013/05/02 18:42:44 UTC

sdk building problems

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,

-- 
Lee Burrows
ActionScripter


Re: sdk building problems

Posted by Alex Harui <ah...@adobe.com>.
Yes, unless you are integration SWCs from Adobe Flash Pro, you are probably
ok.


On 5/2/13 7:05 PM, "Lee Burrows" <su...@leeburrows.com> wrote:

> Thanks for your help gents - ive given up on getting 4.9.1 working but
> 4.10 builds without problems...
> 
> well almost; i had to set failonerror="false" on target PackageMXP - but
> i dont need flash integration kit do i?
> 
> On 02/05/2013 22:42, Justin Mclean wrote:
>> Hi,
>> 
>>> Btw, i am using trunk source from svn - i assume it is still valid or do
>>> i need to use git repo now?
>> If you're after the latest you'll need to use the develop branch in Git, the
>> trunk in SVN should match the 4.9.1 release (I think but not 100%), and the
>> develop branch in SVN would be ahead of that, Apache Flex 4.9.1 is also
>> tagged in the SVN repo.
>> 
>> Instruction on how to checkout can be found here:
>> http://flex.apache.org/dev-sourcecode.html
>> 
>> The 4.9. branch is also in Git do this:
>> git checkout apache-flex-sdk-4.9.1
>> rather than this:
>> git checkout develop
>> 
>> Perhaps we need to check a "PLEASE USE GIT REPO" file into SVN repo?
>> 
>> Thanks,
>> Justin
> 

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


Re: sdk building problems

Posted by Lee Burrows <su...@leeburrows.com>.
Thanks for your help gents - ive given up on getting 4.9.1 working but 
4.10 builds without problems...

well almost; i had to set failonerror="false" on target PackageMXP - but 
i dont need flash integration kit do i?

On 02/05/2013 22:42, Justin Mclean wrote:
> Hi,
>
>> Btw, i am using trunk source from svn - i assume it is still valid or do
>> i need to use git repo now?
> If you're after the latest you'll need to use the develop branch in Git, the trunk in SVN should match the 4.9.1 release (I think but not 100%), and the develop branch in SVN would be ahead of that, Apache Flex 4.9.1 is also tagged in the SVN repo.
>
> Instruction on how to checkout can be found here:
> http://flex.apache.org/dev-sourcecode.html
>
> The 4.9. branch is also in Git do this:
> git checkout apache-flex-sdk-4.9.1
> rather than this:
> git checkout develop
>
> Perhaps we need to check a "PLEASE USE GIT REPO" file into SVN repo?
>
> Thanks,
> Justin


-- 
Lee Burrows
ActionScripter


Re: sdk building problems

Posted by Justin Mclean <ju...@classsoftware.com>.
Hi,

> Btw, i am using trunk source from svn - i assume it is still valid or do
> i need to use git repo now?
If you're after the latest you'll need to use the develop branch in Git, the trunk in SVN should match the 4.9.1 release (I think but not 100%), and the develop branch in SVN would be ahead of that, Apache Flex 4.9.1 is also tagged in the SVN repo.

Instruction on how to checkout can be found here:
http://flex.apache.org/dev-sourcecode.html

The 4.9. branch is also in Git do this:
git checkout apache-flex-sdk-4.9.1
rather than this:
git checkout develop

Perhaps we need to check a "PLEASE USE GIT REPO" file into SVN repo?

Thanks,
Justin

Re: sdk building problems

Posted by Alex Harui <ah...@adobe.com>.
OK.  You may need to update the URLs.  You can also try updating to Ant
1.8.4.  One person on the internet seemed to claim that resolved some of the
sensitivity to redirects.


On 5/2/13 2:30 PM, "Lee Burrows" <su...@leeburrows.com> wrote:

> i was using master branch - develop is 4.10 right? i want 4.9.1
> 
> On 02/05/2013 21:06, Alex Harui wrote:
>> Re: sdk building problems 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" <su...@leeburrows.com> 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):
>> 
>> 
>> 
>> 
>>      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"
>>         <su...@leeburrows.com>
>>         <ma...@leeburrows.com>  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"
>>         <su...@leeburrows.com>
>>         <ma...@leeburrows.com>
>>          <ma...@leeburrows.com>  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
> 

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


Re: sdk building problems

Posted by Lee Burrows <su...@leeburrows.com>.
i was using master branch - develop is 4.10 right? i want 4.9.1

On 02/05/2013 21:06, Alex Harui wrote:
> Re: sdk building problems 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" <su...@leeburrows.com> 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):
>
>
>
>
>      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"
>         <su...@leeburrows.com>
>         <ma...@leeburrows.com>  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"
>         <su...@leeburrows.com>
>         <ma...@leeburrows.com>
>          <ma...@leeburrows.com>  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


-- 
Lee Burrows
ActionScripter


Re: sdk building problems

Posted by Alex Harui <ah...@adobe.com>.
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" <su...@leeburrows.com> 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" <su...@leeburrows.com> <ma...@leeburrows.com>  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" <su...@leeburrows.com> <ma...@leeburrows.com>  <ma...@leeburrows.com>  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

Re: sdk building problems

Posted by Lee Burrows <su...@leeburrows.com>.
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):




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" <su...@leeburrows.com> 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" <su...@leeburrows.com> <ma...@leeburrows.com>  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
>


-- 
Lee Burrows
ActionScripter


Re: sdk building problems

Posted by Alex Harui <ah...@adobe.com>.
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" <su...@leeburrows.com> 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" <su...@leeburrows.com> <ma...@leeburrows.com>  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

Re: sdk building problems

Posted by Lee Burrows <su...@leeburrows.com>.
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" <su...@leeburrows.com> 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,


-- 
Lee Burrows
ActionScripter


Re: sdk building problems

Posted by Alex Harui <ah...@adobe.com>.
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" <su...@leeburrows.com> 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