Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire] j2sdk

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Casey Harkins <charkins AT upl.cs.wisc.edu>
  • To: Jose Bernardo Silva <josebernardo1 AT yahoo.com>
  • Cc: sm-grimoire AT lists.ibiblio.org
  • Subject: Re: [SM-Grimoire] j2sdk
  • Date: Wed, 22 Jan 2003 18:17:56 -0600 (CST)


On Wed, 22 Jan 2003, Jose Bernardo Silva wrote:

> > Maybe the spell should ignore any currently
> > installed jdk, and just
> > install the binary version and set JAVA_HOME
> > appropriately before
> > building. It's possible that using an older/newer or
> > some other vendor's
> > jdk might not work for bootstrapping.
>
>
> The main reason I did it that way was to spare a
> unnecessary download, in case one already has a
> working j2sdk/jre. But a prompt could be added, so
> that the user would decide to use the existing jre or
> download the binary and the spell would install it
> temporarily for him.

Understandable. I'll test it with JAVA_HOME set to use the IBM jdk and an
older Sun jdk. If any jdk seems to work for bootstrapping, there is no
need to add a prompt. I'll let you know how it works.

> > Either way, I think that the binary version should
> > be removed after
> > building the source version (don't remember if this
> > happens already, and
> > am not on my machine).
>
> It doesn't, I left it in and never remembered to
> remove it. Time to add that to the spell... Maybe add
> a POST_INSTALL file removing the old binary?

The only concern I have about doing it in POST_INSTALL, is the changes
might not be reflected in the install log. Perhaps moving the installation
of the binary version should be moved to PRE_BUILD.


-casey





Archive powered by MHonArc 2.6.24.

Top of Page