logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Nice/src/nice/tools/compiler JavaVersion.java,NONE,1.1 setBuildDate,1.9,1.1: msg#00167

lang.nice.cvs

Subject: Nice/src/nice/tools/compiler JavaVersion.java,NONE,1.1 setBuildDate,1.9,1.10

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





Only community members can participate in forum threads. You must Register or log in to contribute.

<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive 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

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo