Kenny Su 提到:
>PS2. For the "class not found" problem, something is strange, it seems that if
>you want to
>skip some classes to build and add them to the standard.omit, if it has
>depentency problems
>in it, the standard.omit doesn't work, and all the classes will be compiled.
>But sometimes
>it prints out "class not found". I need to look more deeply and check it again.
>
>
>
>
I found the problem why standard.omit doesn't work. The version of
classpath I download is 0.91.
There has a "../gnu/test/.*$" in standard.omit, but the "../" should be
skipped, because I check the
classes.1 file, there is no "../ " in it, when "gen-classlist.sh" doing
"grep -v ${filexp} < ${top_builddir}/lib/classes.1 >
${top_builddir}/lib/classes.tmp", the classes added in standard.omit
will not be skipped.
So, I add something like the following syntax in standard.omit, it works.
[EMAIL PROTECTED] lib]$ cat standard.omit
javax/naming/.*$
gnu/test/.*$
gnu/javax/print/.*$
java/awt/print/.*$
javax/print/.*$
gnu/java/awt/peer/swing/.*$
gnu/javax/swing/.*$
javax/swing/.*$
---------------------------------------------------------------------------
But there are still some dependency problem in it, because I can not
remove all the swing or print classes.
Some of them still keep in the glibj.zip. A great analysis tool is still
needed.
--
Po-Chou Su
Digital Home Networking Department, P100,
Computer & Communications Research Laboratories,
Industrial Technology Research Institute
TEL: +886-6-3847086 FAX: +886-6-3847182
本信件可能包含工研院機密資訊,非指定之收件者,請勿使用或揭露本信件內容,並請銷毀此信件。
This email may contain confidential information. Please do not use or disclose
it in any way and delete it if you are not the intended recipient.