-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmsg00001.html
116 lines (107 loc) · 4.52 KB
/
msg00001.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<!-- MHonArc v2.3.3 -->
<!--X-Subject: Re: Importing -->
<!--X-From: Pat <[email protected]> -->
<!--X-Date: Sat, 13 Nov 1999 01:35:05 -0600 -->
<!--X-Message-Id: [email protected] -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: [email protected] -->
<!--X-Reference: [email protected] -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
<HTML>
<HEAD>
<TITLE>Re: Importing</TITLE>
<LINK REV="made" HREF="mailto:[email protected]">
</HEAD>
<BODY>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
<HR>
[<A HREF="msg00029.html">Date Prev</A>][<A HREF="msg00010.html">Date Next</A>][<A HREF="msg00009.html">Thread Prev</A>][<A HREF="msg00030.html">Thread Next</A>][<A HREF="maillist.html#00001">Date Index</A>][<A HREF="threads.html#00001">Thread Index</A>]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: Importing</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: "<A HREF="mailto:[email protected]">[email protected]</A>" <<A HREF="mailto:[email protected]">[email protected]</A>>,"<A HREF="mailto:[email protected]">[email protected]</A>" <<A HREF="mailto:[email protected]">[email protected]</A>></LI>
<LI><em>Subject</em>: Re: Importing</LI>
<LI><em>From</em>: Pat <<A HREF="mailto:[email protected]">[email protected]</A>></LI>
<LI><em>Date</em>: Sat, 13 Nov 1999 01:35:05 -0600</LI>
<LI><em>Approved</em>: [email protected]</LI>
<LI><em>Cc</em>: <A HREF="mailto:[email protected]">[email protected]</A></LI>
<LI><em>In-Reply-To</em>: <<A HREF="msg00009.html">[email protected]</A>>; from Ted Eiles on Fri, Nov 12, 1999 at 11:30:48AM -0500</LI>
<LI><em>Mail-Followup-To</em>: "[email protected]" <[email protected]>,"[email protected]" <[email protected]>,[email protected]</LI>
<LI><em>References</em>: <<A HREF="msg00009.html">[email protected]</A>></LI>
<LI><em>Reply-To</em>: <A HREF="mailto:[email protected]">[email protected]</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Fri, Nov 12, 1999 at 11:30:48AM -0500, Ted Eiles wrote:
>
> What is the best way to add to defaultImports?
>
> Add classes to defaultImports file and update JAR file? (my current procedure)
> Add packages to javaPackages? (I don't know if this will work)
> ???
Well, if it's for a "user" environment you could add a startup script in your
home dir. (see <A HREF="http://www.beanshell.org/changes.html">http://www.beanshell.org/changes.html</A>)
I will probably add a search for a system startup script in the resource path
as well with the next release... so that you could just distribute an extra
file with the JAR (instead of modifying the existing one).
By the way, the javaPackages are not necessarily imported... They're simply
an optimization for resolving names... Bsh knows that those names are packages
and not class names, so it can skip a few steps in name resolution (at least
in theory).
I'm not sure where the trade off should be for this (size of the file vs.
usefullness)... or if it's even helping at all...I've never run any numbers.
Pat
</PRE>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00009" HREF="msg00009.html">Importing</A></STRONG>
<UL><LI><EM>From:</EM> Ted Eiles <[email protected]></LI></UL></LI>
<LI><STRONG><A NAME="00009" HREF="msg00009.html">Importing</A></STRONG>
<UL><LI><EM>From:</EM> Ted Eiles <[email protected]></LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00029.html">Re: BeanShell suggestions</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00010.html">Re: BeanShell suggestions</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00009.html">Importing</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00030.html">Re: BeanShell : Separating parsing from evaluation</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="maillist.html#00001"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="threads.html#00001"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</BODY>
</HTML>