You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@depot.apache.org by ni...@apache.org on 2004/07/31 07:45:44 UTC
svn commit: rev 31023 - incubator/depot/trunk/version/src/templates
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()%>.