portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2 maven.xml
Date Thu, 27 May 2004 20:03:20 GMT
weaver      2004/05/27 13:03:20

  Modified:    .        maven.xml
  Log:
  re-added the tomcat 5 stuff I accidently overwrote
  
  Revision  Changes    Path
  1.65      +24 -0     jakarta-jetspeed-2/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/maven.xml,v
  retrieving revision 1.64
  retrieving revision 1.65
  diff -u -r1.64 -r1.65
  --- maven.xml	27 May 2004 20:01:19 -0000	1.64
  +++ maven.xml	27 May 2004 20:03:19 -0000	1.65
  @@ -500,4 +500,28 @@
       <maven:addPath id="maven.dependency.classpath" refid="jdbc.drivers.path"/>
     </goal>
     
  +    <goal name="check.required.properties"
  +        description="Check if the required properties are defined">
  +    <fail message="Required property catalina.home undefined. See http://portals.apache.org/jetspeed-2/getting-started.html."
unless="catalina.home"/>
  +    <fail message="Required property catalina.version.major undefined. See http://portals.apache.org/jetspeed-2/getting-started.html."
unless="catalina.version.major"/>
  +    <fail message="Required property catalina.shared.lib undefined. See http://portals.apache.org/jetspeed-2/getting-started.html."
unless="catalina.shared.lib"/>
  +    <fail message="Required property deploy.war.dir undefined. See http://portals.apache.org/jetspeed-2/getting-started.html."
unless="deploy.war.dir"/>
  +  </goal>  
  +
  +  <goal name="check.patch.tomcat5.jaas.realm"
  +        description="Check if the Tomcat5 JAASRealm patch is needed">
  +    <j:set var="catalina_version_major" value="${catalina.version.major}"/>
  +    <j:if test="${catalina_version_major == '5'}">
  +      <mkdir dir="${catalina.home}/server/classes"/>
  +      <javac srcdir="src/tomcat5-jaas-patch" destdir="${catalina.home}/server/classes">
  +        <classpath>
  +          <path refid="maven.dependency.classpath"/>
  +          <fileset dir="${catalina.home}/server/lib">
  +            <include name="**/*.jar"/>
  +          </fileset>
  +        </classpath>
  +      </javac>
  +    </j:if>
  +  </goal>
  +  
   </project>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message