Mantis - Resin
Viewing Issue Advanced Details
86 minor always 04-07-05 00:00 05-11-05 00:00
sam  
 
normal  
closed 3.0.12  
3.0.12 fixed  
none    
none 3.0.13  
0000086: <server> / <resin:choose> / <classloader>
RSN-77
(rep by D Becker)

I get an error when I try to use <resin:choose> to choose a <classloader> configuration.

...
  <server>
    <resin:import path="${Var['my.home']}/conf/resin/xml/code.xml"/>
...

<resin:choose>
  <resin:when test="${ ... }">
    <resin:log>Enabling compiling CODE loader for local/dev/mode...</resin:log>
    <class-loader>
      <compiling-loader batch="true" path="../code/classes" source="../code/src"/>
      <tree-loader path="../code/lib"/>
      <tree-loader path="$resin-home/lib"/>
    </class-loader>
  </resin:when>
  <resin:otherwise>
    <class-loader>
      <simple-loader path="../code/classes"/>
      <tree-loader path="../code/lib"/>
      <tree-loader path="$resin-home/lib"/>
    </class-loader>
  </resin:otherwise>
</resin:choose>


Notes
(0000091)
ferg   
04-07-05 00:00   
server/13ji, server/13jj