Hi,
I think I'm not concerned by your message.
Thanks in advanced to delete my adress from your list of users.
-Message d'origine-
De : Shapira, Yoav [mailto:[EMAIL PROTECTED]
Envoye : lundi 3 mai 2004 15:17
A : Tomcat Users List
Objet : RE: Setting classpath out of the webapp
Hi,
>OK, you are right, but I think, is really better to have the same code
in
>one file -- i think is;t better than have one code in a lot of files,
don't
>you? :)
I completely agree, but the above is unrelated to your previous
question. The same code should only be in one file, of course. Th
Shapira, Yoav wrote:
> Hi,
>
>> Beacuase when you are developing both webapps at the same time,
> duplicates
>> leads into some data inconsistences, doesn't it?
>
> Not if your development and deployment process is well-controlled.
>
> Yoav Shapira
>
>
OK, you are right, but I think, is really bet
Hi,
>Beacuase when you are developing both webapps at the same time,
duplicates
>leads into some data inconsistences, doesn't it?
Not if your development and deployment process is well-controlled.
Yoav Shapira
This e-mail, including any attachments, is a confidential business communication,
Shapira, Yoav wrote:
> Hi,
>
>> I want to have only one file of
>> this class -- I don't want to copy classes between the webapps.
>
> Why?
>
> Yoav Shapira
>
Beacuase when you are developing both webapps at the same time, duplicates
leads into some data inconsistences, doesn't it?
Honza S.
>
>
Hi,
>I want to have only one file of
>this class -- I don't want to copy classes between the webapps.
Why?
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
I've done:
- in the common directory I've created "src" directory
- into the src dir I've copied all shared java-sourced classes
- i've compiled them into the common/classes directory
- i've copied some shared libaries into the common/lib
- i've removed whole directory webapps/MyApp/WEB-INF/classe
Place your classes in common/lib or shared/lib
But you need to be careful. The common/lib and shared/lib classloaders cannot
see the WEB-INF classloader - which means that you can easily get the no
class found errors.
Multiple copies of JAR files in each classloader is OK. You can do that via
Eric Noel wrote:
> On 5/3/2004 4:26 PM, Honza Spurný wrote:
>
>> Hi there,
>>
>> I'have been trying to set the classpath of the webapp out of the
>> directory of this webapp. This is for me little important, since
>> some classes I'd like to use (I have to use) in other webapps. I
>> want to have o
it's easy :)
put your classes or jars to be *shared by your webapps* into
the directory ---%TOMCAT_HOME%\shared\classes or
%TOMCAT_HOME%\shared\lib
Regards,
Potomac
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
ECTED]
Sent: Monday, May 03, 2004 10:26
To: Tomcat Maillisting
Subject: Setting classpath out of the webapp directory
Hi there,
I'have been trying to set the classpath of the webapp out of the
directory
of this webapp. This is for me little important, since some classes I'd
like
to use (I
On 5/3/2004 4:26 PM, Honza Spurný wrote:
Hi there,
I'have been trying to set the classpath of the webapp out of the directory
of this webapp. This is for me little important, since some classes I'd like
to use (I have to use) in other webapps. I want to have only one file of
this class -- I don't
Hi there,
I'have been trying to set the classpath of the webapp out of the directory
of this webapp. This is for me little important, since some classes I'd like
to use (I have to use) in other webapps. I want to have only one file of
this class -- I don't want to copy classes between the webapps.
13 matches
Mail list logo