tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Probst" <andpr...@gmx.net>
Subject RE: web-inf/classes and eclipse
Date Tue, 20 Aug 2002 14:25:33 GMT
As far as I know, there is no classpath in Tomcat, but a 
classloader hierarchy.

In a few threads about how to write files into the file system 
I read about passing a parameter to the webapp. This parameter 
could be the path to the config file somewhere on your system.

> thanks for this idea. I think i will use ant..
> 
> But what about adding WEB-INF/config to the CLASSPATH ?
> How can i do that automatically for all tomcat projects ?
> 
> > -----Message d'origine-----
> > De : Andreas Probst [mailto:andpro77@gmx.net]
> > Envoyé : mardi 20 août 2002 09:37
> > À : Tomcat Users List
> > Objet : Re: web-inf/classes and eclipse
> > 
> > 
> > Hi Michenaud,
> > 
> > using Ant together with Eclipse might be an option. You can 
> > run Ant from inside Eclipse by right-clicking the build.xml 
> > file and choosing the right operation (I now don't know how it 
> > is called).
> > 
> > Andreas
> > 
> > 
> > > Hi,
> > > 
> > > I use the editor Eclipse but when i launch
> > > "Rebuild all", it deletes all the content of 
> > > the WEB-INF/classes directory.
> > > 
> > > Inside, there is all my *.properties file.
> > > 
> > > The idea is to create a WEB-INF/config where i
> > > could put the properties files but i don't know how
> > > to add this directory into the classpath. It would be better
> > > too if the path was a relative path.
> > > 
> > > Or maybe u have others ideas ?
> > > 
> > > Michenaud Laurent
> > > - Adeuza -
> > > [ Développeur Web - Administrateur Réseau ]
> > > 
> > > 
> > > --
> > > To unsubscribe, e-mail:   
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail: 
> > <mailto:tomcat-user-help@jakarta.apache.org>
> > > 
> > 
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: 
> > <mailto:tomcat-user-help@jakarta.apache.org>
> > 
> > 
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message