incubator-depot-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickcha...@apache.org
Subject svn commit: rev 31023 - incubator/depot/trunk/version/src/templates
Date Sat, 31 Jul 2004 07:45:44 GMT
Author: nickchalko
Date: Sat Jul 31 00:45:44 2004
New Revision: 31023

Modified:
   incubator/depot/trunk/version/src/templates/VersionSourceGenerator.java.jet
Log:
Updated.

Modified: incubator/depot/trunk/version/src/templates/VersionSourceGenerator.java.jet
==============================================================================
--- incubator/depot/trunk/version/src/templates/VersionSourceGenerator.java.jet	(original)
+++ incubator/depot/trunk/version/src/templates/VersionSourceGenerator.java.jet	Sat Jul 31
00:45:44 2004
@@ -15,8 +15,8 @@
 /**
  * <%=marker.getId()%> version <%=marker.getLongVersion()%> .
  * Generated at <%=new java.util.Date() %> 
- * at  HOST
- * by USER 
+ * on <%=getHost()%>
+ * by <%=getUser()%>
  * @author <a href="http://incubator.apache.org/depot">Depot Version</a> 
  *         from the <a href="http://incubator.apache.org/">Apache Incubator</a>,

            version <%=depotVersion.getLongVersion() %>
@@ -41,12 +41,37 @@
 	 */
 	public String getHost() {return "<%=getHost()%>"; }
 	
-		
 	/**
 	 * <%=marker.getId()%> was built at <%=getDate()%>.
 	 * @return the Date "<%=getDate()%>"
 	 */
 	public Date getDate() {return new Date(<%=getDate().getTime()%>l); }
+	
+	/**
+	 * The ID of the Version Specification.
+	 * @return ID of the Version Specification.
+	 * @see org.apache.depot.version.specification.VersionSpecificationFactory
+	 */
+	public String getSpecificationId(){return "<%=marker.getSpecification().getId()%>";}

+	
+	
+	/**
+	 * <%=marker.getId()%> <%=marker.getShortVersion()%>.
+	 * @return the String "<%=marker.getShortVersion()%>"
+	 */
+	public String getShortVersion() {return "<%=marker.getShortVersion()%>";}
+	
+	/**
+	 * <%=marker.getId()%> <%=marker.getLongVersion()%>.
+	 * @return the String "<%=marker.getLongVersion()%>"
+	 */
+	public String getLongVersion() {return "<%=marker.getLongVersion()%>";}
+
+	/**
+	 * <%=marker.getId()%> <%=marker.getDefaultVersion()%>.
+	 * @return the String "<%=marker.getDefaultVersion()%>"
+	 */
+	public String getDefaultVersion() {return "<%=marker.getDefaultVersion()%>";}	
 	
 	/**
 	 * <%=marker.getId()%> <%=marker.getLongVersion()%>.

Mime
View raw message