Re: [Resin-interest] resin:import (3.1)

2009-11-29 Thread Aaron Freeman

> 2009/11/29 Aaron Freeman  >
>
> I am working with 3.1, was wondering if there is a trick to allowing
> recursive resin:imports?  In other words I would like to
> resin:import a
> file from within another file that was already resin:imported.
>
>
> I just tried it and it looks fine:
>
Odd.  I will play with it some more and see what the user error is.  Thanks!

Aaron


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


Re: [Resin-interest] resin:import (3.1)

2009-11-29 Thread Steffen Busch
2009/11/29 Aaron Freeman 

> I am working with 3.1, was wondering if there is a trick to allowing
> recursive resin:imports?  In other words I would like to resin:import a
> file from within another file that was already resin:imported.
>

I just tried it and it looks fine:

My resin.conf contains this:


  




The imported file '${resin.home}/conf/web-app-ext.conf' contains this:

http://caucho.com/ns/resin";
 xmlns:resin="http://caucho.com/ns/resin/core";>

  External configuration for web-app '${webApp.contextPath}'
read from '${__FILE__}' ...

  

  

  





That imported file '${resin.home}/conf/jsp-ext.conf' contains this:

http://caucho.com/ns/resin";
 xmlns:resin="http://caucho.com/ns/resin/core";>

  External configuration read from '${__FILE__}'
...

  

true

true
  






When I start Resin, resin.conf will read web-app-ext.conf and also
jsp-ext.conf:

[15:28:08.562] {main} WebApp[http://localhost:8080/resin-admin] active
[15:28:08.625] {main} External configuration for web-app '/ext' read from
'file:/C:/Downloads/resin-pro-3.1.9/conf/web-app-ext.conf' ...
[15:28:08.625] {main} External configuration read from
'file:/C:/Downloads/resin-pro-3.1.9/conf/jsp-ext.conf' ...
[15:28:08.640] {main} WebApp[http://localhost:8080/ext] active


-- Steffen



>
> Thanks,
>
> Aaron
>
>
> ___
> 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] resin:import (3.1)

2009-11-29 Thread Aaron Freeman
I am working with 3.1, was wondering if there is a trick to allowing 
recursive resin:imports?  In other words I would like to resin:import a 
file from within another file that was already resin:imported.

Thanks,

Aaron


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