incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Sivokon (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-38) Build script requires sh on Windows
Date Thu, 05 Apr 2012 10:33:25 GMT

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

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

This is what I'm trying to ask:
- the contents of two archives is not the same.
- but they seem to do the same thing for different OSs.
- there is almost no way to extract bzip archive to Windows correctly (it has 4 symlinks inside,
symlinks are supported only since Windows Vista). On XP it would probably try to copy the
symlinked stuff (duplicating it), but if it is recursive, it won't work.

Now, what I was thinking - what if someone builds on Windows using Cygwin or gnuwin32 utilities
and they want to build "as if it was on *nix" - will they need this part of the SDK? Which
is to say, if the script discovers it runs inside Cygwin, it extracts the archive, but if
it's CMD, then it skips it?

By the way, the archive is _huge_ so if Windows users don't need it entirely, by removing
it, you would remove something like 1/5 of the entire SDK download, which may be a very welcomed
change :)
                
> 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

        

Mime
View raw message