incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (Commented) (JIRA)" <>
Subject [jira] [Commented] (FLEX-38) Build script requires sh on Windows
Date Thu, 05 Apr 2012 02:19:18 GMT


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.unix">
		<!-- Delete AIR files for 3.x support -->
		<delete dir="${FLEX_HOME}/frameworks/libs/air/flex3" quiet="true" />

	<target name="">
		<!-- Expand the Win AIK on top of the SDK -->
		<unzip src="${FLEX_HOME}/in/air/win/AIR Integration" 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/"/>
		<delete file="${FLEX_HOME}/frameworks/libs/air/servicemonitor.swf"/>
		<delete file="${FLEX_HOME}/AIR SDK Readme.txt"/>
		<delete dir="${FLEX_HOME}/lib/nai"/>
	<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}"
		<echo file="${FLEX_HOME}/">#!/bin/sh
tar -xjf "AIR Integration Kit.tbz2" 
		<exec executable="sh" dir="${FLEX_HOME}">
			<arg line="${FLEX_HOME}/"/>
		<delete file="${FLEX_HOME}/"/>
		<delete file="${FLEX_HOME}/AIR Integration Kit.tbz2"/>

> Build script requires sh on Windows
> -----------------------------------
>                 Key: FLEX-38
>                 URL:
>             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:!default.jspa
For more information on JIRA, see:


View raw message