Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: [joist-cvs] CVS update: joist/java/org/joist/publish NoodleResources.properties.in NoodleResources.properties

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

Re: [joist-cvs] CVS update: joist/java/org/joist/publish NoodleResources.properties.in NoodleResources.properties

Author David Pellegrini <davidp at collab dot net>
Full name David Pellegrini <davidp at collab dot net>
Date 2000-08-21 01:09:10 PDT
Message Hi Ed!

These two properties are specified already in zone.properties.in.

They are accessible to servlets (such as Noodle) through myProperties (e.g., myProperties.getProp​erty("__HOSTNAME__")​).

Non-servlets, such as NoodleFilterLoader.java, can access these properties via a singleton Properties object holding site-wide configuration (e.g., JoistProperties.getP​roperty("__HOSTNAME_​_")).

I'd like to minimize the number of .in files we need to keep track of. __APACHE_PORT__ and __HOSTNAME__ are so fundamental that we should specify them in one place (for all of the java code, anyway).

-davidp

ed at tigris dot org wrote:
>
> User: ed
> Date: 00/08/20 23:15:59
>
> Added: java/org/joist/publish NoodleResources.properties.in
> Removed: java/org/joist/publish NoodleResources.properties
> Log:
> switch to .in for proper hostname/port
>
> Revision Changes Path
> 1.1 joist/java/org/joist​/publish/NoodleResou​rces.properties.in
>
> Index: NoodleResources.properties.in
> ====================​====================​====================​=======
> default.port=__APACHE_PORT__
> default.host=__HOSTNAME__
> prefilter.0=org.jois​t.publish.filters.Co​pyAllHeaders
> postfilter.0=org.joi​st.publish.filters.C​opyCookies
>
>
>

--
-=-=-=-=-=-=-=-=-=-=​-=-=-=-=-=-=-=-=-=-=​-=-=-=-=-=-=-=-=-=-=​-=-=-=-=-=-=-=
collab.net | open source | do what's right | now hiring smart people

« Previous message in topic | 1 of 2 | Next message in topic »

Messages

Show all messages in topic

Re: [joist-cvs] CVS update: joist/java/org/joist/publish NoodleResources.properties.in NoodleResources.properties David Pellegrini <davidp at collab dot net> David Pellegrini <davidp at collab dot net> 2000-08-21 01:09:10 PDT
     Re: [joist-dev] Re: [joist-cvs] CVS update: joist/java/org/joist/publish NoodleResources.properties.in NoodleResources.properties edk Ed Korthof 2000-08-21 08:42:26 PDT
Messages per page: