myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svieu...@apache.org
Subject cvs commit: incubator-myfaces/build build.default.properties
Date Sat, 13 Nov 2004 22:00:05 GMT
svieujot    2004/11/13 14:00:05

  Modified:    build/tomcat tomcat-build.xmlf
               build    build.default.properties
  Log:
  Allow the example webapp to deploy on a remote server
  
  Revision  Changes    Path
  1.4       +27 -2     incubator-myfaces/build/tomcat/tomcat-build.xmlf
  
  Index: tomcat-build.xmlf
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/build/tomcat/tomcat-build.xmlf,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- tomcat-build.xmlf	23 Apr 2004 12:09:03 -0000	1.3
  +++ tomcat-build.xmlf	13 Nov 2004 22:00:04 -0000	1.4
  @@ -3,13 +3,38 @@
               <pathelement path="${tomcat.home}/server/lib/catalina-ant.jar"/>
           </classpath>
       </taskdef>
  -
  -	<target name="tomcat-deploy-app" description="Deploy the App to Tomcat">
  +    
  +   	<target name="tomcat-deploy-app-locally" unless="tomcat.remote.deploy">
   	        <deploy url="${tomcat.manager.url}"
               username="${tomcat.manager.username}"
               password="${tomcat.manager.password}"
               path="${tomcat.context.path}"
               localWar="file://${tomcat.war.file}" update="true"/>
  +    </target>
  +   	<target name="tomcat-deploy-app-remotely" if="tomcat.remote.deploy">
  +	        <!--deploy url="${tomcat.manager.url}"
  +            username="${tomcat.manager.username}"
  +            password="${tomcat.manager.password}"
  +            path="${tomcat.context.path}"
  +            localWar="file://${tomcat.war.file}" update="true"/-->
  +   	        <deploy url="${tomcat.manager.url}"
  +            username="${tomcat.manager.username}"
  +            password="${tomcat.manager.password}"
  +            path="${tomcat.context.path}"
  +            war="file://${tomcat.war.file}" update="true"/>
  +    </target>
  +
  +	<target name="tomcat-deploy-app" description="Deploy the App to Tomcat">
  +	        <!--deploy url="${tomcat.manager.url}"
  +            username="${tomcat.manager.username}"
  +            password="${tomcat.manager.password}"
  +            path="${tomcat.context.path}"
  +            localWar="file://${tomcat.war.file}" update="true"/-->
  +   	        <deploy url="${tomcat.manager.url}"
  +            username="${tomcat.manager.username}"
  +            password="${tomcat.manager.password}"
  +            path="${tomcat.context.path}"
  +            war="file://${tomcat.war.file}" update="true"/>
       </target>
   	<target name="tomcat-undeploy-app" description="Undeploy the App from Tomcat">
           <undeploy url="${tomcat.manager.url}"
  
  
  
  1.20      +2 -0      incubator-myfaces/build/build.default.properties
  
  Index: build.default.properties
  ===================================================================
  RCS file: /home/cvs/incubator-myfaces/build/build.default.properties,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- build.default.properties	3 Nov 2004 16:23:42 -0000	1.19
  +++ build.default.properties	13 Nov 2004 22:00:04 -0000	1.20
  @@ -89,6 +89,8 @@
   tomcat.manager.url=http://${tomcat.server}:${tomcat.port}/manager
   tomcat.manager.username=admin
   tomcat.manager.password=admin
  +# Define the following tomcat.remote.deploy to deploy on a server that isn't local
  +# tomcat.remote.deploy=true
   
   # temp dir
   env.TEMP=${project.dir}/build/temp
  
  
  

Mime
View raw message