RFC: Netx - implement -Xclearcache command line option
dbhole at redhat.com
Wed Oct 6 09:34:01 PDT 2010
* Dr Andrew John Hughes <ahughes at redhat.com> [2010-10-05 19:23]:
> On 15:44 Tue 05 Oct , Deepak Bhole wrote:
> > * Omair Majid <omajid at redhat.com> [2010-10-05 15:42]:
> > > On 10/05/2010 03:32 PM, Deepak Bhole wrote:
> > > >* Omair Majid<omajid at redhat.com> [2010-10-05 14:45]:
> > > >>On 10/04/2010 03:17 PM, Omair Majid wrote:
> > > >>>On 09/30/2010 05:27 PM, Deepak Bhole wrote:
> > > >>>>* Omair Majid<omajid at redhat.com> [2010-09-30 16:50]:
> > > >>>>>On 09/30/2010 04:32 PM, Deepak Bhole wrote:
> > > >>>>>>* Omair Majid<omajid at redhat.com> [2010-09-30 16:10]:
> > > >Just one minor thing... for the plugin, we use
> > > >/tmp/icedteaplugin-$user for data storage. For the above, can you please
> > > >change it to /tmp/netx-$user for consistency?
> > > >
> > >
> > > Sure. But netx is already using /tmp/$USER/netx/locks/ for creating
> > > single instance locks (most of the paths netx uses are be defined in
> > > JNLPRuntime - though there are a few entries missing [like
> > > ~/.netx/pcache and ~/.netx/cache]). Do you want me to fix that as
> > > well?
> > >
> > Ah okay nevermind then. I wasn't aware that the dir was already being
> > used for something else. Keep it as it is then I'd say. At some point in
> > the future we should consolidate both plugin and netx to use a single
> > dir. But that is for another time.
> In which case, the plugin should be altered to use netx's system, as NetX
> can be built without the plugin but the opposite is not true.
> I also think /tmp/$USER/netx is much cleaner.
I prefer /tmp/<app>-$USER because it appears to be a (certainly
undocumented but) standard format. Orbit names it orbit-$USER,
pulse names it pulse-$RANDOM, ssh names it ssh-$RANDOM, etc.
> > Cheers,
> > Deepak
> > > >Rest looks good! Assuming you have tested this, please go ahead and
> > > >apply to HEAD and all active branches.
> > > >
> > >
> > > Thanks for the review!
> Please see my comments in the previous e-mail before pushing.
> > >
> > > Cheers,
> > > Omair
> Andrew :)
> Free Java Software Engineer
> Red Hat, Inc. (http://www.redhat.com)
> Support Free Java!
> Contribute to GNU Classpath and the OpenJDK
> PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
> Fingerprint = F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
More information about the distro-pkg-dev