|
|
Sponsor |
Nice/src/nice/tools/compiler JavaVersion.java,NONE,1.1 setBuildDate,1.9,1.1: msg#00167lang.nice.cvs
Update of /cvsroot/nice/Nice/src/nice/tools/compiler In directory sc8-pr-cvs1:/tmp/cvs-serv1706/src/nice/tools/compiler Modified Files: setBuildDate Added Files: JavaVersion.java Log Message: Print the JDK version used to compile the compiler in the version info. Based on a patch by Christian Stuellenberg. --- NEW FILE: JavaVersion.java --- /**************************************************************************/ /* N I C E */ /* A high-level object-oriented research language */ /* (c) Daniel Bonniot 2003 */ /* */ /* This program is free software; you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation; either version 2 of the License, or */ /* (at your option) any later version. */ /* */ /**************************************************************************/ package nice.tools.compiler; /** Print the version of the running JVM. */ public class JavaVersion { public static void main(String[] args) { System.out.println(System.getProperty("java.version")); } } Index: setBuildDate =================================================================== RCS file: /cvsroot/nice/Nice/src/nice/tools/compiler/setBuildDate,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** setBuildDate 20 Jul 2003 23:23:46 -0000 1.9 --- setBuildDate 31 Aug 2003 09:06:08 -0000 1.10 *************** *** 1,10 **** #! /bin/sh ! if [ -z "$2" ]; then version="$1" else ! version="$1 $2" fi date="`date -u +'%Y.%m.%d, %T %Z'`" --- 1,12 ---- #! /bin/sh ! if [ -z "$3" ]; then version="$1" else ! version="$1 $3" fi + javaVersion="$2" + date="`date -u +'%Y.%m.%d, %T %Z'`" *************** *** 13,16 **** --- 15,20 ---- echo "let String versionNumber = \"$version\";" >> dateBuild.nice echo "let String buildDate = \"$date\";" >> dateBuild.nice + echo "let String javaVersion = \"$javaVersion\";" >> dateBuild.nice + echo "Main-Class: nice.tools.compiler.console.fun ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Nice/src/nice/tools/compiler/console main.nice,1.4,1.5, bonniot |
|---|---|
| Next by Date: | Nice Makefile,1.124,1.125, bonniot |
| Previous by Thread: | Nice/src/nice/tools/compiler/console main.nice,1.4,1.5, bonniot |
| Next by Thread: | Nice Makefile,1.124,1.125, bonniot |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|