| «« AudioMan Screenshots: With and Without View Titles | Week 05 Status Report »» |
|
About
I'm Ryan Lowe, a Software Engineering graduate living in Ottawa, Canada. I like agile software development and Ruby on Rails.
I write this blog in Canadian English and don't use a spell checker. Typos happen.
Projects
» Full-time Ruby on Rails freelancer
» Full-time with Rails since May 2005 » Former committer for RadRails (now Aptana) » I also have a few Rails side-projects in development: 1. wheretogoinTO.com Toronto nightlife 2. Hey Heads Up! TODO list and sharing 3. Layered Genealogy family history research 4. foos for foosball scoring 5. fanconcert for music fans (on hold) Hiring Rails developers? I can telecommute by the hour from Ottawa, Canada »» Email: rails AT ryanlowe DOT ca
BulletBlog
Now hosted on Hey! Heads Up -- check it out!
Syndication
Pings
Recent
Derek Lowe's (Ryan's older brother) words at Ryan's funeral
blog@ryanlowe.ca no more Forging Email Headers: Good, Bad or Ugly? Sarcastic Dictionary (Part 1 of Many) Tags Hierarchies Twisting Rails is Risky Business Risky Business? My Take on Early Alphas Whoa, it's August 2007 Closing Comments A Postscript to "Growth at the grassroots" »» All Blog Posts
Linkage
del.icio.us/ryanlowe
technorati/ryanlowe.ca/blog Aurora Roy Jim Andrew Trasker Travis Kibbee Karen Dr. Unk Ayana Van Bloggers Joel Spolsky Robert Scoble Tim Bray Dave Winer Raymond Chen James Robertson Ruby/Rails Bloggers rubyonrails.org weblog David Heinemeier Hansson Dave Thomas James Duncan Davidson Mike Clark Jamis Buck Signal vs. Noise Tobias Luetke Amy Hoy: (24)slash7 Jeremy Voorhis Eclipse Bloggers Planet Eclipse EclipseZone Luis de la Rosa Eclipse Foundation Kim Horne Billy Biggs Ian Skerrett Mike Milinkovich Bjorn Freeman-Benson Denis Roy
Archives
|
Ant Mangles Eclipse RCP Mac OS X .app Launcher?
It appears as though Apache Ant doesn't play nice with Mac OS X *.app launcher directories. I'm copying the Eclipse RCP *.app launcher directory with my AudioMan Ant packaging script to build the Mac OS X Carbon versions of AudioMan2 and the Durham Quick Editor. I'm just using the
**NOTE: I had to put a _ line continuation in that long line. It's not in the original code. The packager generates a completely assembled RCP application for the platform in the In Mac OS X I click on the launcher in the assembled RCP application's directory and nothing happens. The If I delete the launcher that my Ant packaging script copied and use the Finder to copy over a fresh launcher from the RCP binary Update 10:50 AM: Ant <copy> Removes Permissions! Eclipse.app is a directory -- you can see its contents if you open a Terminal and If you look in I guess this is why Eclipse for Mac OS X comes in a gzip'd tar file instead of a ZIP file. ZIP archives do not preserve file permissions and tar archives do. Why are the Linux Eclipse builds ZIP'd then? I guess they expect Linux users to be able to Anyway, at the bottom of Ant's documentation for the <copy> task they note that Unix file permissions are NOT preserved by the <copy> task. D'oh! Ant My build machine is on a Linux box so that probably helps things -- I can set permissions before I build the distributable (I'll also have to verify permissions aren't modified by CVS -- Update 11:40 AM: CVS preserves permissions). But it looks like my Mac OS X distributable will have to be a *.tar.gz file until I figure out how to make a nice self-contained Mac package. While I'm at it I should make my Linux distributables gzip'd and tar'd as well until I figure out how to make something more friendly like an RPM. Linux users don't need their hand held but they'd probably rather not have to I'd like the AudioMan products to just work right out of the box on every platform. I don't want to lose a user because the install is a PITA. Many thanks to my anonymous commenter for the solid lead. Posted at March 26, 2005 at 07:27 AM ESTLast updated March 26, 2005 at 07:27 AM EST Comments
Check to see if the executable specified (JavaApplicationStub?) is marked as executable. I believe I've noticed the execute bit get zonked on a copy like this. » Posted by: at March 26, 2005 10:42 AMThat's probably it. The <copy> documentation for Ant says that it does not keep Unix file permissions. http://ant.apache.org/manual/CoreTasks/copy.html » Posted by: Ryan at March 26, 2005 10:46 AM |