You are viewing a plain text version of this content. The canonical link for it is here.
Posted to nmaven-commits@incubator.apache.org by br...@apache.org on 2008/06/30 12:54:03 UTC
svn commit: r672753 [8/9] - in /incubator/nmaven/branches/NMAVEN_0.14:
archetypes/maven-archetype-dotnet-simple/src/main/resources/archetype-resources/src/main/csharp/Sample/
archetypes/maven-archetype-dotnet-simple/src/main/resources/archetype-resourc...
Modified: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.ProjectWizard/src/main/csharp/ArchetypeProjectForm.resx
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.ProjectWizard/src/main/csharp/ArchetypeProjectForm.resx?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.ProjectWizard/src/main/csharp/ArchetypeProjectForm.resx (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.ProjectWizard/src/main/csharp/ArchetypeProjectForm.resx Mon Jun 30 05:54:00 2008
@@ -1,120 +1,120 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
- <!--
- Microsoft ResX Schema
-
- Version 2.0
-
- The primary goals of this format is to allow a simple XML format
- that is mostly human readable. The generation and parsing of the
- various data types are done through the TypeConverter classes
- associated with the data types.
-
- Example:
-
- ... ado.net/XML headers & schema ...
- <resheader name="resmimetype">text/microsoft-resx</resheader>
- <resheader name="version">2.0</resheader>
- <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
- <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
- <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
- <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
- <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
- <value>[base64 mime encoded serialized .NET Framework object]</value>
- </data>
- <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
- <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
- <comment>This is a comment</comment>
- </data>
-
- There are any number of "resheader" rows that contain simple
- name/value pairs.
-
- Each data row contains a name, and value. The row also contains a
- type or mimetype. Type corresponds to a .NET class that support
- text/value conversion through the TypeConverter architecture.
- Classes that don't support this are serialized and stored with the
- mimetype set.
-
- The mimetype is used for serialized objects, and tells the
- ResXResourceReader how to depersist the object. This is currently not
- extensible. For a given mimetype the value must be set accordingly:
-
- Note - application/x-microsoft.net.object.binary.base64 is the format
- that the ResXResourceWriter will generate, however the reader can
- read any of the formats listed below.
-
- mimetype: application/x-microsoft.net.object.binary.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.soap.base64
- value : The object must be serialized with
- : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
- : and then encoded with base64 encoding.
-
- mimetype: application/x-microsoft.net.object.bytearray.base64
- value : The object must be serialized into a byte array
- : using a System.ComponentModel.TypeConverter
- : and then encoded with base64 encoding.
- -->
- <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
- <xsd:element name="root" msdata:IsDataSet="true">
- <xsd:complexType>
- <xsd:choice maxOccurs="unbounded">
- <xsd:element name="metadata">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" />
- </xsd:sequence>
- <xsd:attribute name="name" use="required" type="xsd:string" />
- <xsd:attribute name="type" type="xsd:string" />
- <xsd:attribute name="mimetype" type="xsd:string" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="assembly">
- <xsd:complexType>
- <xsd:attribute name="alias" type="xsd:string" />
- <xsd:attribute name="name" type="xsd:string" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="data">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
- <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
- <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
- <xsd:attribute ref="xml:space" />
- </xsd:complexType>
- </xsd:element>
- <xsd:element name="resheader">
- <xsd:complexType>
- <xsd:sequence>
- <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string" use="required" />
- </xsd:complexType>
- </xsd:element>
- </xsd:choice>
- </xsd:complexType>
- </xsd:element>
- </xsd:schema>
- <resheader name="resmimetype">
- <value>text/microsoft-resx</value>
- </resheader>
- <resheader name="version">
- <value>2.0</value>
- </resheader>
- <resheader name="reader">
- <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
- <resheader name="writer">
- <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
- </resheader>
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 2.0
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">2.0</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+ <comment>This is a comment</comment>
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
</root>
\ No newline at end of file
Propchange: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.ProjectWizard/src/main/csharp/ArchetypeProjectForm.resx
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.ProjectWizard/src/main/csharp/ArchetypeProjectWizard.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.ProjectWizard/src/main/csharp/ArchetypeProjectWizard.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.ProjectWizard/src/main/csharp/ArchetypeProjectWizard.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.ProjectWizard/src/main/csharp/ArchetypeProjectWizard.cs Mon Jun 30 05:54:00 2008
@@ -1,150 +1,150 @@
-#region Apache License, Version 2.0
-//
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
-//
-#endregion
-
-using System;
-using System.Collections.Generic;
-using System.IO;
-using Microsoft.VisualStudio.CommandBars;
-using Microsoft.VisualStudio.TemplateWizard;
-using System.Windows.Forms;
-using EnvDTE;
-using EnvDTE80;
-
-namespace WindowsApplication2
-{
- public class ArchetypeProjectWizard : IWizard
- {
- private ArchetypeProjectForm inputForm;
-
- // This method is called before opening any item that
- // has the OpenInEditor attribute.
- public void BeforeOpeningFile(ProjectItem projectItem)
- {
- }
-
- public void ProjectFinishedGenerating(Project project)
- {
- }
-
- // This method is only called for item templates,
- // not for project templates.
- public void ProjectItemFinishedGenerating(ProjectItem
- projectItem)
- {
- }
-
- // This method is called after the project is created.
- public void RunFinished()
- {
- }
- private OutputWindowPane outputWindowPane;
-
- private void cbShowAddArtifactsForm_Click(CommandBarButton btn, ref bool Cancel)
- {
- outputWindowPane.OutputString("It Works");
- }
-
- public void RunStarted(object automationObject,
- Dictionary<string, string> replacementsDictionary,
- WizardRunKind runKind, object[] customParams)
- {
-
- DTE2 dte2 = (DTE2)automationObject;
- Window win = dte2.Windows.Item(EnvDTE.Constants.vsWindowKindOutput);
- OutputWindow outputWindow = (OutputWindow)win.Object;
- outputWindowPane = outputWindow.OutputWindowPanes.Add("Test");
- outputWindowPane.OutputString("Start");
- CommandBarControl addRef = null;
- foreach (CommandBar commandBar in (CommandBars)dte2.CommandBars)
- {
- outputWindowPane.OutputString("Command Bar = " + commandBar.Name + Environment.NewLine);
- foreach(CommandBarControl control in commandBar.Controls)
- {
- outputWindowPane.OutputString(control.Caption + Environment.NewLine);
- if (control.Caption.Equals("Add &Reference..."))
- {
- addRef = control;
- CommandBarButton ctl = (CommandBarButton)
- commandBar.Controls.Add(MsoControlType.msoControlButton,
- System.Type.Missing, System.Type.Missing, control.Index, true);
- ctl.Click += new _CommandBarButtonEvents_ClickEventHandler(cbShowAddArtifactsForm_Click);
-
- //new _CommandBarButtonEvents_ClickEventHandler(ShowAddArtifactsForm);
- //new ClickEventHandler();
- ctl.Caption = "Add Maven Artifact...";
- ctl.Visible = true;
-
- }
- }
- }
-
-
- // dte2. += new EventHandler(ClearOutputWindowPane);
- // Window solutionExplorerWindow
- // = (Window) dte2.Windows.Item(Constants.vsWindowKindSolutionExplorer);
- // solutionExplorerWindow
- // Window w; UIHierarchy u;
- // UIHierarchyItem i;
- // dte2.Events.
- // ;
- // EnvDTE.s
- // DirectoryInfo projectDirectoryInfo = new FileInfo(dte2.Solution.Projects.Item(1).FullName).Directory;
- // dte2.Solution.Projects.Item(1).SaveAs(projectDirectoryInfo.FullName + @"\src\test.csproj");
-
- try
- {
- // Display a form to the user. The form collects
- // input for the custom message.
- inputForm = new ArchetypeProjectForm();
- String projectName = replacementsDictionary["$projectname$"];
- inputForm.GroupId = (projectName.Contains(".")) ?
- projectName.Substring(0, projectName.LastIndexOf(".")) : projectName;
- inputForm.ArtifactId = projectName;
- inputForm.Version = "0.0.0.0-SNAPSHOT";
-
- inputForm.ShowDialog();
- String projectPath = @"src\main\csharp";
- replacementsDictionary.Add("$artifactId$",
- inputForm.ArtifactId);
- replacementsDictionary.Add("$groupId$",
- inputForm.GroupId);
- replacementsDictionary.Add("$version$",
- inputForm.Version);
- replacementsDictionary.Add("$projectPath$",
- projectPath);
- replacementsDictionary.Add("$classPath$",
- projectPath + @"\" + inputForm.ArtifactId.Replace(".", @"\"));
- }
- catch (Exception ex)
- {
- MessageBox.Show(ex.ToString());
- }
- }
-
- // This method is only called for item templates,
- // not for project templates.
- public bool ShouldAddProjectItem(string filePath)
- {
- return true;
- }
- }
-}
-
+#region Apache License, Version 2.0
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+//
+#endregion
+
+using System;
+using System.Collections.Generic;
+using System.IO;
+using Microsoft.VisualStudio.CommandBars;
+using Microsoft.VisualStudio.TemplateWizard;
+using System.Windows.Forms;
+using EnvDTE;
+using EnvDTE80;
+
+namespace WindowsApplication2
+{
+ public class ArchetypeProjectWizard : IWizard
+ {
+ private ArchetypeProjectForm inputForm;
+
+ // This method is called before opening any item that
+ // has the OpenInEditor attribute.
+ public void BeforeOpeningFile(ProjectItem projectItem)
+ {
+ }
+
+ public void ProjectFinishedGenerating(Project project)
+ {
+ }
+
+ // This method is only called for item templates,
+ // not for project templates.
+ public void ProjectItemFinishedGenerating(ProjectItem
+ projectItem)
+ {
+ }
+
+ // This method is called after the project is created.
+ public void RunFinished()
+ {
+ }
+ private OutputWindowPane outputWindowPane;
+
+ private void cbShowAddArtifactsForm_Click(CommandBarButton btn, ref bool Cancel)
+ {
+ outputWindowPane.OutputString("It Works");
+ }
+
+ public void RunStarted(object automationObject,
+ Dictionary<string, string> replacementsDictionary,
+ WizardRunKind runKind, object[] customParams)
+ {
+
+ DTE2 dte2 = (DTE2)automationObject;
+ Window win = dte2.Windows.Item(EnvDTE.Constants.vsWindowKindOutput);
+ OutputWindow outputWindow = (OutputWindow)win.Object;
+ outputWindowPane = outputWindow.OutputWindowPanes.Add("Test");
+ outputWindowPane.OutputString("Start");
+ CommandBarControl addRef = null;
+ foreach (CommandBar commandBar in (CommandBars)dte2.CommandBars)
+ {
+ outputWindowPane.OutputString("Command Bar = " + commandBar.Name + Environment.NewLine);
+ foreach(CommandBarControl control in commandBar.Controls)
+ {
+ outputWindowPane.OutputString(control.Caption + Environment.NewLine);
+ if (control.Caption.Equals("Add &Reference..."))
+ {
+ addRef = control;
+ CommandBarButton ctl = (CommandBarButton)
+ commandBar.Controls.Add(MsoControlType.msoControlButton,
+ System.Type.Missing, System.Type.Missing, control.Index, true);
+ ctl.Click += new _CommandBarButtonEvents_ClickEventHandler(cbShowAddArtifactsForm_Click);
+
+ //new _CommandBarButtonEvents_ClickEventHandler(ShowAddArtifactsForm);
+ //new ClickEventHandler();
+ ctl.Caption = "Add Maven Artifact...";
+ ctl.Visible = true;
+
+ }
+ }
+ }
+
+
+ // dte2. += new EventHandler(ClearOutputWindowPane);
+ // Window solutionExplorerWindow
+ // = (Window) dte2.Windows.Item(Constants.vsWindowKindSolutionExplorer);
+ // solutionExplorerWindow
+ // Window w; UIHierarchy u;
+ // UIHierarchyItem i;
+ // dte2.Events.
+ // ;
+ // EnvDTE.s
+ // DirectoryInfo projectDirectoryInfo = new FileInfo(dte2.Solution.Projects.Item(1).FullName).Directory;
+ // dte2.Solution.Projects.Item(1).SaveAs(projectDirectoryInfo.FullName + @"\src\test.csproj");
+
+ try
+ {
+ // Display a form to the user. The form collects
+ // input for the custom message.
+ inputForm = new ArchetypeProjectForm();
+ String projectName = replacementsDictionary["$projectname$"];
+ inputForm.GroupId = (projectName.Contains(".")) ?
+ projectName.Substring(0, projectName.LastIndexOf(".")) : projectName;
+ inputForm.ArtifactId = projectName;
+ inputForm.Version = "0.0.0.0-SNAPSHOT";
+
+ inputForm.ShowDialog();
+ String projectPath = @"src\main\csharp";
+ replacementsDictionary.Add("$artifactId$",
+ inputForm.ArtifactId);
+ replacementsDictionary.Add("$groupId$",
+ inputForm.GroupId);
+ replacementsDictionary.Add("$version$",
+ inputForm.Version);
+ replacementsDictionary.Add("$projectPath$",
+ projectPath);
+ replacementsDictionary.Add("$classPath$",
+ projectPath + @"\" + inputForm.ArtifactId.Replace(".", @"\"));
+ }
+ catch (Exception ex)
+ {
+ MessageBox.Show(ex.ToString());
+ }
+ }
+
+ // This method is only called for item templates,
+ // not for project templates.
+ public bool ShouldAddProjectItem(string filePath)
+ {
+ return true;
+ }
+ }
+}
+
Propchange: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.ProjectWizard/src/main/csharp/ArchetypeProjectWizard.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.ProjectWizard/src/main/csharp/Program.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.ProjectWizard/src/main/csharp/Program.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.ProjectWizard/src/main/csharp/Program.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.ProjectWizard/src/main/csharp/Program.cs Mon Jun 30 05:54:00 2008
@@ -1,41 +1,41 @@
-#region Apache License, Version 2.0
-//
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
-//
-#endregion
-
-using System;
-using System.Collections.Generic;
-using System.Windows.Forms;
-
-namespace WindowsApplication2
-{
- static class Program
- {
- /// <summary>
- /// The main entry point for the application.
- /// </summary>
- [STAThread]
- static void Main()
- {
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new ArchetypeProjectForm());
- }
- }
+#region Apache License, Version 2.0
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+//
+#endregion
+
+using System;
+using System.Collections.Generic;
+using System.Windows.Forms;
+
+namespace WindowsApplication2
+{
+ static class Program
+ {
+ /// <summary>
+ /// The main entry point for the application.
+ /// </summary>
+ [STAThread]
+ static void Main()
+ {
+ Application.EnableVisualStyles();
+ Application.SetCompatibleTextRenderingDefault(false);
+ Application.Run(new ArchetypeProjectForm());
+ }
+ }
}
\ No newline at end of file
Propchange: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.ProjectWizard/src/main/csharp/Program.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio/src/main/csharp/NMaven/VisualStudio/Logging/OutputWindowPaneHandler.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio/src/main/csharp/NMaven/VisualStudio/Logging/OutputWindowPaneHandler.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio/src/main/csharp/NMaven/VisualStudio/Logging/OutputWindowPaneHandler.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio/src/main/csharp/NMaven/VisualStudio/Logging/OutputWindowPaneHandler.cs Mon Jun 30 05:54:00 2008
@@ -1,69 +1,69 @@
-#region Apache License, Version 2.0
-//
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
-//
-#endregion
-
-using System;
-using System.Runtime.CompilerServices;
-using EnvDTE;
-using NMaven.Logging;
-
-namespace NMaven.VisualStudio.Logging
-{
- /// <summary>
- /// Description of OutputWindowPaneHandler.
- /// </summary>
- public class OutputWindowPaneHandler : IHandler
- {
- private Level level;
-
- private OutputWindowPane outputWindowPane;
-
- public OutputWindowPaneHandler()
- {
- this.level = Level.INFO;
- }
-
- public void SetOutputWindowPaneHandler(OutputWindowPane outputWindowPane)
- {
- this.outputWindowPane = outputWindowPane;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- public void publish(LogRecord record)
- {
- if(record.GetLevel().GetValue() >= level.GetValue())
- {
- outputWindowPane.OutputString(record.GetMessage().Trim() + Environment.NewLine);
- }
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- public void SetLevel(Level level)
- {
- this.level = level;
- }
-
- [MethodImpl(MethodImplOptions.Synchronized)]
- public Level GetLevel()
- {
- return level;
- }
- }
-}
+#region Apache License, Version 2.0
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+//
+#endregion
+
+using System;
+using System.Runtime.CompilerServices;
+using EnvDTE;
+using NMaven.Logging;
+
+namespace NMaven.VisualStudio.Logging
+{
+ /// <summary>
+ /// Description of OutputWindowPaneHandler.
+ /// </summary>
+ public class OutputWindowPaneHandler : IHandler
+ {
+ private Level level;
+
+ private OutputWindowPane outputWindowPane;
+
+ public OutputWindowPaneHandler()
+ {
+ this.level = Level.INFO;
+ }
+
+ public void SetOutputWindowPaneHandler(OutputWindowPane outputWindowPane)
+ {
+ this.outputWindowPane = outputWindowPane;
+ }
+
+ [MethodImpl(MethodImplOptions.Synchronized)]
+ public void publish(LogRecord record)
+ {
+ if(record.GetLevel().GetValue() >= level.GetValue())
+ {
+ outputWindowPane.OutputString(record.GetMessage().Trim() + Environment.NewLine);
+ }
+ }
+
+ [MethodImpl(MethodImplOptions.Synchronized)]
+ public void SetLevel(Level level)
+ {
+ this.level = level;
+ }
+
+ [MethodImpl(MethodImplOptions.Synchronized)]
+ public Level GetLevel()
+ {
+ return level;
+ }
+ }
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio/src/main/csharp/NMaven/VisualStudio/Logging/OutputWindowPaneHandler.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/nmaven/branches/NMAVEN_0.14/components/dotnet-assembler/src/test/resources/AssemblyInfo.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/issue67-mono/NMaven.Test.Issue67.Application/MarshalClass.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/issue67-mono/NMaven.Test.Issue67.Domain/TestAppDomainManager.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/issue67-mono/NMaven.Test.Issue67.Loader/PluginLoader.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/integration-tests/issue67-mono/NMaven.Test.Issue67.Loader/PluginLoader.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/integration-tests/issue67-mono/NMaven.Test.Issue67.Loader/PluginLoader.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/integration-tests/issue67-mono/NMaven.Test.Issue67.Loader/PluginLoader.cs Mon Jun 30 05:54:00 2008
@@ -28,10 +28,10 @@
setup.ApplicationBase = pluginAssemblyFile.DirectoryName;
AppDomain applicationDomain = AppDomain.CreateDomain("Loader", null, setup);
- TestAppDomainManager pluginDomainManager = (TestAppDomainManager) applicationDomain.DomainManager;
- if (pluginDomainManager == null)
- {
- throw new Exception("-----Failed to find test app domain manager-----");
+ TestAppDomainManager pluginDomainManager = (TestAppDomainManager) applicationDomain.DomainManager;
+ if (pluginDomainManager == null)
+ {
+ throw new Exception("-----Failed to find test app domain manager-----");
}
pluginDomainManager.LoadPlugin(pluginAssemblyFile);
return applicationDomain;
@@ -43,18 +43,18 @@
string assemblyFilePath = GetArgFor("assemblyFile", args);
Console.WriteLine("Assembly File = " + assemblyFilePath);
- PluginLoader pluginLoader = new PluginLoader();
- try
- {
- pluginLoader.LoadPlugin(new FileInfo(assemblyFilePath));
- }
- catch (Exception e)
- {
- Console.Error.WriteLine(e.Message);
- Console.WriteLine("-----Test Failed----");
- return 1;
- }
- Console.WriteLine("-----Ending Plugin Loader-----");
+ PluginLoader pluginLoader = new PluginLoader();
+ try
+ {
+ pluginLoader.LoadPlugin(new FileInfo(assemblyFilePath));
+ }
+ catch (Exception e)
+ {
+ Console.Error.WriteLine(e.Message);
+ Console.WriteLine("-----Test Failed----");
+ return 1;
+ }
+ Console.WriteLine("-----Ending Plugin Loader-----");
Console.WriteLine("-----Test OK-----");
return 0;
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/issue67-mono/NMaven.Test.Issue67.Loader/PluginLoader.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/issue67-mono/NMaven.Test.Issue67.Runner/TestRunner.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0001/src/main/csharp/It0001.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0001/src/main/csharp/It0001.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0001/src/main/csharp/It0001.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0001/src/main/csharp/It0001.cs Mon Jun 30 05:54:00 2008
@@ -1,8 +1,8 @@
-namespace NMaven.IT {
-
-public class It0001 {
- public static void Main () {
- System.Console.Write("Hello World!");
- }
-}
-}
+namespace NMaven.IT {
+
+public class It0001 {
+ public static void Main () {
+ System.Console.Write("Hello World!");
+ }
+}
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0001/src/main/csharp/It0001.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0002/src/main/csharp/It0002.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0002/src/main/csharp/It0002.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0002/src/main/csharp/It0002.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0002/src/main/csharp/It0002.cs Mon Jun 30 05:54:00 2008
@@ -1,9 +1,9 @@
-namespace org.apache.maven.it {
-
-public class It0002 {
- public static void Main () {
- System.Console.Write("Hello World!");
- new It0001();
- }
-}
-}
+namespace org.apache.maven.it {
+
+public class It0002 {
+ public static void Main () {
+ System.Console.Write("Hello World!");
+ new It0001();
+ }
+}
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0002/src/main/csharp/It0002.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0003/src/main/csharp/It0003.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0003/src/main/csharp/It0003.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0003/src/main/csharp/It0003.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0003/src/main/csharp/It0003.cs Mon Jun 30 05:54:00 2008
@@ -1,17 +1,17 @@
-namespace org.apache.maven.it {
-
-using System;
-
-public class It0003 {
-
- public static void Main () {
- System.Console.Write("Hello World!");
- new It0002();
- }
-
- public String GetValue()
- {
- return "test";
- }
-}
-}
+namespace org.apache.maven.it {
+
+using System;
+
+public class It0003 {
+
+ public static void Main () {
+ System.Console.Write("Hello World!");
+ new It0002();
+ }
+
+ public String GetValue()
+ {
+ return "test";
+ }
+}
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0003/src/main/csharp/It0003.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0004/src/test/csharp/It0003-Test1.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0004/src/test/csharp/It0003-Test1.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0004/src/test/csharp/It0003-Test1.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0004/src/test/csharp/It0003-Test1.cs Mon Jun 30 05:54:00 2008
@@ -1,27 +1,27 @@
-
-namespace org.apache.maven.it.unit {
- using NUnit.Framework;
- using System;
- using org.apache.maven.it;
-
- [TestFixture]
- public class It0003Test1 {
- private String hello = "hello";
-
- [SetUp]
- protected void SetUp() {
- new It0003();
- }
-
- [Test]
- public void TestSample() {
- new It0001();
- new It0002();
- Assert.AreEqual("hello", hello);
- It0003 it = new It0003();
- Assert.AreEqual("test", it.GetValue());
- }
-
- }
-
+
+namespace org.apache.maven.it.unit {
+ using NUnit.Framework;
+ using System;
+ using org.apache.maven.it;
+
+ [TestFixture]
+ public class It0003Test1 {
+ private String hello = "hello";
+
+ [SetUp]
+ protected void SetUp() {
+ new It0003();
+ }
+
+ [Test]
+ public void TestSample() {
+ new It0001();
+ new It0002();
+ Assert.AreEqual("hello", hello);
+ It0003 it = new It0003();
+ Assert.AreEqual("test", it.GetValue());
+ }
+
+ }
+
}
\ No newline at end of file
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0004/src/test/csharp/It0003-Test1.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0004/src/test/csharp/It0003-Test2.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0004/src/test/csharp/It0003-Test2.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0004/src/test/csharp/It0003-Test2.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0004/src/test/csharp/It0003-Test2.cs Mon Jun 30 05:54:00 2008
@@ -1,25 +1,25 @@
-
-namespace org.apache.maven.it.unit {
- using NUnit.Framework;
- using System;
- using org.apache.maven.it;
-
- [TestFixture]
- public class It0003Test2 {
- private String hello = "hello";
-
- [SetUp]
- protected void SetUp() {
- new It0003();
- }
-
- [Test]
- public void TestSample() {
- new It0001();
- new It0002();
- Assert.AreEqual("hello", hello);
- }
-
- }
-
+
+namespace org.apache.maven.it.unit {
+ using NUnit.Framework;
+ using System;
+ using org.apache.maven.it;
+
+ [TestFixture]
+ public class It0003Test2 {
+ private String hello = "hello";
+
+ [SetUp]
+ protected void SetUp() {
+ new It0003();
+ }
+
+ [Test]
+ public void TestSample() {
+ new It0001();
+ new It0002();
+ Assert.AreEqual("hello", hello);
+ }
+
+ }
+
}
\ No newline at end of file
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0004/src/test/csharp/It0003-Test2.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0005/src/main/csharp/HelloWeb.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0005/src/main/csharp/HelloWeb.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0005/src/main/csharp/HelloWeb.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0005/src/main/csharp/HelloWeb.cs Mon Jun 30 05:54:00 2008
@@ -1,10 +1,10 @@
-namespace org.apache.maven.it {
-
-public class HelloWeb {
- public static void Main () {
- System.Console.Write("Hello World!");
- new It0002();
- new It0003();
- }
-}
-}
+namespace org.apache.maven.it {
+
+public class HelloWeb {
+ public static void Main () {
+ System.Console.Write("Hello World!");
+ new It0002();
+ new It0003();
+ }
+}
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0005/src/main/csharp/HelloWeb.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0011/src/main/csharp/It0011.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0011/src/main/csharp/It0011.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0011/src/main/csharp/It0011.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0011/src/main/csharp/It0011.cs Mon Jun 30 05:54:00 2008
@@ -1,9 +1,9 @@
-namespace org.apache.maven.it {
-
-public class It0011 {
- public static void Main () {
- System.Console.Write("Hello World!");
- new It0001();
- }
-}
-}
+namespace org.apache.maven.it {
+
+public class It0011 {
+ public static void Main () {
+ System.Console.Write("Hello World!");
+ new It0001();
+ }
+}
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0011/src/main/csharp/It0011.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0012/src/main/csharp/It0012.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0012/src/main/csharp/It0012.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0012/src/main/csharp/It0012.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0012/src/main/csharp/It0012.cs Mon Jun 30 05:54:00 2008
@@ -1,8 +1,8 @@
-namespace org.apache.maven.it {
-
-public class It0001 {
- public static void Main () {
- System.Console.Write("Hello World!");
- }
-}
-}
+namespace org.apache.maven.it {
+
+public class It0001 {
+ public static void Main () {
+ System.Console.Write("Hello World!");
+ }
+}
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0012/src/main/csharp/It0012.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0013/src/main/csharp/It0013.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0013/src/main/csharp/It0013.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0013/src/main/csharp/It0013.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0013/src/main/csharp/It0013.cs Mon Jun 30 05:54:00 2008
@@ -1,9 +1,9 @@
-namespace org.apache.maven.it {
-
-public class It0013 {
- public static void Main () {
- System.Console.Write("Hello World!");
- new It0012();
- }
-}
-}
+namespace org.apache.maven.it {
+
+public class It0013 {
+ public static void Main () {
+ System.Console.Write("Hello World!");
+ new It0012();
+ }
+}
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0013/src/main/csharp/It0013.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0014/src/main/csharp/It0014.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0014/src/main/csharp/It0014.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0014/src/main/csharp/It0014.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0014/src/main/csharp/It0014.cs Mon Jun 30 05:54:00 2008
@@ -1,11 +1,11 @@
-namespace org.apache.maven.it {
-
-public class It0012 {
-
- public static void Main () {
- new It0012();
- new It0013();
- System.Console.Write("Hello World!");
- }
-}
-}
+namespace org.apache.maven.it {
+
+public class It0012 {
+
+ public static void Main () {
+ new It0012();
+ new It0013();
+ System.Console.Write("Hello World!");
+ }
+}
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0014/src/main/csharp/It0014.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0015/src/main/csharp/It0015.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0015/src/main/csharp/It0015.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0015/src/main/csharp/It0015.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0015/src/main/csharp/It0015.cs Mon Jun 30 05:54:00 2008
@@ -1,9 +1,9 @@
-namespace org.apache.maven.it {
-
-public class It0015 {
-
- public static void Main () {
- System.Console.Write("Hello World!");
- }
-}
-}
+namespace org.apache.maven.it {
+
+public class It0015 {
+
+ public static void Main () {
+ System.Console.Write("Hello World!");
+ }
+}
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0015/src/main/csharp/It0015.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0016/src/main/csharp/It0016.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0016/src/main/csharp/It0016.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0016/src/main/csharp/It0016.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0016/src/main/csharp/It0016.cs Mon Jun 30 05:54:00 2008
@@ -1,10 +1,10 @@
-namespace org.apache.maven.it {
-
-public class It0016 {
-
- public static void Main () {
- new It0015();
- System.Console.Write("Hello World!");
- }
-}
-}
+namespace org.apache.maven.it {
+
+public class It0016 {
+
+ public static void Main () {
+ new It0015();
+ System.Console.Write("Hello World!");
+ }
+}
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0016/src/main/csharp/It0016.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0017/src/test/csharp/It0017Test1.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0017/src/test/csharp/It0017Test1.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0017/src/test/csharp/It0017Test1.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0017/src/test/csharp/It0017Test1.cs Mon Jun 30 05:54:00 2008
@@ -1,17 +1,17 @@
-namespace org.apache.maven.it.unit {
- using NUnit.Framework;
- using System;
- using org.apache.maven.it;
-
- [TestFixture]
- public class It0017Test1 {
- private String hello = "hello";
-
- [Test]
- public void TestSample() {
- new It0016();
- }
-
- }
-
+namespace org.apache.maven.it.unit {
+ using NUnit.Framework;
+ using System;
+ using org.apache.maven.it;
+
+ [TestFixture]
+ public class It0017Test1 {
+ private String hello = "hello";
+
+ [Test]
+ public void TestSample() {
+ new It0016();
+ }
+
+ }
+
}
\ No newline at end of file
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0017/src/test/csharp/It0017Test1.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0018/src/main/csharp/It0018.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0018/src/main/csharp/It0018.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0018/src/main/csharp/It0018.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0018/src/main/csharp/It0018.cs Mon Jun 30 05:54:00 2008
@@ -1,8 +1,8 @@
-namespace org.apache.maven.it {
-
-public class It0018 {
- public static void Main () {
- System.Console.Write("Hello World!");
- }
-}
-}
+namespace org.apache.maven.it {
+
+public class It0018 {
+ public static void Main () {
+ System.Console.Write("Hello World!");
+ }
+}
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0018/src/main/csharp/It0018.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0019/src/main/csharp/It0019.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0019/src/main/csharp/It0019.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0019/src/main/csharp/It0019.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0019/src/main/csharp/It0019.cs Mon Jun 30 05:54:00 2008
@@ -1,8 +1,8 @@
-namespace org.apache.maven.it {
-
-public class It0019 {
- public static void Main () {
- System.Console.Write("Hello World!");
- }
-}
-}
+namespace org.apache.maven.it {
+
+public class It0019 {
+ public static void Main () {
+ System.Console.Write("Hello World!");
+ }
+}
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0019/src/main/csharp/It0019.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0020/src/main/csharp/It0020.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0020/src/main/csharp/It0020.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0020/src/main/csharp/It0020.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0020/src/main/csharp/It0020.cs Mon Jun 30 05:54:00 2008
@@ -1,8 +1,8 @@
-namespace org.apache.maven.it {
-
-public class It0020 {
- public static void Main () {
- System.Console.Write("Hello World!");
- }
-}
-}
+namespace org.apache.maven.it {
+
+public class It0020 {
+ public static void Main () {
+ System.Console.Write("Hello World!");
+ }
+}
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0020/src/main/csharp/It0020.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0022/src/main/csharp/It0022.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0025/it/test1/src/main/csharp/It0001.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0026/src/main/csharp/It0026.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0028/src/main/csharp/It0028.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0029/src/main/csharp/It0029.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0030/src/main/csharp/It0030.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0032/src/main/csharp/It0032.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0032/src/main/csharp/It0032.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0032/src/main/csharp/It0032.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0032/src/main/csharp/It0032.cs Mon Jun 30 05:54:00 2008
@@ -1,8 +1,8 @@
-namespace org.apache.maven.it {
-
-public class It0032 {
- public static void Main () {
- System.Console.Write("Hello World!");
- }
-}
-}
+namespace org.apache.maven.it {
+
+public class It0032 {
+ public static void Main () {
+ System.Console.Write("Hello World!");
+ }
+}
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0032/src/main/csharp/It0032.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0032/src/main/csharp/notToBeIncluded.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0032/src/main/csharp/notToBeIncluded.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0032/src/main/csharp/notToBeIncluded.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0032/src/main/csharp/notToBeIncluded.cs Mon Jun 30 05:54:00 2008
@@ -1 +1 @@
-This file should not be included in the dll
+This file should not be included in the dll
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0032/src/main/csharp/notToBeIncluded.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0032/src/test/It0032-Test1.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0032/src/test/It0032-Test1.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0032/src/test/It0032-Test1.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0032/src/test/It0032-Test1.cs Mon Jun 30 05:54:00 2008
@@ -1,23 +1,23 @@
-
-namespace org.apache.maven.it.unit {
- using NUnit.Framework;
- using System;
- using org.apache.maven.it;
-
- [TestFixture]
- public class It0032Test1 {
- private String hello = "hello";
-
- [SetUp]
- protected void SetUp() {
- new It0032();
- }
-
- [Test]
- public void TestSample() {
- Assert.AreEqual("hello", hello);
- }
-
- }
-
-}
+
+namespace org.apache.maven.it.unit {
+ using NUnit.Framework;
+ using System;
+ using org.apache.maven.it;
+
+ [TestFixture]
+ public class It0032Test1 {
+ private String hello = "hello";
+
+ [SetUp]
+ protected void SetUp() {
+ new It0032();
+ }
+
+ [Test]
+ public void TestSample() {
+ Assert.AreEqual("hello", hello);
+ }
+
+ }
+
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0032/src/test/It0032-Test1.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Addin/src/main/csharp/NMaven/Plugin/Addin/AutomationExtensibilityMojo.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Addin/src/main/csharp/NMaven/Plugin/Addin/AutomationExtensibilityMojo.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Addin/src/main/csharp/NMaven/Plugin/Addin/AutomationExtensibilityMojo.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Addin/src/main/csharp/NMaven/Plugin/Addin/AutomationExtensibilityMojo.cs Mon Jun 30 05:54:00 2008
@@ -1,120 +1,120 @@
-//
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
-//
-
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Xml;
-using System.Xml.Serialization;
-
-using NMaven.Plugin;
-using NMaven.Model.Pom;
-using NMaven.Model;
-using NMaven.Artifact;
-
-namespace NMaven.Plugin.Addin
-{
- /// <summary>
- /// Description
- /// </summary>
- [ClassAttribute(Phase = "package", Goal = "package")]
- public sealed class AutomationExtensibilityMojo : AbstractMojo
- {
- public AutomationExtensibilityMojo()
- {
- }
-
- [FieldAttribute("repository", Expression = "${settings.localRepository}", Type = "java.lang.String")]
- public String localRepository;
-
- [FieldAttribute("mavenProject", Expression = "${project}", Type = "org.apache.maven.project.MavenProject")]
- public NMaven.Model.Pom.Model mavenProject;
-
-
- public override Type GetMojoImplementationType()
- {
- return this.GetType();
- }
-
- public override void Execute()
- {
- ArtifactContext artifactContext = new ArtifactContext();
- FileInfo artifactFileInfo = PathUtil.GetPrivateApplicationBaseFileFor(artifactContext.GetArtifactFor(mavenProject),
- new FileInfo(localRepository).Directory);
-
- Console.WriteLine("Artifact Path = " + artifactFileInfo.FullName);
-
- object[] extensibilityItems = new object[2];
- //Host Application
- ExtensibilityHostApplication hostApplication = new ExtensibilityHostApplication();
- List<ItemsChoiceType> itemsChoiceTypes = new List<ItemsChoiceType>();
- List<String> itemsChoiceTypeValues = new List<string>();
-
- itemsChoiceTypes.Add(ItemsChoiceType.Name);
- itemsChoiceTypeValues.Add("Microsoft Visual Studio");
-
- itemsChoiceTypes.Add(ItemsChoiceType.Version);
- itemsChoiceTypeValues.Add("8.0");
-
- hostApplication.Items = itemsChoiceTypeValues.ToArray();
- hostApplication.ItemsElementName = itemsChoiceTypes.ToArray();
- extensibilityItems[0] = hostApplication;
-
- //Addin
- ExtensibilityAddin addin = new ExtensibilityAddin();
- List<ItemsChoiceType1> itemNames = new List<ItemsChoiceType1>();
- List<string> itemValues = new List<string>();
-
- itemNames.Add(ItemsChoiceType1.Assembly);
- itemValues.Add(artifactFileInfo.FullName);
-
- itemNames.Add(ItemsChoiceType1.FullClassName);
- itemValues.Add(mavenProject.artifactId + ".Connect");
-
- itemNames.Add(ItemsChoiceType1.FriendlyName);
- itemValues.Add(mavenProject.name);
-
- itemNames.Add(ItemsChoiceType1.Description);
- itemValues.Add(mavenProject.description);
-
- itemNames.Add(ItemsChoiceType1.LoadBehavior);
- itemValues.Add("0");
-
- itemNames.Add(ItemsChoiceType1.CommandLineSafe);
- itemValues.Add("0");
-
- itemNames.Add(ItemsChoiceType1.CommandPreload);
- itemValues.Add("1");
-
- addin.Items = itemValues.ToArray();
- addin.ItemsElementName = itemNames.ToArray();
- extensibilityItems[1] = addin;
-
- Extensibility extensibility = new Extensibility();
- extensibility.Items = extensibilityItems;
-
- //write XML
- XmlSerializer serializer = new XmlSerializer(typeof(NMaven.Model.Extensibility));
- XmlTextWriter xmlWriter = new XmlTextWriter(Environment.GetEnvironmentVariable("TMP")
- + @"\NMavenBuild.AddIn", System.Text.Encoding.Unicode);
- xmlWriter.Formatting = Formatting.Indented;
- serializer.Serialize(xmlWriter, extensibility);
- }
- }
-}
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+//
+
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Xml;
+using System.Xml.Serialization;
+
+using NMaven.Plugin;
+using NMaven.Model.Pom;
+using NMaven.Model;
+using NMaven.Artifact;
+
+namespace NMaven.Plugin.Addin
+{
+ /// <summary>
+ /// Description
+ /// </summary>
+ [ClassAttribute(Phase = "package", Goal = "package")]
+ public sealed class AutomationExtensibilityMojo : AbstractMojo
+ {
+ public AutomationExtensibilityMojo()
+ {
+ }
+
+ [FieldAttribute("repository", Expression = "${settings.localRepository}", Type = "java.lang.String")]
+ public String localRepository;
+
+ [FieldAttribute("mavenProject", Expression = "${project}", Type = "org.apache.maven.project.MavenProject")]
+ public NMaven.Model.Pom.Model mavenProject;
+
+
+ public override Type GetMojoImplementationType()
+ {
+ return this.GetType();
+ }
+
+ public override void Execute()
+ {
+ ArtifactContext artifactContext = new ArtifactContext();
+ FileInfo artifactFileInfo = PathUtil.GetPrivateApplicationBaseFileFor(artifactContext.GetArtifactFor(mavenProject),
+ new FileInfo(localRepository).Directory);
+
+ Console.WriteLine("Artifact Path = " + artifactFileInfo.FullName);
+
+ object[] extensibilityItems = new object[2];
+ //Host Application
+ ExtensibilityHostApplication hostApplication = new ExtensibilityHostApplication();
+ List<ItemsChoiceType> itemsChoiceTypes = new List<ItemsChoiceType>();
+ List<String> itemsChoiceTypeValues = new List<string>();
+
+ itemsChoiceTypes.Add(ItemsChoiceType.Name);
+ itemsChoiceTypeValues.Add("Microsoft Visual Studio");
+
+ itemsChoiceTypes.Add(ItemsChoiceType.Version);
+ itemsChoiceTypeValues.Add("8.0");
+
+ hostApplication.Items = itemsChoiceTypeValues.ToArray();
+ hostApplication.ItemsElementName = itemsChoiceTypes.ToArray();
+ extensibilityItems[0] = hostApplication;
+
+ //Addin
+ ExtensibilityAddin addin = new ExtensibilityAddin();
+ List<ItemsChoiceType1> itemNames = new List<ItemsChoiceType1>();
+ List<string> itemValues = new List<string>();
+
+ itemNames.Add(ItemsChoiceType1.Assembly);
+ itemValues.Add(artifactFileInfo.FullName);
+
+ itemNames.Add(ItemsChoiceType1.FullClassName);
+ itemValues.Add(mavenProject.artifactId + ".Connect");
+
+ itemNames.Add(ItemsChoiceType1.FriendlyName);
+ itemValues.Add(mavenProject.name);
+
+ itemNames.Add(ItemsChoiceType1.Description);
+ itemValues.Add(mavenProject.description);
+
+ itemNames.Add(ItemsChoiceType1.LoadBehavior);
+ itemValues.Add("0");
+
+ itemNames.Add(ItemsChoiceType1.CommandLineSafe);
+ itemValues.Add("0");
+
+ itemNames.Add(ItemsChoiceType1.CommandPreload);
+ itemValues.Add("1");
+
+ addin.Items = itemValues.ToArray();
+ addin.ItemsElementName = itemNames.ToArray();
+ extensibilityItems[1] = addin;
+
+ Extensibility extensibility = new Extensibility();
+ extensibility.Items = extensibilityItems;
+
+ //write XML
+ XmlSerializer serializer = new XmlSerializer(typeof(NMaven.Model.Extensibility));
+ XmlTextWriter xmlWriter = new XmlTextWriter(Environment.GetEnvironmentVariable("TMP")
+ + @"\NMavenBuild.AddIn", System.Text.Encoding.Unicode);
+ xmlWriter.Formatting = Formatting.Indented;
+ serializer.Serialize(xmlWriter, extensibility);
+ }
+ }
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Addin/src/main/csharp/NMaven/Plugin/Addin/AutomationExtensibilityMojo.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Devenv/src/main/csharp/NMaven/Plugin/Devenv/DevenvMojo.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Devenv/src/main/csharp/NMaven/Plugin/Devenv/DevenvMojo.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Devenv/src/main/csharp/NMaven/Plugin/Devenv/DevenvMojo.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Devenv/src/main/csharp/NMaven/Plugin/Devenv/DevenvMojo.cs Mon Jun 30 05:54:00 2008
@@ -1,65 +1,65 @@
-//
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
-//
-
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Diagnostics;
-
-using Microsoft.Win32;
-
-using NMaven.Plugin;
-
-namespace NMaven.Plugin.Devenv
-{
- /// <summary>
- /// Description
- /// </summary>
- [Serializable]
- [ClassAttribute(Phase = "deploy", Goal = "start")]
- public sealed class DevenvMojo : AbstractMojo
- {
- public DevenvMojo()
- {
- }
-
- [FieldAttribute("artifactId", Expression = "${project.artifactId}", Type = "java.lang.String")]
- public String artifactId;
-
- [FieldAttribute("buildDirectory", Expression = "${project.build.directory}", Type = "java.lang.String")]
- public String buildDirectory;
-
- public override Type GetMojoImplementationType()
- {
- return this.GetType();
- }
-
- public override void Execute()
- {
- string args = "/ResetAddin " + artifactId + ".Connect " + "/Log " + @"""" + @buildDirectory
- + @"\VisualStudio.log" + @"""";
- RegistryKey visualStudioKey =
- Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\VisualStudio\8.0");
- String installDir = (String) visualStudioKey.GetValue("InstallDir");
- ProcessStartInfo processStartInfo =
- new ProcessStartInfo(@installDir + "devenv.exe", args);
- Process.Start(processStartInfo);
- }
- }
-}
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+//
+
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Diagnostics;
+
+using Microsoft.Win32;
+
+using NMaven.Plugin;
+
+namespace NMaven.Plugin.Devenv
+{
+ /// <summary>
+ /// Description
+ /// </summary>
+ [Serializable]
+ [ClassAttribute(Phase = "deploy", Goal = "start")]
+ public sealed class DevenvMojo : AbstractMojo
+ {
+ public DevenvMojo()
+ {
+ }
+
+ [FieldAttribute("artifactId", Expression = "${project.artifactId}", Type = "java.lang.String")]
+ public String artifactId;
+
+ [FieldAttribute("buildDirectory", Expression = "${project.build.directory}", Type = "java.lang.String")]
+ public String buildDirectory;
+
+ public override Type GetMojoImplementationType()
+ {
+ return this.GetType();
+ }
+
+ public override void Execute()
+ {
+ string args = "/ResetAddin " + artifactId + ".Connect " + "/Log " + @"""" + @buildDirectory
+ + @"\VisualStudio.log" + @"""";
+ RegistryKey visualStudioKey =
+ Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\VisualStudio\8.0");
+ String installDir = (String) visualStudioKey.GetValue("InstallDir");
+ ProcessStartInfo processStartInfo =
+ new ProcessStartInfo(@installDir + "devenv.exe", args);
+ Process.Start(processStartInfo);
+ }
+ }
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Devenv/src/main/csharp/NMaven/Plugin/Devenv/DevenvMojo.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Resx/src/main/csharp/NMaven/Plugin/Resx/MimeType.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Resx/src/main/csharp/NMaven/Plugin/Resx/MimeType.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Resx/src/main/csharp/NMaven/Plugin/Resx/MimeType.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Resx/src/main/csharp/NMaven/Plugin/Resx/MimeType.cs Mon Jun 30 05:54:00 2008
@@ -1,69 +1,69 @@
-//
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
-//
-
-using System;
-
-namespace NMaven.Plugin.ResX
-{
- /// <summary>
- /// Provides mime-type information
- /// </summary>
- internal class MimeType
- {
- private string subType;
-
- private string type;
-
- private string extension;
-
- /// <summary>
- /// Constructor
- /// </summary>
- /// <param name="type"></param>
- /// <param name="subType"></param>
- /// <param name="extension">the extension of a file with the mime-type</param>
-
- internal MimeType(string type, string subType, string extension)
- {
- this.type = type;
- this.subType = subType;
- this.extension = extension;
- }
-
- internal string GetSubType()
- {
- return subType;
- }
-
- internal string GetPrimaryType()
- {
- return type;
- }
-
- internal string GetExtension()
- {
- return extension;
- }
-
- public override string ToString()
- {
- return "SubType = " + subType + ", Type = " + type + ", Extension = " + extension;
- }
- }
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+//
+
+using System;
+
+namespace NMaven.Plugin.ResX
+{
+ /// <summary>
+ /// Provides mime-type information
+ /// </summary>
+ internal class MimeType
+ {
+ private string subType;
+
+ private string type;
+
+ private string extension;
+
+ /// <summary>
+ /// Constructor
+ /// </summary>
+ /// <param name="type"></param>
+ /// <param name="subType"></param>
+ /// <param name="extension">the extension of a file with the mime-type</param>
+
+ internal MimeType(string type, string subType, string extension)
+ {
+ this.type = type;
+ this.subType = subType;
+ this.extension = extension;
+ }
+
+ internal string GetSubType()
+ {
+ return subType;
+ }
+
+ internal string GetPrimaryType()
+ {
+ return type;
+ }
+
+ internal string GetExtension()
+ {
+ return extension;
+ }
+
+ public override string ToString()
+ {
+ return "SubType = " + subType + ", Type = " + type + ", Extension = " + extension;
+ }
+ }
}
\ No newline at end of file
Propchange: incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Resx/src/main/csharp/NMaven/Plugin/Resx/MimeType.cs
------------------------------------------------------------------------------
svn:eol-style = native