The extensions directory is pretty simple, actually... Any .jar files
placed in the directory are considered to be in the classpath. A warning on
this, though - don't overuse it... The more you put in there, the more the
JVM has to check and process on startup. One guy here loved using it, and
threw about every third-party package he could in there to avoid having to
create a run script. Wonderful idea, except now the JVM takes almost 30
seconds to start - even for my programs, which don't use any of the packages
he put in there.
If you've got truly universal extensions that are going to be used by
every program you run with that JVM, it's great... otherwise I've found it
more trouble than it's worth.
As to the classpath problem itself... Is it finding your main class at
all? I was a little confused as to actually what was happening, because it
sounds like you're saying the Openmap classes are being loaded, but yours
isn't - that would mean that your main class is being found, but not some of
the others. Also, have you tried just throwing in a dummy class that has
nothing to do with Openmap, and testing it with that directory
structure/classpath? It honestly doesn't sound like the problem has
anything to do with Openmap itself.
Also to clarify... Your last message said you were on Windows, but the
scripts you put together before looked UNIX... Build on one system and run
on another?
I know this is one of those things that when we finally figure it out,
every one of us is going to go "DOH!" and slam our heads on the table for
not seeing earlier :)
Kevin E. Allen, SSgt, USAF
Air Force Information Warfare Center, IOASI
Database Applications Developer
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Tue Aug 14 13:17:57 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:31 EDT