Hartmut Figge wrote:
Barry Edwin Gilmour:
[userChrome-example.css & userContent-example.css]
To expand on Hartmut's answer yesterday, they are no longer in the
profile folder, but kept in the application-folder's omni.ja java
archive folder (For Linux, that's at /seamonkey/omni.ja
(/defaults/profile/chrome/userChrome-example.css and /seamonkey/omni.ja
(/defaults/profile/chrome/userContent-example.css). HTH
If we go to such depths, some more explanations should be given. The
omni.ja, formerly omni.jar, used to be a normal zip file which could be
unpacked and repacked with the usual utilities. In my case with my
standard program, the midnight commander, called by the command mc.
That stopped to work some time ago. The format was changed in a way,
that only one of my utilities, unzip, did not despair. And even unzip,
when testing omni.ja, detected an error.
hafi@i5_64 ~/ztmp/om $ unzip -tq omni.ja
warning [omni.ja]: 14597646 extra bytes at beginning or within zipfile
(attempting to process anyway)
error [omni.ja]: reported length of central directory is
-14597646 bytes too long (Atari STZip zipfile? J.H.Holm ZIPSPLIT 1.1
zipfile?). Compensating...
No errors detected in compressed data of omni.ja.
Well, i was used to point the mc to the omni.ja and then press enter.
From then on i could work normally. That was comfortable. Because i am
lazy it was time to invest some effort to be able to be lazy again. :)
Excerpt from my build script of SM:
# deoptimiere omni.ja
echo -e "\nDeoptimiere omni.ja\n"
cd seamonkey
omd
The command omd is used to deoptimize the omni.ja. That results in an
omni.ja which behaves like an omni.ja before the change. I did not
notice any bad effects from my modification.
What is omd?
hafi@i5_64 ~ $ cat `which omd`
#!/bin/bash
python /usr/local/share/optimizejars.py --deoptimize ./ ./ ./
There is a help message how to use optimizejars.py:
hafi@i5_64 ~ $ python /usr/local/share/optimizejars.py
Usage: --optimize|--deoptimize /usr/local/share/optimizejars.py
JAR_LOG_DIR IN_JAR_DIR OUT_JAR_DIR
You can use optimizejars.py if you wish to work with omni.ja. If you can
find it. ;) I can not attache it to this message, because it is too big
for that. Searching for it may help.
Hartmut
I found out a way to use the Terminal in Mac OS to unarchive and
rearchive omni.ja, and before that I had no idea that it was even
possible with a Mac.
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey