[ 
https://issues.apache.org/jira/browse/FLEX-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246677#comment-13246677
 ] 

Oleg Sivokon commented on FLEX-38:
----------------------------------

Funny, it could be actually possible to extract it on Windows using this: 
http://gnuwin32.sourceforge.net/packages/libarchive.htm it provides BSD license 
and is possible to download and run from Ant.
On *nix the below seems to do exactly the same what the old code used to do, 
w/o opening yet another shell:

    <target name="prepare" depends="airsdk-download" description="Prepares for 
building framework SWCs">
        <exec executable="tar">
          <arg value="-xjf"/>
          <arg value="${FLEX_HOME}/in/air/mac/AIR Integration Kit.tbz2"/>
        </exec>
        <!-- Expand the Win AIK on top of the SDK -->
        <unzip src="${FLEX_HOME}/in/air/win/AIR Integration Kit.zip" 
dest="${FLEX_HOME}"/>
. . .

But then again, is this really needed on Windows?
                
> Build script requires sh on Windows
> -----------------------------------
>
>                 Key: FLEX-38
>                 URL: https://issues.apache.org/jira/browse/FLEX-38
>             Project: Apache Flex
>          Issue Type: Bug
>         Environment: Windows
>            Reporter: Oleg Sivokon
>            Assignee: Carol Frampton
>              Labels: Build,Ant
>         Attachments: build.patch, build.patch
>
>
> There is a call to sh with automatically generated shell script that was used 
> to untar the AIR archive. On Windows it wouldn't work and on Linux it would 
> unpack with the permissions given to the user of the terminal, rather then 
> the permissions given to Ant user (files created would be protected for Ant 
> script later).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to