[ https://issues.apache.org/jira/browse/FLEX-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246944#comment-13246944 ]
Justin Mclean commented on FLEX-38: ----------------------------------- I may be missing something in the details. But why not do this the same way that build_framework.xml does i.e. ignore the mac framework tbz2 files and just use the windows zip files instead? Or change the script to only unpack the windows zip on windows something like this: <target name="prepare" description="Prepares for building framework SWCs" depends="prepare.win,prepare.unix"> <!-- Delete AIR files for 3.x support --> <delete dir="${FLEX_HOME}/frameworks/libs/air/flex3" quiet="true" /> </target> <target name="prepare.win"> <!-- Expand the Win AIK on top of the SDK --> <unzip src="${FLEX_HOME}/in/air/win/AIR Integration Kit.zip" dest="${FLEX_HOME}"/> <!-- Delete AIK files that we don't put in the SDK --> <delete file="${FLEX_HOME}/frameworks/libs/air/AIRAliases.js"/> <delete file="${FLEX_HOME}/frameworks/libs/air/airglobal.abc"/> <delete file="${FLEX_HOME}/frameworks/libs/air/servicemonitor.swf"/> <delete file="${FLEX_HOME}/AIR SDK Readme.txt"/> <delete dir="${FLEX_HOME}/lib/nai"/> </target> <target name="prepare.unix" unless="isWindows"> <!-- Expand the Mac AIK on top of the SDK --> <copy file="${FLEX_HOME}/in/air/mac/AIR Integration Kit.tbz2" todir="${FLEX_HOME}" verbose="true"/> <echo file="${FLEX_HOME}/air_unzip.sh">#!/bin/sh tar -xjf "AIR Integration Kit.tbz2" </echo> <exec executable="sh" dir="${FLEX_HOME}"> <arg line="${FLEX_HOME}/air_unzip.sh"/> </exec> <delete file="${FLEX_HOME}/air_unzip.sh"/> <delete file="${FLEX_HOME}/AIR Integration Kit.tbz2"/> </target> > 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