[Monodevelop-patches-list] r1397 - trunk/MonoDevelop/build/data/templates/project/Java
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Tue Apr 6 13:58:40 EDT 2004
Author: jluke
Date: 2004-04-06 13:58:40 -0400 (Tue, 06 Apr 2004)
New Revision: 1397
Added:
trunk/MonoDevelop/build/data/templates/project/Java/IkvmConsoleApplicationProject.xpt
trunk/MonoDevelop/build/data/templates/project/Java/IkvmGladeApplicationProject.xpt
trunk/MonoDevelop/build/data/templates/project/Java/IkvmGnomeApplicationProject.xpt
trunk/MonoDevelop/build/data/templates/project/Java/IkvmGtkApplicationProject.xpt
Modified:
trunk/MonoDevelop/build/data/templates/project/Java/JavaApplicationProject.xpt
trunk/MonoDevelop/build/data/templates/project/Java/JavaConsoleApplicationProject.xpt
trunk/MonoDevelop/build/data/templates/project/Java/Makefile.am
Log:
add and update these so they work with mono and ikvm.net
remove the awt one as it won't work
Added: trunk/MonoDevelop/build/data/templates/project/Java/IkvmConsoleApplicationProject.xpt
===================================================================
--- trunk/MonoDevelop/build/data/templates/project/Java/IkvmConsoleApplicationProject.xpt 2004-04-06 05:58:42 UTC (rev 1396)
+++ trunk/MonoDevelop/build/data/templates/project/Java/IkvmConsoleApplicationProject.xpt 2004-04-06 17:58:40 UTC (rev 1397)
@@ -0,0 +1,47 @@
+<?xml version="1.0"?>
+<Template originator = "John Luke"
+ created = "04/06/2004"
+ lastModified = "04/06/2004">
+
+ <!-- Template Header -->
+ <TemplateConfiguration>
+ <Name>IKVM Console Project</Name>
+ <Category>Java</Category>
+ <Icon>Java.Project.DOSProject</Icon>
+ <LanguageName>Java</LanguageName>
+ <Description>Create a console Java project with IKVM</Description>
+ </TemplateConfiguration>
+
+ <!-- Actions -->
+ <Actions>
+ <Open filename = "application.java"/>
+ </Actions>
+
+ <!-- Template Content -->
+ <Combine name = "${ProjectName}" directory = ".">
+ <Options>
+ <StartupProject>${ProjectName}</StartupProject>
+ </Options>
+
+ <Project name = "${ProjectName}" directory = ".">
+ <!-- FIXME: remove path to jar -->
+ <Options Target = "Class" PauseConsoleOutput = "False" ClassPath = "/usr/lib/mscorlib.jar:." MainClass ="application" />
+
+ <Files>
+ <File name = "application.java">
+<![CDATA[/*
+ * application.java
+ *
+ * created on ${Date} at ${Time}
+ */
+import cli.System.*;
+
+public class application {
+ public static void main(java.lang.String[] args) {
+ Console.WriteLine ("Hello, World!");
+ }
+}]]></File>
+ </Files>
+ </Project>
+ </Combine>
+</Template>
Added: trunk/MonoDevelop/build/data/templates/project/Java/IkvmGladeApplicationProject.xpt
===================================================================
--- trunk/MonoDevelop/build/data/templates/project/Java/IkvmGladeApplicationProject.xpt 2004-04-06 05:58:42 UTC (rev 1396)
+++ trunk/MonoDevelop/build/data/templates/project/Java/IkvmGladeApplicationProject.xpt 2004-04-06 17:58:40 UTC (rev 1397)
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+<Template originator = "John Luke"
+ created = "04/06/2004"
+ lastModified = "04/06/2004">
+
+ <!-- Template Header -->
+ <TemplateConfiguration>
+ <Name>IKVM Glade# Project</Name>
+ <Category>Java</Category>
+ <Icon>Java.Project.DOSProject</Icon>
+ <LanguageName>Java</LanguageName>
+ <Description>Create a Glade# Java project with IKVM</Description>
+ </TemplateConfiguration>
+
+ <!-- Actions -->
+ <Actions>
+ <Open filename = "application.java"/>
+ </Actions>
+
+ <!-- Template Content -->
+ <Combine name = "${ProjectName}" directory = ".">
+ <Options>
+ <StartupProject>${ProjectName}</StartupProject>
+ </Options>
+
+ <Project name = "${ProjectName}" directory = ".">
+ <!-- FIXME: do not hardcode these -->
+ <Options Target = "Class" PauseConsoleOutput = "False" ClassPath = "/usr/lib/gtk-sharp.jar:/usr/lib/glade-sharp.jar:/usr/lib/glib-sharp.jar:/usr/lib/atk-sharp.jar:/usr/lib/mscorlib.jar:." MainClass ="application" />
+
+ <Files>
+ <File name = "application.java">
+<![CDATA[/*
+ * application.java
+ *
+ * created on ${Date} at ${Time}
+ */
+import cli.Gtk.*;
+import cli.Glade.*;
+
+public class application {
+ public static void main (String[] args) {
+ Application.Init ();
+ Window w = new Window ("Hello Mono with Java#");
+ Button b = new Button ("Click me");
+ w.Add (b);
+ w.ShowAll ();
+ Application.Run ();
+ }
+}]]></File>
+ </Files>
+ </Project>
+ </Combine>
+</Template>
Added: trunk/MonoDevelop/build/data/templates/project/Java/IkvmGnomeApplicationProject.xpt
===================================================================
--- trunk/MonoDevelop/build/data/templates/project/Java/IkvmGnomeApplicationProject.xpt 2004-04-06 05:58:42 UTC (rev 1396)
+++ trunk/MonoDevelop/build/data/templates/project/Java/IkvmGnomeApplicationProject.xpt 2004-04-06 17:58:40 UTC (rev 1397)
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+<Template originator = "John Luke"
+ created = "04/06/2004"
+ lastModified = "04/06/2004">
+
+ <!-- Template Header -->
+ <TemplateConfiguration>
+ <Name>IKVM Gnome# Project</Name>
+ <Category>Java</Category>
+ <Icon>Java.Project.DOSProject</Icon>
+ <LanguageName>Java</LanguageName>
+ <Description>Create a Gnome# Java project with IKVM</Description>
+ </TemplateConfiguration>
+
+ <!-- Actions -->
+ <Actions>
+ <Open filename = "application.java"/>
+ </Actions>
+
+ <!-- Template Content -->
+ <Combine name = "${ProjectName}" directory = ".">
+ <Options>
+ <StartupProject>${ProjectName}</StartupProject>
+ </Options>
+
+ <Project name = "${ProjectName}" directory = ".">
+ <!-- FIXME: do not hardcode these -->
+ <Options Target = "Class" PauseConsoleOutput = "False" ClassPath = "/usr/lib/gnome-sharp.jar:/usr/lib/gtk-sharp.jar:/usr/lib/glib-sharp.jar:/usr/lib/atk-sharp.jar:/usr/lib/mscorlib.jar:." MainClass ="application" />
+
+ <Files>
+ <File name = "application.java">
+<![CDATA[/*
+ * application.java
+ *
+ * created on ${Date} at ${Time}
+ */
+import cli.Gnome.*;
+import cli.Gtk.*;
+
+public class application {
+ public static void main (String[] args) {
+ Program p = new Program ("Name", "0.0", Modules.UI, args);
+ App app = new App ("Hello Mono with Java#", "0.0");
+ Button b = new Button ("Click me");
+ app.Add (b);
+ app.ShowAll ();
+ p.Run ();
+ }
+}]]></File>
+ </Files>
+ </Project>
+ </Combine>
+</Template>
Added: trunk/MonoDevelop/build/data/templates/project/Java/IkvmGtkApplicationProject.xpt
===================================================================
--- trunk/MonoDevelop/build/data/templates/project/Java/IkvmGtkApplicationProject.xpt 2004-04-06 05:58:42 UTC (rev 1396)
+++ trunk/MonoDevelop/build/data/templates/project/Java/IkvmGtkApplicationProject.xpt 2004-04-06 17:58:40 UTC (rev 1397)
@@ -0,0 +1,52 @@
+<?xml version="1.0"?>
+<Template originator = "John Luke"
+ created = "04/06/2004"
+ lastModified = "04/06/2004">
+
+ <!-- Template Header -->
+ <TemplateConfiguration>
+ <Name>IKVM Gtk# Project</Name>
+ <Category>Java</Category>
+ <Icon>Java.Project.DOSProject</Icon>
+ <LanguageName>Java</LanguageName>
+ <Description>Create a Gtk# Java project with IKVM</Description>
+ </TemplateConfiguration>
+
+ <!-- Actions -->
+ <Actions>
+ <Open filename = "application.java"/>
+ </Actions>
+
+ <!-- Template Content -->
+ <Combine name = "${ProjectName}" directory = ".">
+ <Options>
+ <StartupProject>${ProjectName}</StartupProject>
+ </Options>
+
+ <Project name = "${ProjectName}" directory = ".">
+ <!-- FIXME: do not hardcode these -->
+ <Options Target = "Class" PauseConsoleOutput = "False" ClassPath = "/usr/lib/gtk-sharp.jar:/usr/lib/glib-sharp.jar:/usr/lib/atk-sharp.jar:/usr/lib/mscorlib.jar:." MainClass ="application" />
+
+ <Files>
+ <File name = "application.java">
+<![CDATA[/*
+ * application.java
+ *
+ * created on ${Date} at ${Time}
+ */
+import cli.Gtk.*;
+
+public class application {
+ public static void main (String[] args) {
+ Application.Init ();
+ Window w = new Window ("Hello Mono with Java#");
+ Button b = new Button ("Click me");
+ w.Add (b);
+ w.ShowAll ();
+ Application.Run ();
+ }
+}]]></File>
+ </Files>
+ </Project>
+ </Combine>
+</Template>
Modified: trunk/MonoDevelop/build/data/templates/project/Java/JavaApplicationProject.xpt
===================================================================
--- trunk/MonoDevelop/build/data/templates/project/Java/JavaApplicationProject.xpt 2004-04-06 05:58:42 UTC (rev 1396)
+++ trunk/MonoDevelop/build/data/templates/project/Java/JavaApplicationProject.xpt 2004-04-06 17:58:40 UTC (rev 1397)
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<Template originator = "Gary Gray"
created = "09/05/2001"
- lastModified = "02/01/2003">
+ lastModified = "04/06/2004">
<!-- Template Header -->
<TemplateConfiguration>
@@ -24,7 +24,7 @@
</Options>
<Project name = "${ProjectName}" directory = ".">
- <Options Target = "Class" PauseConsoleOutput = "False" ClassPath = "abc" MainClass ="application" />
+ <Options Target = "Class" PauseConsoleOutput = "False" ClassPath = "" MainClass ="application" />
<Files>
<File name = "application.java">
Modified: trunk/MonoDevelop/build/data/templates/project/Java/JavaConsoleApplicationProject.xpt
===================================================================
--- trunk/MonoDevelop/build/data/templates/project/Java/JavaConsoleApplicationProject.xpt 2004-04-06 05:58:42 UTC (rev 1396)
+++ trunk/MonoDevelop/build/data/templates/project/Java/JavaConsoleApplicationProject.xpt 2004-04-06 17:58:40 UTC (rev 1397)
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<Template originator = "Shinsaku Nakagawa"
created = "03/27/2003"
- lastModified = "03/27/2003">
+ lastModified = "04/06/2004">
<!-- Template Header -->
<TemplateConfiguration>
@@ -24,7 +24,7 @@
</Options>
<Project name = "${ProjectName}" directory = ".">
- <Options Target = "Class" PauseConsoleOutput = "False" ClassPath = "abc" MainClass ="application" />
+ <Options Target = "Class" PauseConsoleOutput = "False" ClassPath = "" MainClass ="application" />
<Files>
<File name = "application.java">
Modified: trunk/MonoDevelop/build/data/templates/project/Java/Makefile.am
===================================================================
--- trunk/MonoDevelop/build/data/templates/project/Java/Makefile.am 2004-04-06 05:58:42 UTC (rev 1396)
+++ trunk/MonoDevelop/build/data/templates/project/Java/Makefile.am 2004-04-06 17:58:40 UTC (rev 1397)
@@ -3,8 +3,9 @@
javatemplatedir = $(monodevelopdir)/data/templates/project/Java
javatemplate_DATA = EmptyJavaProject.xpt \
- JavaConsoleApplicationProject.xpt \
- JavaApplicationProject.xpt
+ IkvmConsoleApplicationProject.xpt \
+ IkvmGtkApplicationProject.xpt \
+ JavaConsoleApplicationProject.xpt
all:
More information about the Monodevelop-patches-list
mailing list