On Wednesday, March 12, 2003, at 08:48 AM, Hussein Shafie wrote:

> Ronald Hayden wrote:
>>
>> On Tuesday, March 11, 2003, at 08:50  AM, Hussein Shafie wrote:
>>
>>> Greg Kearney wrote:
>>>>
>>>> Now that Apple has released an update for java will XXE 2.0 be ready
>>>> for MacOS X?

<snip/>

>>
>> I created an application.command file in the XXE directory so I can
>> double-click to run:

Handy.

It's very easy to make an App Bundle using 'Jar Bundler' that comes 
with the Java 1.4.1 Dev Tools. See below.

<snip/>

>>
>> I hope this is helpful and that I'm not overstepping my bounds!
>
> Certainly not. Thanks for the feedback.
>
> We are currently torturing XXE running on MacOSX 10.2.n...

That is great to hear!

I am happy to report that the update to Java on MacOSX has fixed two 
bugs I had with XXE :

        pressing RETURN works again
        you can copy/paste accented chars between apps again

I made an Application Bundle out of my copy of XXE.

In case this helps, here is the bundle structure and info.plist :

XXE.app
        Contents
                Info.plist
                MacOS
                        JavaApplicationStub
                PkgInfo
                Resources
                        XXEJavaApp.icns
                        Java
                                azcheck.jar
                                config
                                de.dar
                                demo
                                docs
                                en.dar
                                fr.dar
                                jh.jar
                                plugin
                                resolver.jar
                                spell
                                xp.jar
                                xxe_app.jar
                                xxe_help.jar
                                xxe.jar

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist SYSTEM 
"file://localhost/System/Library/DTDs/PropertyList.dtd">
<plist version="0.9">
<dict>
        <key>CFBundleName</key>
        <string>XXE</string>
        <key>CFBundleIdentifier</key>
        <string>com.xmlmind.xmleditor</string>
        <key>CFBundleVersion</key>
        <string>STD 2.1</string>
        <key>CFBundleAllowMixedLocalizations</key>
        <string>true</string>
        <key>CFBundleExecutable</key>
        <string>JavaApplicationStub</string>
        <key>CFBundleDevelopmentRegion</key>
        <string>English</string>
        <key>CFBundlePackageType</key>
        <string>AAPL</string>
        <key>CFBundleShortVersionString</key>
        <string>2.1</string>
        <key>CFBundleSignature</key>
        <string>????</string>
        <key>CFBundleGetInfoString</key>
        <string>XMLmind XML Editor 2.1 - SE. Copyright XMLMind.com 2003. 
Bundled for inIVA.org, 03-01-23 by jeremy at media.demon.co.uk</string>
        <key>CFBundleInfoDictionaryVersion</key>
        <string>6.0</string>
        <key>CFBundleIconFile</key>
        <string>XXEJavaApp.icns</string>
        <key>Java</key>
        <dict>
                <key>VMOptions</key>
                <string>-Xss1m</string>
                <key>MainClass</key>
                <string>com.xmlmind.xmleditapp.app.Start</string>
                <key>JVMVersion</key>
                <string>1.4*</string>
                <key>ClassPath</key>
                <array>
                        <string>$JAVAROOT/xxe_app.jar</string>
                        <string>$JAVAROOT/azcheck.jar</string>
                        <string>$JAVAROOT/jh.jar</string>
                        <string>$JAVAROOT/xp.jar</string>
                        <string>$JAVAROOT/xxe.jar</string>
                        <string>$JAVAROOT/resolver.jar</string>
                        <string>$JAVAROOT/xxe_help.jar</string>
                </array>
                <key>Properties</key>
                <dict>
                        
<key>com.apple.mrj.application.apple.menu.about.name</key>
                        <string>XXE</string>
                        <key>com.apple.smallTabs</key>
                        <string>true</string>
                        <key>apple.laf.useScreenMenuBar</key>
                        <string>true</string>
                        <key>bundle</key>
                <string>$APP_PACKAGE</string>
                        <key>XXE_CONFIG</key>
                <string>@http://iborg.local:80/xxe/config.list</string>
                <key>xml.catalog.files</key>
                <string>http://iborg.local:80/xxe/config/catalog.xml</string>
                <key>XXE_PLUGIN</key>
                <string>@http://iborg.local:80/xxe/plugin.list</string>
                </dict>
        </dict>
</dict>
</plist>

Notice how you can use the Properties section of the info.plist to set 
up your XXE_CONFIG etc. environment variables, if you prefer to do it 
this way.

Hope this helps

regards Jeremy


Reply via email to