Re: BeanShell Package name...

Marco De Nittis <[email protected]>
Newsgroups gmane.comp.java.beanshell.devel
Message-ID <[email protected]>
Another solution can be to have two series of packages, one with the
real beanshell code, and the other one with wrappers, so it will be
possible to refactor all the classes with standardized name and in the
same time retain the compatibility with old apps.
Maybe using the same mechanism that uses (for instance) the jaxp package
with xerces (for wandering about jsr =) ), so in that way real package
name changing will be almost painless

Or another similar solution can be to change the package names without
taking care about compatibility problems, and also make a "compatibility
extensions" with the wrappers in the old (I mean actual) packages
structure, so for having backward compatibiltiy it's enough to add in
the classpath that extension.

Marco

Slava Pestov wrote:
> 
> On Sun, Jun 22, 2003 at 12:26:15PM -0500, Pat wrote:
> > Perhaps there is an alternative - I might be able to get the Ant file to allow
> > you to specify the package name at build time... so people who really wanted
> > it could just build it differently.  If anyone has some time to work on that
> > please let me know.
> 
> I don't think this is good either since there will effectively be 2
> incompatible BeanShell variants around. What's the big deal with package
> names anyway? I don't see how 'org.beanshell' is any better than 'bsh'.
> If I was starting developing jEdit now I would use a package name of
> 'jedit'.
> 
> > Just FYI, I have given some thought to attempting to get a JSR and start the
> > process of standardizing BeanShell at some point in the future.  I think the
> > work done for the 1.3 release puts it on a very good foundation.
> 
> Cool! So soon we'll have to change to javax.bsh? :-)
> --
> Slava Pestov
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Beanshell-developers mailing list
> Beanshell-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/beanshell-developers


-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.