[Monodevelop-patches-list] r2752 - in trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding: . icons templates
Lluis Sanchez <lluis@ximian.com>
lluis at mono-cvs.ximian.com
Thu Aug 18 13:37:32 EDT 2005
Author: lluis
Date: 2005-08-18 13:37:32 -0400 (Thu, 18 Aug 2005)
New Revision: 2752
Added:
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.File.EmptyFile
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.File.Form
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.File.FullFile
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.File.NewClass
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.File.WebFile
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.FileIcon
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.DOSProject
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.EmptyProject
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.Form
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.FullProject
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.Library
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.ServiceProject
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.UserControl
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.WebProject
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.ProjectIcon
Modified:
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/ChangeLog
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/Makefile.am
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/VBNetBinding.addin.xml
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/templates/EmptyVBFile.xft.xml
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/templates/EmptyVBProject.xpt.xml
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/templates/VBConsoleApplicationProject.xpt.xml
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/templates/VBGtkSharp2Project.xpt.xml
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/templates/VBGtkSharpProject.xpt.xml
Log:
2005-08-12 Lluis Sanchez Gual <lluis at novell.com>
* templates/*:
* VBNetBinding.addin.xml: Properly reference resource icons and
templates.
* Makefile.am: Embed icon and templates as resources.
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/ChangeLog 2005-08-18 17:37:05 UTC (rev 2751)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/ChangeLog 2005-08-18 17:37:32 UTC (rev 2752)
@@ -1,3 +1,10 @@
+2005-08-12 Lluis Sanchez Gual <lluis at novell.com>
+
+ * templates/*:
+ * VBNetBinding.addin.xml: Properly reference resource icons and
+ templates.
+ * Makefile.am: Embed icon and templates as resources.
+
2005-08-09 Lluis Sanchez Gual <lluis at novell.com>
* Parser/Resolver.cs:
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/Makefile.am
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/Makefile.am 2005-08-18 17:37:05 UTC (rev 2751)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/Makefile.am 2005-08-18 17:37:32 UTC (rev 2752)
@@ -39,50 +39,51 @@
Parser/SharpDevelopTree/ReturnType.cs \
Project/VBCompilerParameters.cs
-TEMPLATES = \
+RES = \
+VB.glade \
templates/EmptyVBFile.xft.xml \
templates/EmptyVBProject.xpt.xml \
templates/VBConsoleApplicationProject.xpt.xml \
templates/VBGtkSharpProject.xpt.xml \
-templates/VBGtkSharp2Project.xpt.xml
+templates/VBGtkSharp2Project.xpt.xml \
+icons/VB.File.EmptyFile \
+icons/VB.File.Form \
+icons/VB.File.FullFile \
+icons/VB.FileIcon \
+icons/VB.File.NewClass \
+icons/VB.File.WebFile \
+icons/VB.Project.DOSProject \
+icons/VB.Project.EmptyProject \
+icons/VB.Project.Form \
+icons/VB.Project.FullProject \
+icons/VB.ProjectIcon \
+icons/VB.Project.Library \
+icons/VB.Project.ServiceProject \
+icons/VB.Project.UserControl \
+icons/VB.Project.WebProject
ADDIN = VBNetBinding.addin.xml
-TEMPLATES_DIR = $(ADDIN_BUILD)/templates
+all: $(ASSEMBLY) $(ADDIN_BUILD)/$(ADDIN)
-build_TEMPLATES = $(addprefix $(TEMPLATES_DIR)/, $(notdir $(TEMPLATES)))
-
-all: $(ASSEMBLY) $(ADDIN_BUILD)/$(ADDIN) $(build_TEMPLATES)
-
-$(filter %.xpt.xml, $(build_TEMPLATES)): $(TEMPLATES_DIR)/%.xpt.xml: $(srcdir)/templates/%.xpt.xml
- mkdir -p $(TEMPLATES_DIR)
- cp $(srcdir)/templates/$(notdir $@) $@
-
-$(filter %.xft.xml, $(build_TEMPLATES)): $(TEMPLATES_DIR)/%.xft.xml: $(srcdir)/templates/%.xft.xml
- mkdir -p $(TEMPLATES_DIR)
- cp $(srcdir)/templates/$(notdir $@) $@
-
$(ADDIN_BUILD)/$(ADDIN): $(srcdir)/$(ADDIN)
mkdir -p $(ADDIN_BUILD)
cp $(srcdir)/$(ADDIN) $(ADDIN_BUILD)/.
-$(ASSEMBLY): $(build_sources) $(srcdir)/VB.glade
+$(ASSEMBLY): $(build_sources) $(RES)
mkdir -p $(ADDIN_BUILD)
cd SharpRefactoryVB && $(MAKE)
$(CSC) $(CSC_FLAGS) -out:$@ -target:library $(DLLS) \
- -resource:$(srcdir)/VB.glade,VB.glade \
+ $(RES:%=/resource:%) \
$(build_sources)
vbnetbindinglibdir = $(MD_ADDIN_DIR)/BackendBindings
vbnetbindinglib_DATA = $(ASSEMBLY) $(ADDIN)
-templatesdir = $(vbnetbindinglibdir)/templates/
-templates_DATA = $(TEMPLATES)
-
CLEANFILES = $(ASSEMBLY) $(ASSEMBLY).mdb
DISTCLEANFILES =
-EXTRA_DIST = $(FILES) VB.glade $(ADDIN) $(TEMPLATES)
+EXTRA_DIST = $(FILES) $(ADDIN) $(RES)
include $(top_srcdir)/Makefile.include
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/VBNetBinding.addin.xml
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/VBNetBinding.addin.xml 2005-08-18 17:37:05 UTC (rev 2751)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/VBNetBinding.addin.xml 2005-08-18 17:37:32 UTC (rev 2752)
@@ -17,19 +17,14 @@
</Extension>
<Extension path = "/MonoDevelop/FileTemplates">
- <FileTemplate id = "EmptyVBFile"
- location = "templates/EmptyVBFile.xft.xml"/>
+ <FileTemplate id = "EmptyVBFile" resource = "EmptyVBFile.xft.xml"/>
</Extension>
<Extension path = "/MonoDevelop/ProjectTemplates">
- <ProjectTemplate id = "EmptyVBProject"
- location = "templates/EmptyVBProject.xpt.xml"/>
- <ProjectTemplate id = "VBConsoleApplicationProject"
- location = "templates/VBConsoleApplicationProject.xpt.xml"/>
- <ProjectTemplate id = "VBGtkSharpProject"
- location = "templates/VBGtkSharpProject.xpt.xml"/>
- <ProjectTemplate id = "VBGtkSharp2Project"
- location = "templates/VBGtkSharp2Project.xpt.xml"/>
+ <ProjectTemplate id = "EmptyVBProject" resource = "EmptyVBProject.xpt.xml"/>
+ <ProjectTemplate id = "VBConsoleApplicationProject" resource = "VBConsoleApplicationProject.xpt.xml"/>
+ <ProjectTemplate id = "VBGtkSharpProject" resource = "VBGtkSharpProject.xpt.xml"/>
+ <ProjectTemplate id = "VBGtkSharp2Project" resource = "VBGtkSharp2Project.xpt.xml"/>
</Extension>
<Extension path = "/Workspace/Parser">
@@ -65,10 +60,10 @@
<Extension path = "/Workspace/Icons">
<Icon id = "VBPrj"
language = "VBNet"
- resource = "VB.ProjectIcon"/>
+ resource = "res:VB.ProjectIcon"/>
<Icon id = "VBFile"
extensions = ".vb"
- resource = "VB.FileIcon"/>
+ resource = "res:VB.FileIcon"/>
</Extension>
<!-- <Extension path = "/AddIns/DefaultTextEditor/Formatter">
@@ -82,4 +77,5 @@
supportedextensions = ".vb"
class = "VBBinding.VBLanguageBinding" />
</Extension>
+
</AddIn>
Added: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.File.EmptyFile
===================================================================
(Binary files differ)
Property changes on: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.File.EmptyFile
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.File.Form
===================================================================
(Binary files differ)
Property changes on: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.File.Form
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.File.FullFile
===================================================================
(Binary files differ)
Property changes on: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.File.FullFile
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.File.NewClass
===================================================================
(Binary files differ)
Property changes on: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.File.NewClass
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.File.WebFile
===================================================================
(Binary files differ)
Property changes on: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.File.WebFile
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.FileIcon
===================================================================
(Binary files differ)
Property changes on: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.FileIcon
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.DOSProject
===================================================================
(Binary files differ)
Property changes on: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.DOSProject
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.EmptyProject
===================================================================
(Binary files differ)
Property changes on: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.EmptyProject
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.Form
===================================================================
(Binary files differ)
Property changes on: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.Form
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.FullProject
===================================================================
(Binary files differ)
Property changes on: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.FullProject
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.Library
===================================================================
(Binary files differ)
Property changes on: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.Library
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.ServiceProject
===================================================================
(Binary files differ)
Property changes on: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.ServiceProject
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.UserControl
===================================================================
(Binary files differ)
Property changes on: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.UserControl
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.WebProject
===================================================================
(Binary files differ)
Property changes on: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.Project.WebProject
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.ProjectIcon
===================================================================
(Binary files differ)
Property changes on: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/icons/VB.ProjectIcon
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/templates/EmptyVBFile.xft.xml
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/templates/EmptyVBFile.xft.xml 2005-08-18 17:37:05 UTC (rev 2751)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/templates/EmptyVBFile.xft.xml 2005-08-18 17:37:32 UTC (rev 2752)
@@ -3,7 +3,7 @@
<TemplateConfiguration>
<_Name>Empty File</_Name>
- <Icon>VB.File.EmptyFile</Icon>
+ <Icon>res:VB.File.EmptyFile</Icon>
<Category>VBNet</Category>
<LanguageName>VBNet</LanguageName>
<_Description>Creates an empty VB.Net file.</_Description>
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/templates/EmptyVBProject.xpt.xml
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/templates/EmptyVBProject.xpt.xml 2005-08-18 17:37:05 UTC (rev 2751)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/templates/EmptyVBProject.xpt.xml 2005-08-18 17:37:32 UTC (rev 2752)
@@ -7,7 +7,7 @@
<TemplateConfiguration>
<_Name>Empty Project</_Name>
<Category>VBNet</Category>
- <Icon>VB.Project.EmptyProject</Icon>
+ <Icon>res:VB.Project.EmptyProject</Icon>
<LanguageName>VBNet</LanguageName>
<_Description>Creates an empty VB.Net solution.</_Description>
</TemplateConfiguration>
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/templates/VBConsoleApplicationProject.xpt.xml
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/templates/VBConsoleApplicationProject.xpt.xml 2005-08-18 17:37:05 UTC (rev 2751)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/templates/VBConsoleApplicationProject.xpt.xml 2005-08-18 17:37:32 UTC (rev 2752)
@@ -7,7 +7,7 @@
<TemplateConfiguration>
<_Name>Console Project</_Name>
<Category>VBNet</Category>
- <Icon>VB.Project.DOSProject</Icon>
+ <Icon>res:VB.Project.DOSProject</Icon>
<LanguageName>VBNet</LanguageName>
<_Description>Create a console VB.Net project</_Description>
</TemplateConfiguration>
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/templates/VBGtkSharp2Project.xpt.xml
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/templates/VBGtkSharp2Project.xpt.xml 2005-08-18 17:37:05 UTC (rev 2751)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/templates/VBGtkSharp2Project.xpt.xml 2005-08-18 17:37:32 UTC (rev 2752)
@@ -7,7 +7,7 @@
<TemplateConfiguration>
<_Name>Gtk# 2.0 Project</_Name>
<Category>VBNet</Category>
- <Icon>VB.Project.Form</Icon>
+ <Icon>res:VB.Project.Form</Icon>
<LanguageName>VBNet</LanguageName>
<_Description>Creates a VB.NET Gtk# 2.0 project.</_Description>
</TemplateConfiguration>
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/templates/VBGtkSharpProject.xpt.xml
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/templates/VBGtkSharpProject.xpt.xml 2005-08-18 17:37:05 UTC (rev 2751)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/VBNetBinding/templates/VBGtkSharpProject.xpt.xml 2005-08-18 17:37:32 UTC (rev 2752)
@@ -7,7 +7,7 @@
<TemplateConfiguration>
<_Name>Gtk# Project</_Name>
<Category>VBNet</Category>
- <Icon>VB.Project.Form</Icon>
+ <Icon>res:VB.Project.Form</Icon>
<LanguageName>VBNet</LanguageName>
<_Description>Creates a VB.NET Gtk# project.</_Description>
</TemplateConfiguration>
More information about the Monodevelop-patches-list
mailing list