diff options
author | Lluis Sanchez <lluis@novell.com> | 2008-06-25 21:04:59 +0400 |
---|---|---|
committer | Lluis Sanchez <lluis@novell.com> | 2008-06-25 21:04:59 +0400 |
commit | 15128f7742a8b62d4afa2648d0e56349a52b56ac (patch) | |
tree | 9cf2b13b940d19dda3c8d79c540cf97f04148392 | |
parent | c5197a73efa8858f3984f8e0b5e012363df4b82f (diff) | |
parent | 72356c8e519ed3216b0f032bdb608b6b05e255fb (diff) |
2008-06-25 Lluis Sanchez Gual <lluis@novell.com> JavaBinding-1.9
* JavaBinding.make, md1format.xml, JavaBinding.addin.xml,
JavaBinding.mdp, Project/JavaCompilerParameters.cs: Add support for
msbuild format.
svn path=/branches/monodevelop/extras/JavaBinding/1.9/; revision=106579
-rw-r--r-- | extras/JavaBinding/ChangeLog | 6 | ||||
-rw-r--r-- | extras/JavaBinding/JavaBinding.addin.xml | 11 | ||||
-rw-r--r-- | extras/JavaBinding/JavaBinding.make | 1 | ||||
-rw-r--r-- | extras/JavaBinding/JavaBinding.mdp | 1 | ||||
-rw-r--r-- | extras/JavaBinding/Project/JavaCompilerParameters.cs | 16 | ||||
-rw-r--r-- | extras/JavaBinding/md1format.xml | 12 |
6 files changed, 39 insertions, 8 deletions
diff --git a/extras/JavaBinding/ChangeLog b/extras/JavaBinding/ChangeLog index a7f38d4cf1..b721f7cab8 100644 --- a/extras/JavaBinding/ChangeLog +++ b/extras/JavaBinding/ChangeLog @@ -1,3 +1,9 @@ +2008-06-25 Lluis Sanchez Gual <lluis@novell.com> + + * JavaBinding.make, md1format.xml, JavaBinding.addin.xml, + JavaBinding.mdp, Project/JavaCompilerParameters.cs: Add support for + msbuild format. + 2008-06-04 Lluis Sanchez Gual <lluis@novell.com> * configure, JavaBinding.addin.xml: Bump MD version. diff --git a/extras/JavaBinding/JavaBinding.addin.xml b/extras/JavaBinding/JavaBinding.addin.xml index 24bc7303ac..8850b9b64b 100644 --- a/extras/JavaBinding/JavaBinding.addin.xml +++ b/extras/JavaBinding/JavaBinding.addin.xml @@ -94,4 +94,15 @@ <StockIcon stockid = "md-java" resource = "java-22.png" /> </Extension> + <Extension path = "/MonoDevelop/ProjectModel/MSBuildItemTypes"> + <DotNetProject + language="Java" + extension="jproj" + guid="{270db560-42d5-11dd-ae16-0800200c9a66}" /> + </Extension> + + <Extension path = "/MonoDevelop/ProjectModel/MD1SerializationMaps"> + <SerializationMap resource="md1format.xml" /> + </Extension> + </Addin> diff --git a/extras/JavaBinding/JavaBinding.make b/extras/JavaBinding/JavaBinding.make index cfb0022320..a0b39bbea3 100644 --- a/extras/JavaBinding/JavaBinding.make +++ b/extras/JavaBinding/JavaBinding.make @@ -62,6 +62,7 @@ RESOURCES = \ icons/java-22.png \ icons/java-icon-32.png \ JavaBinding.addin.xml \ + md1format.xml \ templates/EmptyJavaFile.xft.xml \ templates/EmptyJavaProject.xpt.xml \ templates/IkvmConsoleApplicationProject.xpt.xml \ diff --git a/extras/JavaBinding/JavaBinding.mdp b/extras/JavaBinding/JavaBinding.mdp index f2f1855ad9..bca2b3b426 100644 --- a/extras/JavaBinding/JavaBinding.mdp +++ b/extras/JavaBinding/JavaBinding.mdp @@ -44,6 +44,7 @@ <File name="IKVMCompilerManager.cs" subtype="Code" buildaction="Compile" /> <File name="icons/java-16.png" subtype="Code" buildaction="EmbedAsResource" /> <File name="icons/java-22.png" subtype="Code" buildaction="EmbedAsResource" /> + <File name="md1format.xml" subtype="Code" buildaction="EmbedAsResource" /> </Contents> <References> <ProjectReference type="Gac" localcopy="False" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> diff --git a/extras/JavaBinding/Project/JavaCompilerParameters.cs b/extras/JavaBinding/Project/JavaCompilerParameters.cs index 27e491def2..efb6693a9a 100644 --- a/extras/JavaBinding/Project/JavaCompilerParameters.cs +++ b/extras/JavaBinding/Project/JavaCompilerParameters.cs @@ -32,28 +32,28 @@ namespace JavaBinding /// </summary> public class JavaCompilerParameters: ICloneable { - [ItemProperty("deprecation")] + [ItemProperty("Deprecation", DefaultValue=true)] bool deprecation = true; - [ItemProperty("optimize")] + [ItemProperty("Optimize", DefaultValue=true)] bool optimize = true; - [ItemProperty("mainclass")] + [ItemProperty("MainClass", DefaultValue=null)] string mainclass = null; - [ItemProperty("definesymbols")] + [ItemProperty("DefineSymbols", DefaultValue="")] string definesymbols = String.Empty; - [ItemProperty("classpath")] + [ItemProperty("ClassPath", DefaultValue="")] string classpath = String.Empty; - [ItemProperty ("compiler")] + [ItemProperty ("Compiler", DefaultValue=JavaCompiler.Gcj)] JavaCompiler compiler = JavaCompiler.Gcj; - [ItemProperty("compilerpath")] + [ItemProperty("CompilerPath", DefaultValue="gcj")] string compilerpath = "gcj"; - [ItemProperty("genwarnings")] + [ItemProperty("GenWarnings", DefaultValue=false)] bool genwarnings = false; public object Clone () diff --git a/extras/JavaBinding/md1format.xml b/extras/JavaBinding/md1format.xml new file mode 100644 index 0000000000..2b8a2c18ca --- /dev/null +++ b/extras/JavaBinding/md1format.xml @@ -0,0 +1,12 @@ +<SerializationMap> + <DataItem class = "JavaBinding.JavaCompilerParameters"> + <ItemProperty member="deprecation"/> + <ItemProperty member="optimize"/> + <ItemProperty member="mainclass" /> + <ItemProperty member="definesymbols" /> + <ItemProperty member="classpath" /> + <ItemProperty member="compiler" /> + <ItemProperty member="compilerpath" /> + <ItemProperty member="genwarnings" /> + </DataItem> +</SerializationMap>
\ No newline at end of file |