Re: massive problems with new nibtool
Re: massive problems with new nibtool
- Subject: Re: massive problems with new nibtool
- From: Henri Lamiraux <email@hidden>
- Date: Wed, 4 Sep 2002 15:55:02 -0700
While we are figuring out what is going on you can revert to the
previous nibtool. It will work fine with the August IB
- Find your Jaguar Dev CD
- Open the Packages Folder, locate DevTools.pkg
- Ctrl-Click on DevTools.pkg and select "Show Package Contents"
- Open the Contents folder and copy Archive.pax.gz to a folder on your
HD
- Double-click on the Archive.pax.gz copy to uncompress it
- From terminal cd to the Archive.pax location and type the following
command to unarchive just nibtool
tar -xf Archive.pax ./usr/bin/nibtool
- Copy nibtool to the /usr/bin location (as root)
On Wednesday, September 4, 2002, at 01:52 AM, Manfred Lippert wrote:
Hi,
anyone else having problems with nibtool from August 2002 Dev Tools
Update?
1.) First bug: sometimes it creates defective NIB files. See below. I
can "work around" this bug by using the Option -O (--use-oids) when
translating NIB files (see below, also).
2.) Second bug: It DOES NOT preserve layout information! :-( So
nibtool is now completely useless for me. I don't know how to continue
developing my project. I can not layout all NIBs of all languages,
each time I make a minor change to one of my NIB files. (I have a
skript that calls nibtool and automatically updates all NIBs in all
languages each time I make a change in some NIB of the "developing"
language.)
Does anyone have an idea what I can do?
Here is an example how to reproduce the first bug:
--------------------------------------------------------
- download http://www.mani.de/english.nib.sit
- unpack it
- make a copy of english.nib and name it backup.nib
- cd to the right directory in the Terminal and type:
- nibtool -I backup.nib -L english.nib > strings
- nibtool -I backup.nib -d strings -w german.nib english.nib
- open german.nib in Interface Builder
Interface Builder gives a warning "4 inconsistencies in the document
were found and repaired. Please save the document".
You see that nibtool obviously created a defect german.nib file. If I
try to use this file in my application, it crashes. If I repair it
with Interface Builder, it works fine.
--------------------------------------------------------
To reproduce the second bug, you have to make some layout changes in
the backup.nib and then try the following lines:
- nibtool -I backup.nib -O -L english.nib > strings
- nibtool -I backup.nib -O -d strings -w german.nib english.nib
The first bug is gone (because of the -O option) but layout
information is completely ignored. :-(
Any ideas?
Please help! I want to continue my work ...
Regards,
Mani
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
Henri Lamiraux
Engineering Manager
User Interface Tools Group
Apple
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.