incubator-depot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Chalko <n...@chalko.com>
Subject Re: svn commit: rev 30975 - in incubator/depot/trunk/version/src: java java/org/apache/depot/version/ant/stamp java/org/apache/depot/version/generation templates test/java/org/apache/depot/version/ant/stamp
Date Fri, 30 Jul 2004 08:50:58 GMT
nickchalko@apache.org wrote:

>Author: nickchalko
>Date: Fri Jul 30 01:49:14 2004
>New Revision: 30975
>
>Added:
>   incubator/depot/trunk/version/src/java/org/apache/depot/version/ant/stamp/VersionGeneratorTask.java
>   incubator/depot/trunk/version/src/java/org/apache/depot/version/generation/Skeleton.java
>   incubator/depot/trunk/version/src/java/org/apache/depot/version/generation/VersionSourceGenerator.java
>   incubator/depot/trunk/version/src/templates/
>   incubator/depot/trunk/version/src/templates/Version.java.jet
>   incubator/depot/trunk/version/src/templates/version.skeleton
>Modified:
>   incubator/depot/trunk/version/src/java/depot-version-antlib.xml
>   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/stamp/VersionGeneratorTaskTest.java
>   incubator/depot/trunk/version/src/test/java/org/apache/depot/version/ant/stamp/version.xml
>Log:
>Using eclipse JET to generate the VersionSourceGenerator.
>
>  
>

The generated file looks like this

/*
 * DO NOT CHECK IN.
 *.This is a autogenerated file. 
 */
package org.apache.acorn.version.version;

import java.util.Date;

/**
 * org.apache.acorn.version version 1.2.0 .
 * Generated at Fri Jul 30 01:45:54 PDT 2004
 * at  HOST
 * by USER
 * @author <a href="http://incubator.apache.org/depot">Depot Version</a>
 *         from the <a href="http://incubator.apache.org/">Apache 
Incubator</a>,
           version 0.1-dev-20040727
 * @version 1.2.0
 */
public class Version {
    public final static Version INSTANCE = new Version();
   
    private Version()  {}
   
    /**
     * The user that built org.apache.acorn.version was null.
     * @return the String "null"
     */
    public String getUser() {return "null"; }
   
       
    /**
     * org.apache.acorn.version was built on null.
     * @return the String "null"
     */
    public String getHost() {return "null"; }
   
       
    /**
     * org.apache.acorn.version was built at null.
     * @return the Date "null"
     */
    public Date getDate() {return null; }
   
   
    public String toString() {return "1.2.0";}
}   


Mime
View raw message