You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Christian Stümpel <st...@logosoft.de> on 2000/09/11 16:49:58 UTC

Special Mac tasks needed

I want to use Ant for developing on multiple platforms: Mac, Windows and UN*X.

How does Ant solve cross platform issues, e.g. with the Mac resources?

In my opinion, special task version are needed that care about Mac
resource forks, first of all <copyfile>

Who knows how to deal with it?

Christian Stümpel
LOGO GmbH & Co. KG, a GretagMacbeth Group Company
Westfaelischer Hof Garbrock 4
48565 Steinfurt/Borghorst
Phone: +49/2552/9341-0
Fax: +49/2552/9341-99
Internet: stuempel@logosoft.de

Re: Special Mac tasks needed

Posted by Patrick Beard <be...@netscape.com>.
At 4:49 PM +0200 9/11/2000, Christian Stümpel wrote:
>I want to use Ant for developing on multiple platforms: Mac, Windows and UN*X.
>
>How does Ant solve cross platform issues, e.g. with the Mac resources?
>
>In my opinion, special task version are needed that care about Mac
>resource forks, first of all <copyfile>
>
>Who knows how to deal with it?

Greg Guerin has written some Mac-specific code that copies entire 
files. Some of this code is at:

http://www.amug.org/~glguerin/sw/index.html#macbinary

Alternatively, I've written code that provides access to AppleScript, 
which can be used to script the Mac OS Finder to perform file 
copying, which might turn out to be better since the Finder knows how 
to correctly copy files between network volumes, and recursive file 
copies. Perhaps an AppleScript module for the Bean Scripting 
Framework would be useful.

- Patrick
-- 

// Patrick C. Beard
// Java Runtime Enthusiast -- "Will invoke interfaces for food."
// mailto:beard@netscape.com