Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make a double clickable xerces.app



If you don't intend, or need, to develop a graphical user interface, then there is probably no point creating a double-clickable app. It would be much quicker to put together a shell script which takes the names of your input and output files as arguments, then uses Java to process the XML file. Otherwise you will need to develop a GUI to prompt the user for file names and arguments, and it doesn't sound like that is your intention.

To find out what version of Java you have installed, type "java - version" at the command line. Note that Java 1.5 and "Java 5" are actually the same thing.

Geoff

On 25 Sep 2006, at 03:33, janis rough wrote:



Now though I really need some help. I only have a beginner's understanding of Java. I've been at it for one month.
I have to import XML data from Excel into Framemaker. I really need that Xerces.jar file. Sorry if I ask the wrong thing .


At the web site for Apache it says to do the following instructions below to get a double clickable app. I don't know if I need a double clickable Java app to use the XSLT parser? Anyway I found the jar bundler and I followed the instructions but it doesn't create a double clickable app. It did create an app but it doesn't click. I added the dom.DomWriter class and the option using the jar bundler tool in the developer tools. My question is this, do I have Java 5 or Java 2.1? Maybe with Java 5 you don't need the xerces-J 1.1.4 you just need Xerces-J 2.5?
I did install the SDK so i assume I have java 5. In that case do I need to install Xerces.2.5.0? Can I make that a double clickable app? Would that be easier to use or should I just use the command line? This is the web site where I followed the instructions.
file:///Developer/Applications/xerces-1_4_4/docs/html/faq-build.html


Thanks for any advice,
Janis





---------instructions from Apache-----
# JBindery, part of MRJ SDK 2.1, is used to create a double- clickable Java application with the necessary configuration information built in. It is analogous to writing a .bat or .sh script.
# To run the dom.DOMWriter example:


1. Double click on JBindery to start it up.
2. Click on the Classpath panel.
3. Click on the "Add .zip File" button and add both the "Xerces- J.jar" and "Xerces-JSamples.jar" files.
4. Click on the Command panel.
5. Enter "dom.DOMWriter" as the Class name. Enter "data/ personal.xml" in the Optional parameters box.
6. Click on Save Settings button, pick a name such as "Run dom.DOMWriter" for the file, and be sure that "Save as Application" is selected (this is the default) and save the file.
7. Quit JBindery.
8. You can now double click on the file you created in step f to run the XJParse example.



_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >make a double clickable xerces.app (From: janis rough <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.