asmuts      2003/11/05 21:58:24

  Modified:    .        maven.xml
  Log:
  Added rmic to maven.xml so the remote cache can be used.  This may only be a 
temporary solution.  It was the only way I could figure out how to do it.
  
  Revision  Changes    Path
  1.3       +49 -1     jakarta-turbine-jcs/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-jcs/maven.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- maven.xml 5 Oct 2002 14:17:55 -0000       1.2
  +++ maven.xml 6 Nov 2003 05:58:24 -0000       1.3
  @@ -11,4 +11,52 @@
   
     </preGoal>
   
  -</project>
  +  <postgoal name="rmic" xmlns:j="jelly:core" xmlns:u="jelly:util">
  +
  +
  +<property
  +      name="mavenDependencyClasspath"
  +      refid="maven.dependency.classpath"
  +    />
  +
  +    <j:choose>
  +      <j:when test="${systemScope['os.name'].startsWith('Windows')}">
  +        <u:tokenize var="classpath"
  +delim=";">${mavenDependencyClasspath}</u:tokenize>
  +      </j:when>
  +      <j:otherwise>
  +        <u:tokenize var="classpath"
  +delim=":">${mavenDependencyClasspath}</u:tokenize>
  +      </j:otherwise>
  +    </j:choose>
  +
  +    <echo>
  +    maven.dependency.classpath:
  +    <j:forEach var="entry" items="${classpath}">${entry}
  +    </j:forEach>
  +    </echo>
  +
  +
  +
  +     
  +    <rmic base="${maven.build.dest}" 
classname="org.apache.jcs.auxiliary.remote.RemoteCacheListener">
  +     <classpath>
  +           <path refid="maven.dependency.classpath"/>
  +       </classpath>
  +    </rmic> 
  +
  +    <rmic base="${maven.build.dest}" 
classname="org.apache.jcs.auxiliary.remote.server.RemoteCacheServerListener"> 
  +     <classpath>
  +           <path refid="maven.dependency.classpath"/>
  +       </classpath>
  +    </rmic> 
  +
  +    <rmic base="${maven.build.dest}" 
classname="org.apache.jcs.auxiliary.remote.server.RemoteCacheServer"> 
  +     <classpath>
  +           <path refid="maven.dependency.classpath"/>
  +       </classpath>
  +    </rmic> 
  +
  +   </postgoal>
  +
  + </project>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to