Re: [Resin-interest] Access server id param within resin.xml

2010-10-02 Thread Scott Ferguson
Stargazer wrote:
   On 01-Oct-2010 11:20, Daniel López wrote:
   
 With Resin 3.1.5, ${server.id} is working for me.
 
 Aha thanks.
 This stuff is so hard to find. Even a search of ${resinHome}, hoping to 
 show up a list of them all , on the main caucho.com site shows up nothing.
   
I've updated the list at http://wiki.caucho.com/EL_configuration_variables

-- Scott

   
 S!
 D.

 El 01/10/2010 1:32, Stargazer escribió:
 
 When a server is started with the command line option -server foo
 how can I access the variable holding foo within resin.xml?
 I want to use it to define a set of conf dirs, like:

 resin:import
 fileset dir=${resinHome}/conf/hostconf-${whateverServerIdWasPassedIn}
 include name=**/*.xml/
 /fileset
 /resin:import

   
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest

 




 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest

   



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Access server id param within resin.xml

2010-10-01 Thread Emil Ong
There's a complete listing of all the environment variables here:

http://www.caucho.com/resin-4.0/admin/config-el.xtp

These apply to both 3.1 and 4.0.

Emil

On Fri, Oct 01, 2010 at 12:54:22PM +0100, Stargazer wrote:
   On 01-Oct-2010 11:20, Daniel López wrote:
  With Resin 3.1.5, ${server.id} is working for me.
 Aha thanks.
 This stuff is so hard to find. Even a search of ${resinHome}, hoping to 
 show up a list of them all , on the main caucho.com site shows up nothing.
 
  S!
  D.
 
  El 01/10/2010 1:32, Stargazer escribió:
  When a server is started with the command line option -server foo
  how can I access the variable holding foo within resin.xml?
  I want to use it to define a set of conf dirs, like:
 
  resin:import
  fileset dir=${resinHome}/conf/hostconf-${whateverServerIdWasPassedIn}
  include name=**/*.xml/
  /fileset
  /resin:import
 
 
  ___
  resin-interest mailing list
  resin-interest@caucho.com
  http://maillist.caucho.com/mailman/listinfo/resin-interest
 
 
 
 
 
 ___
 resin-interest mailing list
 resin-interest@caucho.com
 http://maillist.caucho.com/mailman/listinfo/resin-interest


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


[Resin-interest] Access server id param within resin.xml

2010-09-30 Thread Stargazer
  When a server is started with the command line option -server foo 
how can I access the variable holding foo within resin.xml?
I want to use it to define a set of conf dirs, like:

resin:import
fileset dir=${resinHome}/conf/hostconf-${whateverServerIdWasPassedIn}
include name=**/*.xml/
/fileset
/resin:import

Thanks



___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest