juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From svi...@apache.org
Subject cvs commit: ws-juddi build.xml
Date Mon, 05 Apr 2004 07:42:31 GMT
sviens      2004/04/05 00:42:31

  Modified:    webapps/juddi happyjuddi.jsp
               .        build.xml
  Log:
  Added version and build time information generated by Ant to happyjuddi.jsp
  
  Revision  Changes    Path
  1.7       +7 -1      ws-juddi/webapps/juddi/happyjuddi.jsp
  
  Index: happyjuddi.jsp
  ===================================================================
  RCS file: /home/cvs/ws-juddi/webapps/juddi/happyjuddi.jsp,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- happyjuddi.jsp	20 Mar 2004 13:18:23 -0000	1.6
  +++ happyjuddi.jsp	5 Apr 2004 07:42:31 -0000	1.7
  @@ -151,13 +151,19 @@
   </head>
   <body>
   
  -<div class="nav" align="right"><font size="-2"><a href="http://www.juddi.org/">jUDDI.org</a></font></div>
  +<div class="nav" align="right"><font size="-2"><a href="http://ws.apache.org/juddi/">jUDDI@Apache</a></font></div>
   <h1>jUDDI</h1>
   
   <div class="announcement">
   <p>
   <h3>Happy jUDDI!</h3>
   
  +<h4>jUDDI Version &amp; Build Date</h4>
  +<pre>
  +<b>Version:</b>    <%@ include file="/includes/version.inc" %>
  +<b>Build Date:</b> <%@ include file="/includes/buildtime.inc" %>
  +</pre>
  +        
   <h4>jUDDI Dependencies: Class Files &amp; Libraries</h4>
   <pre>
   <%
  
  
  
  1.11      +21 -5     ws-juddi/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/ws-juddi/build.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- build.xml	4 Apr 2004 15:51:36 -0000	1.10
  +++ build.xml	5 Apr 2004 07:42:31 -0000	1.11
  @@ -51,7 +51,7 @@
   
       <!-- set project-wide property values -->
       <property name="name"                value="juddi"/>
  -    <property name="version"             value="0.8.1"/>
  +    <property name="version"             value="0.9b1"/>
       <property name="owner"               value="Apache Software Foundation"/>
       <property name="title"               value="jUDDI ${version}"/>
       <property name="jar.file"            value="${name}.jar"/>
  @@ -95,9 +95,19 @@
         <available classname="com.puppycrawl.tools.checkstyle.Main" />
       </condition>
   
  -    <!-- build script 'start-time' -->
  +    <!-- create start.time property in 'yyyyMMdd' format -->
       <tstamp>
  -      <format property="DATE_STAMP" pattern="yyyyMMdd" timezone="GMT"/>
  +      <format 
  +      	property="start.time" 
  +      	pattern="yyyyMMdd" 
  +      	timezone="GMT" />
  +    </tstamp>
  +
  +    <!-- create build.time property in 'MM/dd/yyyy hh:mm aa' format -->
  +    <tstamp>
  +      <format 
  +      	property="build.time" 
  +      	pattern="MM/dd/yyyy hh:mm aa" />
       </tstamp>
   
     </target>
  @@ -130,6 +140,11 @@
     <!-- =================================================================== -->
     <target name="war" depends="clean,jar">
       <mkdir dir="${build.dir}"/>
  +    <!-- Create the version & build time #include files -->
  +    <mkdir dir="${webapps.dir}/juddi/includes"/>
  +	<echo file="${webapps.dir}/juddi/includes/version.inc" append="false">${version}</echo>
  +	<echo file="${webapps.dir}/juddi/includes/buildtime.inc" append="false">${build.time}</echo>

  +    <!-- Assemble juddi.war file -->
       <war warfile="${build.dir}/${war.file}" webxml="${conf.dir}/web.xml">
         <fileset dir="${webapps.dir}/juddi">
           <include name="**"/>
  @@ -156,6 +171,7 @@
           <include name="${jar.file}"/>
         </lib>
       </war>
  +    <!-- Explode the juddi.war file -->
       <mkdir dir="${build.dir}/webapps/juddi"/>
       <unzip src="${build.dir}/${war.file}" dest="${build.dir}/webapps/juddi" overwrite="true"/>
     </target>
  @@ -411,7 +427,7 @@
     <!-- =================================================================== -->
     <target name="gump" depends="clean,jar">
       <copy file="${build.dir}/${jar.file}"
  -      tofile="${build.dir}/${name}-${DATE_STAMP}.jar"/>
  +      tofile="${build.dir}/${name}-${start.time}.jar"/>
     </target>
     <!-- =================================================================== -->
     <!-- Versioning                                                          -->
  
  
  

Mime
View raw message