From depot-cvs-return-595-apmail-incubator-depot-cvs-archive=incubator.apache.org@incubator.apache.org Sat Jul 31 07:50:02 2004 Return-Path: Delivered-To: apmail-incubator-depot-cvs-archive@www.apache.org Received: (qmail 71954 invoked from network); 31 Jul 2004 07:50:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 31 Jul 2004 07:50:02 -0000 Received: (qmail 58071 invoked by uid 500); 31 Jul 2004 07:50:01 -0000 Delivered-To: apmail-incubator-depot-cvs-archive@incubator.apache.org Received: (qmail 58051 invoked by uid 500); 31 Jul 2004 07:50:01 -0000 Mailing-List: contact depot-cvs-help@incubator.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: depot-dev@incubator.apache.org Delivered-To: mailing list depot-cvs@incubator.apache.org Received: (qmail 58036 invoked by uid 99); 31 Jul 2004 07:50:01 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Sat, 31 Jul 2004 00:50:01 -0700 Received: (qmail 71944 invoked by uid 65534); 31 Jul 2004 07:50:00 -0000 Date: 31 Jul 2004 07:50:00 -0000 Message-ID: <20040731075000.71942.qmail@minotaur.apache.org> From: nickchalko@apache.org To: depot-cvs@incubator.apache.org Subject: svn commit: rev 31024 - incubator/depot/trunk/version/src/java/org/apache/depot/version/generation X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: nickchalko Date: Sat Jul 31 00:50:00 2004 New Revision: 31024 Modified: incubator/depot/trunk/version/src/java/org/apache/depot/version/generation/VersionSourceGenerator.java Log: Added license Modified: incubator/depot/trunk/version/src/java/org/apache/depot/version/generation/VersionSourceGenerator.java ============================================================================== --- incubator/depot/trunk/version/src/java/org/apache/depot/version/generation/VersionSourceGenerator.java (original) +++ incubator/depot/trunk/version/src/java/org/apache/depot/version/generation/VersionSourceGenerator.java Sat Jul 31 00:50:00 2004 @@ -22,7 +22,7 @@ { protected final String NL = System.getProperties().getProperty("line.separator"); - protected final String TEXT_1 = "/*" + NL + " * DO NOT CHECK IN." + NL + " * This is a autogenerated file. " + NL + " */" + NL + "package "; + protected final String TEXT_1 = NL + "/*" + NL + " * DO NOT CHECK IN." + NL + " * This is a autogenerated file. " + NL + " */" + NL + "package "; protected final String TEXT_2 = "; " + NL + "" + NL + "import java.util.Date;" + NL + "" + NL + "/**" + NL + " * "; protected final String TEXT_3 = " version "; protected final String TEXT_4 = " ." + NL + " * Generated at "; @@ -68,6 +68,21 @@ public String generate(String packageName, String className, VersionMarker marker) { StringBuffer stringBuffer = new StringBuffer(); + -- +Copyright [year] The Apache Software Foundation + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +-- stringBuffer.append(TEXT_1); stringBuffer.append(packageName); stringBuffer.append(TEXT_2);