massive problems with new nibtool
massive problems with new nibtool
- Subject: massive problems with new nibtool
- From: Manfred Lippert <email@hidden>
- Date: Wed, 4 Sep 2002 10:52:10 +0200
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.