I am looking for a simple way to open a file in a running java app.
I have a java application (oXygen XML editor). I have found that I
can open a file in a running instance of oxygen like so:
% open -a /Applications/oxygen/Oxygen.app /path/to/file.xml
or
% open -b ro.sync.exml.Oxygen /path/to/file.xml
Thanks,
$ open /path/to/file.xml
works as I need. (duh)
best,
-Rob
And if Oxygen is the default handler for those files -- quite
possible, since it seems quite aggressive in setting itself as the
handler for an awful lot of things -- then just 'open /path/to/
file.xml' will work as well.
On 2008 Aug 28, at 23:54, Jason Proctor wrote:
Apple regards Terminal users as second class citizens anyway ;-)
--
Norman Gray : http://nxg.me.uk
Physics and Astronomy, University of Leicester
_______________________________________________
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