From: Julio G. <ju...@us...> - 2005-06-30 14:27:28
|
Update of /cvsroot/smartfrog/core/smartfrog/src/org/smartfrog In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19708/src/org/smartfrog Modified Files: Version.java Added Files: version.sf.build Removed Files: version.sf Log Message: sf-build-version.properties now contains the SF version used by ant to create version.sf and tag all jar files. ONLY sf-build-version.properties has to be modified to change SF version info. --- version.sf DELETED --- Index: Version.java =================================================================== RCS file: /cvsroot/smartfrog/core/smartfrog/src/org/smartfrog/Version.java,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** Version.java 19 Apr 2005 06:28:27 -0000 1.30 --- Version.java 30 Jun 2005 14:27:00 -0000 1.31 *************** *** 107,111 **** String newStatus=null; if (!status.trim().equals("")){ ! newStatus="_"+status; } else newStatus=""; return name+" "+majorRelease+"."+minorRelease+"."+build+newStatus; --- 107,111 ---- String newStatus=null; if (!status.trim().equals("")){ ! newStatus=""+status; } else newStatus=""; return name+" "+majorRelease+"."+minorRelease+"."+build+newStatus; *************** *** 121,125 **** String newStatus=null; if (!status.trim().equals("")){ ! newStatus="_"+status; } else newStatus=""; return majorRelease+"."+minorRelease+"."+build+newStatus; --- 121,125 ---- String newStatus=null; if (!status.trim().equals("")){ ! newStatus=""+status; } else newStatus=""; return majorRelease+"."+minorRelease+"."+build+newStatus; *************** *** 255,259 **** if ((args.length > 0) && (args[0].equals("-b"))) System.out.print(versionStringforrelease()); ! else System.out.print(versionString()); } --- 255,259 ---- if ((args.length > 0) && (args[0].equals("-b"))) System.out.print(versionStringforrelease()); ! else System.out.print(versionString()); } --- NEW FILE: version.sf.build --- /** (C) Copyright 1998-2005 Hewlett-Packard Development Company, LP This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA For more information: www.smartfrog.org */ Version extends { name "SmartFrog"; majorRelease "@majorRelease@"; minorRelease "@minorRelease@"; build "@build@"; // odd numbers are development versions status "@status@"; //alpha, beta, (stable), rc (release candidate) copyright "(C) Copyright 1998-2005 Hewlett-Packard Development Company, LP"; } |