Re: Using mandatory libraries (custom class loading vs. expanding libraries)
- From: Karsten Wutzke <kwutzke@xxxxxx>
- Date: Fri, 29 Jun 2007 06:51:46 -0700
On 29 Jun., 15:35, Roedy Green <see_webs...@xxxxxxxxxxxxxxxxxxxx>
wrote:
On Fri, 29 Jun 2007 01:45:33 -0700, Karsten Wutzke <kwut...@xxxxxx>
wrote, quoted or indirectly quoted someone who said :
Then I removed the index="true"... to my astonishment this started up
the app with the system class loader finding all library classes as
specific in the manifest! This took me soo many headaches! For such a
banal thing
does this EVER work, or is there something odd about your situation
that is making it fail?
--
Roedy Green Canadian Mind Products
The Java Glossaryhttp://mindprod.com
This? What exactly did you mean that could work?
There's absolutely nothing special about my app setup really. I juts
followed a few big steps in the book "Java Development with Ant", 1st
Ed. is from 2003, the 2007 "Ant in Action" is just about to be
published.
The author makes some good points about using an index file
(performance etc.) and concludes the paragraph with the sentence:
"If one line in the build file may deliver a speedup on network
application loading, why not use it?"
I had to grin when I read it... um... not really... :-/
Anyway, don't use index="true" alone when using a manifest that has
Class-Path entries... Ant users should upgrade to at least version
1.6.2. (guess what I'll be doing tonight).
Karsten
.
- Follow-Ups:
- References:
- Using mandatory libraries (custom class loading vs. expanding libraries)
- From: Karsten Wutzke
- Re: Using mandatory libraries (custom class loading vs. expanding libraries)
- From: Karsten Wutzke
- Re: Using mandatory libraries (custom class loading vs. expanding libraries)
- From: Thomas Fritsch
- Re: Using mandatory libraries (custom class loading vs. expanding libraries)
- From: Karsten Wutzke
- Re: Using mandatory libraries (custom class loading vs. expanding libraries)
- From: Owen Jacobson
- Re: Using mandatory libraries (custom class loading vs. expanding libraries)
- From: Karsten Wutzke
- Re: Using mandatory libraries (custom class loading vs. expanding libraries)
- From: Karsten Wutzke
- Re: Using mandatory libraries (custom class loading vs. expanding libraries)
- From: Roedy Green
- Using mandatory libraries (custom class loading vs. expanding libraries)
- Prev by Date: Re: java
- Next by Date: Re: Anybody knows how to implement Comet with JavaServlet?
- Previous by thread: Re: Using mandatory libraries (custom class loading vs. expanding libraries)
- Next by thread: Re: Using mandatory libraries (custom class loading vs. expanding libraries)
- Index(es):
Relevant Pages
|