You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Justin Mclean <ju...@classsoftware.com> on 2012/04/04 04:59:47 UTC

Error in build script

Hi,

> prepare:
>     [copy] Copying 1 file to F:\Projects\Flex\ApacheSdk\trunk
>     [copy] Copying F:\Projects\Flex\ApacheSdk\trunk\in\air\mac\AIR
> Integration
> Kit.tbz2 to F:\Projects\Flex\ApacheSdk\trunk\AIR Integration Kit.tbz2
> 
> BUILD FAILED

The build scripts are still a work in progress and may be a little broken on windows at the moment.

The offending lines are:
<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>

You might be able to get away with expanding the AIR Integration Kit.tbz2 by hand.

It has been suggested to use Cygwin or gitbash to compile the SDK on windows.

Thanks,
Justin

Re: Error in build script

Posted by Manik Magar <ma...@gmail.com>.
Thanks, I am able to build it with msysgit - Git For windows
http://code.google.com/p/msysgit/


This might help someone -
1. Download & install -
http://code.google.com/p/msysgit/downloads/detail?name=msysGit-fullinstall-1.7.9-preview20120201.exe
2. after install run {installdir}/msys
3. cd /f/Projects/Flex/ApacheSdk/Trunk
[** My svn code checkout is at that path]
4. type ant and hit enter.
You should be all set.

-- MM




On Tue, Apr 3, 2012 at 11:10 PM, Michael A. Labriola <
labriola@digitalprimates.net> wrote:

> > The offending lines are:
> > <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>
>
> >You might be able to get away with expanding the AIR Integration Kit.tbz2
> by hand.
>
> >It has been suggested to use Cygwin or gitbash to compile the SDK on
> windows.
>
> Those particular offending lines should be solved by running this in one
> of these shells. The main windows command line doesn't know how to execute
> the shell script that is being referenced.
>
> Mike
>
>


-- 

धन्यवाद.

माणिक मगर,
------------------------------------------------------------
दरीखोरयातुन नाद घुमूदे एकच दिनराती ....!!
"मी मराठी"..."मी मराठी"...!!!
------------------------------------------------------------

Re: Error in build script

Posted by Carol Frampton <cf...@adobe.com>.

On 4/3/12 11 :10PM, "Michael A. Labriola" <la...@digitalprimates.net>
wrote:

>> The offending lines are:
>> <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>
>
>>You might be able to get away with expanding the AIR Integration
>>Kit.tbz2 by hand.
>
>>It has been suggested to use Cygwin or gitbash to compile the SDK on
>>windows.
>
>Those particular offending lines should be solved by running this in one
>of these shells. The main windows command line doesn't know how to
>execute the shell script that is being referenced.

In fact it is required and always has been which I've always found
annoying.  Just checked the README and that was left out so I will fix it.

Carol


>
>Mike
>


RE: Error in build script

Posted by "Michael A. Labriola" <la...@digitalprimates.net>.
> The offending lines are:
> <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>

>You might be able to get away with expanding the AIR Integration Kit.tbz2 by hand.

>It has been suggested to use Cygwin or gitbash to compile the SDK on windows.

Those particular offending lines should be solved by running this in one of these shells. The main windows command line doesn't know how to execute the shell script that is being referenced.

Mike