#202 ✓invalid

Release build failing

Reported by maport | January 21st, 2009 @ 02:35 AM

With the 0.6 download and the latest from git the release build completes (although it displayed many "exit value = 1" messages). However the resulting files are incorrect:

cat AppKit.build/Release/AppKit/CPButton.o
p;10;CPButton.ji;22;_CPImageAndTitleView.ji;12;CGGeometry.ji;11;CPControl.jc;568;ion "-c"
Usage: java org.mozilla.javascript.tools.shell.Main [options...] [files]
Valid options are:
    -?, -help          Displays help messages.
    -w                 Enable warnings.
    -version 100|110|120|130|140|150|160|170
                       Set a specific language version.
    -opt [-1|0-9]      Set optimization level.
    -f script-filename Execute script file.
    -e script-source   Evaluate inline script.
    -debug             Generate debug code.
    -strict            Enable strict mode warnings.
    -fatal-warnings    Treat warnings as erro

After a bit of investigation I found this was being caused when the -O flag is used to objjc and an attempt is made to compress with shrinksafe.

It appears that the shrinksafe.jar doesn't contain shrinksafe. Replacing it with a copy from http://svn.dojotoolkit.org/src/u... fixed it for me.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins