Mercurial > hg > truffle
changeset 6333:95077eac15af
Remove graal.examples project.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 07 Sep 2012 16:08:23 +0200 |
parents | b2876b0dbcd9 |
children | f8ba3bb81f6f |
files | graal/com.oracle.graal.examples/overview.html graal/com.oracle.graal.examples/src/examples/HelloWorld.java mx/projects |
diffstat | 3 files changed, 0 insertions(+), 86 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.examples/overview.html Fri Sep 07 16:01:20 2012 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,36 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> -<html> -<head> -<!-- - -Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. -DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - -This code is free software; you can redistribute it and/or modify it -under the terms of the GNU General Public License version 2 only, as -published by the Free Software Foundation. Oracle designates this -particular file as subject to the "Classpath" exception as provided -by Oracle in the LICENSE file that accompanied this code. - -This code 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 General Public License -version 2 for more details (a copy is included in the LICENSE file that -accompanied this code). - -You should have received a copy of the GNU General Public License version -2 along with this work; if not, write to the Free Software Foundation, -Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - -Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA -or visit www.oracle.com if you need additional information or have any -questions. ---> - -</head> -<body> - -Documentation for the <code>com.oracle.graal.examples</code> project. - -</body> -</html>
--- a/graal/com.oracle.graal.examples/src/examples/HelloWorld.java Fri Sep 07 16:01:20 2012 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,44 +0,0 @@ -/* - * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * This code is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 only, as - * published by the Free Software Foundation. - * - * This code 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 General Public License - * version 2 for more details (a copy is included in the LICENSE file that - * accompanied this code). - * - * You should have received a copy of the GNU General Public License version - * 2 along with this work; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - * - * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA - * or visit www.oracle.com if you need additional information or have any - * questions. - */ -package examples; - - -public class HelloWorld { - public static void main(String[] args) { - new HelloWorld(args).greet(); - } - - public HelloWorld(String[] args) { - name = args.length == 0 ? "world" : args[0]; - } - - public String name; - - public String getName() { - return name; - } - - public void greet() { - System.out.println("hello " + getName() + "!"); - } -}
--- a/mx/projects Fri Sep 07 16:01:20 2012 +0200 +++ b/mx/projects Fri Sep 07 16:08:23 2012 +0200 @@ -192,12 +192,6 @@ project@com.oracle.graal.jtt@checkstyle=com.oracle.graal.graph project@com.oracle.graal.jtt@javaCompliance=1.7 -# graal.examples -project@com.oracle.graal.examples@subDir=graal -project@com.oracle.graal.examples@sourceDirs=src -project@com.oracle.graal.examples@checkstyle=com.oracle.graal.graph -project@com.oracle.graal.examples@javaCompliance=1.7 - # max.asm project@com.oracle.max.asm@subDir=graal project@com.oracle.max.asm@sourceDirs=src