On Wed, 11 Jan 2006, Norman Gray wrote:
> Mark,
>
> On 2006 Jan 11 , at 10.02, Mark Taylor wrote:
>
> > java/source/ant sounds reasonable enough, but what goes there is
> > Peter's domain really, he may have an opinion.
>
> OK. Peter: Looking at ant/README.Starlink, I see you added the Roxes
> ANT tasks for JNLP. Should I add this jarbundler task in a similar way?
>
> > The approach I've taken in TOPCAT to packaging is to stuff everything
> > into one big jar file for distribution. I do this using
> > uk.ac.starlink.util.SuperJar, which goes through jar files looking
> > at their MANIFEST.MFs to find the class paths.
>
> That sounds just the thing.
>
> > I'm not sure why you think
> > it might be anything other than a mac-specific bug related to
> > apple.laf.useScreenMenuBar.
>
> A triumph of hope over experience? As I subsequently mailed you
> yesterday, it does indeed seem to be a bug in 1.4, which therefore is
> unlikely to be fixed. However it works in 1.5, and if I set the
> created bundle to run with 1.5, it all works fine. I take it that's
> not a problem.
OK that sounds positive: I've updated uk.ac.starlink.util.Loader so that
the menu is macified if the JRE version is >=1.5, not otherwise.
Can you try it on both JREs on mac and see if it behaves as expected, i.e.:
1.4 menus on windows, doesn't crash
1.5 menus at top of screen, doesn't crash
> I'll tidy this up and commit it maybe tomorrow. You mentioned that
> you were planning a Treeview release later this month -- when's the
> deadline?
I'm not really doing Treeview releases or support any more (except when
I feel like it etc). However I'll be making a major TOPCAT release in a
couple of weeks time, and I'll probably do the mac menu configuration in
that as above, if it looks like it works without problems.
cheers
Mark
--
Mark Taylor Astronomical Programmer Physics, Bristol University, UK
[log in to unmask] +44-117-928-8776 http://www.star.bris.ac.uk/~mbt/
|