logo       

roller build.xml,1.96,1.97: msg#00357

Subject: roller build.xml,1.96,1.97
Update of /cvsroot/roller/roller
In directory sc8-pr-cvs1:/tmp/cvs-serv22952

Modified Files:
        build.xml 
Log Message:
Better organization of the Resin "dependancies" for Roller.  All versions of 
Resin require certain jars to be copied to /WEB-INF/lib that the Tomcat build 
leaves out.  Versions prior to 2.1.9 require ServletFilter mangling.  These two 
requirements have been split out into seperate Ant properties.

Index: build.xml
===================================================================
RCS file: /cvsroot/roller/roller/build.xml,v
retrieving revision 1.96
retrieving revision 1.97
diff -C2 -d -r1.96 -r1.97
*** build.xml   20 Apr 2003 20:26:53 -0000      1.96
--- build.xml   23 Apr 2003 17:10:40 -0000      1.97
***************
*** 58,64 ****
  <property name="build.velocidoc"     value="${ro.build}/velocidoc"/>
  
! <!-- To enable Resin specific changes, uncomment the following
!       property and edit the appropriate "dir" attribute in base.path -->
! <!-- property name="resin.path" value="resin.jar" / -->
  
  <path id="xml.path">
--- 58,78 ----
  <property name="build.velocidoc"     value="${ro.build}/velocidoc"/>
  
! <!--
! If you would like Ant to copy all the jar files that Resin needs
! into the /WEB-INF/lib, uncomment the "resinServer" property below.
! In order to run Roller properly on versions of Resin prior to 2.1.9
! you will need to uncomment the "resinFilters" and "resin.path" elements
! below.  In addition, make sure to uncomment the reference to resin.path
! in the "base.path" definition. 
!  -->
! <!--property name="resinServer" value="true" /-->
! <!--
! <property name="resinFilters" value="true" />
! <path id="resin.path">  
!     <fileset dir="../../resin-2.1.8/lib" >
!       <include name="resin.jar" />
!     </fileset>   
! </path>
! -->
  
  <path id="xml.path">
***************
*** 74,77 ****
--- 88,92 ----
  
  <path id="base.path">
+       <!--path refid="resin.path" /-->
      <path refid="xml.path"/> 
      <fileset dir="${ro.tools}/lib">
***************
*** 90,97 ****
          <include name="commons*.jar"/>
          <include name="jdbc2_0-stdext.jar"/>
!     </fileset>    
!       <!--fileset dir="../../resin-2.1.8/lib/">
!               <include if="resin.path" name="${resin.path}" />
!       </fileset-->        
  </path>
  
--- 105,109 ----
          <include name="commons*.jar"/>
          <include name="jdbc2_0-stdext.jar"/>
!     </fileset>   
  </path>
  
***************
*** 108,112 ****
      <fileset dir="${ro.tools}/struts-1.1-rc1/lib">
          <include name="*.jar"/>
!     </fileset>
  </path>
  
--- 120,124 ----
      <fileset dir="${ro.tools}/struts-1.1-rc1/lib">
          <include name="*.jar"/>
!     </fileset>  
  </path>
  
***************
*** 311,316 ****
      HttpServletResponseWrapper into a CauchoResponseWrapper. We have 
      to do away with the original or there will be compile errors. -->
! <target name="prepare.resin" if="resin.path">
  
      <replace dir="./src"
          token="extends HttpServletResponseWrapper"
--- 323,329 ----
      HttpServletResponseWrapper into a CauchoResponseWrapper. We have 
      to do away with the original or there will be compile errors. -->
! <target name="prepare.resin" if="resinFilters">
  
+       <echo>Convert HttpServletResponseWrappers to 
CauchoResponseWrappers</echo>
      <replace dir="./src"
          token="extends HttpServletResponseWrapper"
***************
*** 330,335 ****
  
  <!-- Now that the compilation is done, undo the damage from prepare.resin -->
! <target name="undo.resin" if="resin.path">
  
      <replace dir="./src"
          value="extends HttpServletResponseWrapper"
--- 343,349 ----
  
  <!-- Now that the compilation is done, undo the damage from prepare.resin -->
! <target name="undo.resin" if="resinFilters">
  
+       <echo>Convert CauchoResponseWrappers to 
HttpServletResponseWrappers</echo>
      <replace dir="./src"
          value="extends HttpServletResponseWrapper"
***************
*** 461,468 ****
              <!-- MR: Might need to include mail.jar and activation.jar
                  They're included in Tomcat (non-LE) versions by default -->
!             <include name="mail.jar"                if="resin.path"/>
!             <include name="activation.jar"          if="resin.path"/>
!             <include name="xercesImpl-2.3.0.jar"    if="resin.path"/>
!             <include name="xmlParserAPIs-2.3.0.jar" if="resin.path"/>
  
          </fileset>
--- 475,482 ----
              <!-- MR: Might need to include mail.jar and activation.jar
                  They're included in Tomcat (non-LE) versions by default -->
!             <include name="mail.jar"                if="resinServer"/>
!             <include name="activation.jar"          if="resinServer"/>
!             <include name="xercesImpl-2.3.0.jar"    if="resinServer"/>
!             <include name="xmlParserAPIs-2.3.0.jar" if="resinServer"/>
  
          </fileset>




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
web.pylons.gene...    hurd.l4/2002-10...    kernel.commits....    user-groups.lin...    yellowdog.gener...    java.drools.use...    security.openva...    package-managem...    linux.debian.us...    qnx.openqnx.dev...    genealogy.gramp...    file-systems.if...    voip.wengophone...    tex.context/200...    ietf.smime/2003...    audio.csound.de...    culture.region....    xfree86.devel/2...    mobile.kannel.u...    distributed.con...    education.engli...    org.user-groups...    bug-tracking.gn...    recreation.bicy...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe