# HG changeset patch # User Thomas Wuerthinger # Date 1339413675 -7200 # Node ID deec44b74cfb89d3ae6e0a47caaf8121ca6afa86 # Parent 525cff3d90267a688e2c2b0d93445860907282aa Added skeleton for new graal.boot and graal.boot.test projects. diff -r 525cff3d9026 -r deec44b74cfb graal/com.oracle.graal.boot.test/src/com/oracle/graal/boot/HelloWorldTest.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/graal/com.oracle.graal.boot.test/src/com/oracle/graal/boot/HelloWorldTest.java Mon Jun 11 13:21:15 2012 +0200 @@ -0,0 +1,28 @@ +/* + * 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 com.oracle.graal.boot; + + +public class HelloWorldTest { + +} diff -r 525cff3d9026 -r deec44b74cfb graal/com.oracle.graal.boot.test/src/com/oracle/graal/boot/test/helloworld/HelloWorldTestProgram.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/graal/com.oracle.graal.boot.test/src/com/oracle/graal/boot/test/helloworld/HelloWorldTestProgram.java Mon Jun 11 13:21:15 2012 +0200 @@ -0,0 +1,30 @@ +/* + * 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 com.oracle.graal.boot.test.helloworld; + + +public class HelloWorldTestProgram { + public static void main(String[] args) { + System.out.println("Hello world!"); + } +} diff -r 525cff3d9026 -r deec44b74cfb graal/com.oracle.graal.boot/src/com/oracle/graal/boot/BootImageGenerator.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/graal/com.oracle.graal.boot/src/com/oracle/graal/boot/BootImageGenerator.java Mon Jun 11 13:21:15 2012 +0200 @@ -0,0 +1,28 @@ +/* + * 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 com.oracle.graal.boot; + + +public class BootImageGenerator { + +} diff -r 525cff3d9026 -r deec44b74cfb mx/projects --- a/mx/projects Sun Jun 10 21:03:15 2012 +0200 +++ b/mx/projects Mon Jun 11 13:21:15 2012 +0200 @@ -130,6 +130,20 @@ project@com.oracle.graal.compiler@checkstyle=com.oracle.graal.graph project@com.oracle.graal.compiler@javaCompliance=1.7 +# graal.boot +project@com.oracle.graal.boot@subDir=graal +project@com.oracle.graal.boot@sourceDirs=src +project@com.oracle.graal.boot@dependencies=com.oracle.graal.compiler,com.oracle.graal.api.meta +project@com.oracle.graal.boot@checkstyle=com.oracle.graal.graph +project@com.oracle.graal.boot@javaCompliance=1.7 + +# graal.boot.test +project@com.oracle.graal.boot.test@subDir=graal +project@com.oracle.graal.boot.test@sourceDirs=src +project@com.oracle.graal.boot.test@dependencies=JUNIT,com.oracle.graal.boot +project@com.oracle.graal.boot.test@checkstyle=com.oracle.graal.graph +project@com.oracle.graal.boot.test@javaCompliance=1.7 + # graal.java project@com.oracle.graal.java@subDir=graal project@com.oracle.graal.java@sourceDirs=src