tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Classpath Conundrum (2nd try)
Date Thu, 17 Jul 2003 20:25:59 GMT

Having followed and this whole thread and bit my tongue until now...

>Somehow there must be a way to get the class loader to look in the
>"/foreign" and "/native" directories :-(

Searching the list archives reveals that every now and then someone
comes along with your situation or a near approximation, and every time
they go through all sorts of twists/bends/hacks to get it to work.  It's
always the same hassle, with one of two possible results:

1. They sober up and modify their directory structure into a more
conventional structure such as the one outlined here:

2. They do manage to make a hack work, resulting in a non-standard,
non-portable, non-supported, fragile, difficult to maintain

You can save yourself and your employer a lot of time and write an Ant
script that deploys into a standard structure from the messed up one you
have now.  That way the developers can still work with their directory
structure (native, foreign, etc.), the source code control system does
not need to be changed, and you don't have to hack around the servlet
container's classloading.

Yoav Shapira

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message