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 [1/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...
Author: brett
Date: Mon Jun 30 05:54:00 2008
New Revision: 672753
URL: http://svn.apache.org/viewvc?rev=672753&view=rev
Log:
setting native line endings
Modified:
incubator/nmaven/branches/NMAVEN_0.14/archetypes/maven-archetype-dotnet-simple/src/main/resources/archetype-resources/src/main/csharp/Sample/MyApp.cs (props changed)
incubator/nmaven/branches/NMAVEN_0.14/archetypes/maven-archetype-dotnet-simple/src/main/resources/archetype-resources/src/test/csharp/Sample/MyAppTest.cs (props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/Artifact.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/ArtifactContext.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/ArtifactRepository.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/ArtifactRepositoryLayout.cs (props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/ArtifactScope.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/AssemblyRepositoryLayout.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/IArtifactContext.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/JavaRepositoryLayout.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/PathUtil.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/RepositoryType.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.IDE/src/main/csharp/NMaven/IDE/Commands/BuildCommand.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.IDE/src/main/csharp/NMaven/IDE/Controls/MavenBuildControl.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.IDE/src/main/csharp/NMaven/IDE/Factory.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.IDE/src/main/csharp/NMaven/IDE/IIdeConfiguration.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.IDE/src/main/csharp/NMaven/IDE/IIdeContext.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.IDE/src/main/csharp/NMaven/IDE/Impl/IdeContextImpl.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.IDE/src/main/csharp/NMaven/IDE/View/MainForm.Designer.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.IDE/src/main/csharp/NMaven/IDE/View/MainForm.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Logging/src/main/csharp/NMaven/Logging/ConsoleHandler.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Logging/src/main/csharp/NMaven/Logging/IHandler.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Logging/src/main/csharp/NMaven/Logging/Level.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Logging/src/main/csharp/NMaven/Logging/LogManager.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Logging/src/main/csharp/NMaven/Logging/LogRecord.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Logging/src/main/csharp/NMaven/Logging/Logger.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Model/AutomationExtensibility/src/main/csharp/NMaven/Model/AutomationExtensibility.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Model/Settings/src/main/csharp/Settings.cs (props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Model/Settings/src/main/csharp/SettingsUtil.cs (props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Model/VSContent/src/main/csharp/vscontent.cs (props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Plugin.Loader/src/main/csharp/NMaven/Plugin/Loader/PluginLoader.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Plugin.MojoGenerator/src/main/csharp/NMaven/Plugin/MojoGenerator/Generator.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Plugin.Runner/src/main/csharp/NMaven/Plugin/Launcher/PluginLauncher.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/AbstractMojo.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/ClassAttribute.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/FieldAttribute.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/FieldInjectorAttribute.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/Generator/Code.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/Generator/ImportPackage.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/Generator/JavaClass.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/Generator/JavaClassUnmarshaller.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/Generator/JavaField.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/Generator/JavaMethod.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/Injector/IFieldInjector.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/Injector/Impl/FieldInjectorRepository.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/Injector/Impl/MavenProjectInjector.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/Injector/Impl/StringInjector.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/PluginDomainManager.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Service/Embedder/src/main/csharp/NMaven/Service/Embedder/MavenEmbedder.cs (props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.SharpDevelop.Addin/Src/CompilerMessageViewHandler.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.SharpDevelop.Addin/Src/NMavenBuildControl.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.SharpDevelop.Addin/Src/NMavenBuildPad.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Solution/ExecutionException.cs (props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Solution/Factory.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Solution/IProjectGenerator.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Solution/IProjectReference.cs (props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Solution/ProjectGeneratorImpl.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Solution/ProjectReferenceImpl.cs (props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.Addin/src/main/csharp/NMaven/VisualStudio/Addin/AddArtifactsForm.Designer.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.Addin/src/main/csharp/NMaven/VisualStudio/Addin/AddArtifactsForm.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.Addin/src/main/csharp/NMaven/VisualStudio/Addin/AddArtifactsForm.resx (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.Addin/src/main/csharp/NMaven/VisualStudio/Addin/ConfigureMavenRepositoryForm.Designer.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.Addin/src/main/csharp/NMaven/VisualStudio/Addin/ConfigureMavenRepositoryForm.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.Addin/src/main/csharp/NMaven/VisualStudio/Addin/ConfigureMavenRepositoryForm.resx (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.Addin/src/main/csharp/NMaven/VisualStudio/Addin/Connect.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.Addin/src/main/csharp/NMaven/VisualStudio/Addin/MainFormTest.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.ProjectWizard/src/main/csharp/ArchetypeProjectForm.Designer.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.ProjectWizard/src/main/csharp/ArchetypeProjectForm.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.ProjectWizard/src/main/csharp/ArchetypeProjectForm.resx (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.ProjectWizard/src/main/csharp/ArchetypeProjectWizard.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio.ProjectWizard/src/main/csharp/Program.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.VisualStudio/src/main/csharp/NMaven/VisualStudio/Logging/OutputWindowPaneHandler.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/components/dotnet-assembler/src/test/resources/AssemblyInfo.cs (props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/issue67-mono/NMaven.Test.Issue67.Application/MarshalClass.cs (props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/issue67-mono/NMaven.Test.Issue67.Domain/TestAppDomainManager.cs (props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/issue67-mono/NMaven.Test.Issue67.Loader/PluginLoader.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/issue67-mono/NMaven.Test.Issue67.Runner/TestRunner.cs (props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0001/src/main/csharp/It0001.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0002/src/main/csharp/It0002.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0003/src/main/csharp/It0003.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0004/src/test/csharp/It0003-Test1.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0004/src/test/csharp/It0003-Test2.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0005/src/main/csharp/HelloWeb.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0011/src/main/csharp/It0011.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0012/src/main/csharp/It0012.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0013/src/main/csharp/It0013.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0014/src/main/csharp/It0014.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0015/src/main/csharp/It0015.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0016/src/main/csharp/It0016.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0017/src/test/csharp/It0017Test1.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0018/src/main/csharp/It0018.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0019/src/main/csharp/It0019.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0020/src/main/csharp/It0020.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0022/src/main/csharp/It0022.cs (props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0025/it/test1/src/main/csharp/It0001.cs (props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0026/src/main/csharp/It0026.cs (props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0028/src/main/csharp/It0028.cs (props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0029/src/main/csharp/It0029.cs (props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0030/src/main/csharp/It0030.cs (props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0032/src/main/csharp/It0032.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0032/src/main/csharp/notToBeIncluded.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/integration-tests/tests/it0032/src/test/It0032-Test1.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Addin/src/main/csharp/NMaven/Plugin/Addin/AutomationExtensibilityMojo.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Devenv/src/main/csharp/NMaven/Plugin/Devenv/DevenvMojo.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Resx/src/main/csharp/NMaven/Plugin/Resx/MimeType.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Resx/src/main/csharp/NMaven/Plugin/Resx/ResX.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Settings/src/main/csharp/NMaven/Plugin/Settings/ExecutionException.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Settings/src/main/csharp/NMaven/Plugin/Settings/SettingsGeneratorMojo.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Settings/src/main/csharp/NMaven/Plugin/Settings/nmavenSettings.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/plugins/netplugins/NMaven.Plugin.Solution/src/main/csharp/NMaven/Plugin/Solution/SolutionMojo.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/sandbox/maven-csharp/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/main/csharp/App.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/sandbox/maven-csharp/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/main/csharp/AssemblyInfo.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/sandbox/maven-csharp/archetype/maven-archetype-dotnetexe/src/main/resources/archetype-resources/src/test/csharp/AppTest.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/sandbox/maven-csharp/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/main/csharp/App.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/sandbox/maven-csharp/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/main/csharp/AssemblyInfo.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/sandbox/maven-csharp/archetype/maven-archetype-dotnetlibrary/src/main/resources/archetype-resources/src/test/csharp/AppTest.cs (contents, props changed)
incubator/nmaven/branches/NMAVEN_0.14/sandbox/prototype/maven-csharp-test/src/main/csharp/Test.cs (contents, props changed)
Propchange: incubator/nmaven/branches/NMAVEN_0.14/archetypes/maven-archetype-dotnet-simple/src/main/resources/archetype-resources/src/main/csharp/Sample/MyApp.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/nmaven/branches/NMAVEN_0.14/archetypes/maven-archetype-dotnet-simple/src/main/resources/archetype-resources/src/test/csharp/Sample/MyAppTest.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/Artifact.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/Artifact.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/Artifact.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/Artifact.cs Mon Jun 30 05:54:00 2008
@@ -1,85 +1,85 @@
-#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.IO;
-
-namespace NMaven.Artifact
-{
- public sealed class Artifact
- {
- private string artifactId;
-
- private string groupId;
-
- private string version;
-
- private FileInfo fileInfo;
-
- private int artifactScope;
-
- private string extension;
-
- private String remotePath;
-
- public String RemotePath
- {
- get { return remotePath; }
- set { this.remotePath = value; }
- }
-
- public string Extension
- {
- get { return extension; }
- set { extension = value; }
- }
-
- public string ArtifactId
- {
- get { return artifactId; }
- set { artifactId = value; }
- }
-
- public string GroupId
- {
- get { return groupId; }
- set { groupId = value; }
- }
-
- public string Version
- {
- get { return version; }
- set { version = value; }
- }
-
- public FileInfo FileInfo
- {
- get { return fileInfo; }
- set { fileInfo = value; }
- }
-
- public int ArtifactScope
- {
- get { return artifactScope; }
- set { artifactScope = value; }
- }
- }
-}
+#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.IO;
+
+namespace NMaven.Artifact
+{
+ public sealed class Artifact
+ {
+ private string artifactId;
+
+ private string groupId;
+
+ private string version;
+
+ private FileInfo fileInfo;
+
+ private int artifactScope;
+
+ private string extension;
+
+ private String remotePath;
+
+ public String RemotePath
+ {
+ get { return remotePath; }
+ set { this.remotePath = value; }
+ }
+
+ public string Extension
+ {
+ get { return extension; }
+ set { extension = value; }
+ }
+
+ public string ArtifactId
+ {
+ get { return artifactId; }
+ set { artifactId = value; }
+ }
+
+ public string GroupId
+ {
+ get { return groupId; }
+ set { groupId = value; }
+ }
+
+ public string Version
+ {
+ get { return version; }
+ set { version = value; }
+ }
+
+ public FileInfo FileInfo
+ {
+ get { return fileInfo; }
+ set { fileInfo = value; }
+ }
+
+ public int ArtifactScope
+ {
+ get { return artifactScope; }
+ set { artifactScope = value; }
+ }
+ }
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/Artifact.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/ArtifactContext.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/ArtifactContext.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/ArtifactContext.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/ArtifactContext.cs Mon Jun 30 05:54:00 2008
@@ -1,79 +1,79 @@
-#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.IO;
-using System.Collections.Generic;
-using System.Text;
-
-using NMaven.Model.Setting;
-
-namespace NMaven.Artifact
-{
- public sealed class ArtifactContext : IArtifactContext
- {
-
- public ArtifactRepository GetArtifactRepository()
- {
- ArtifactRepository artifactRepository = new ArtifactRepository();
- artifactRepository.Init(this, new FileInfo(SettingsUtil.GetLocalRepositoryPath()).Directory);
- return artifactRepository;
- }
-
- public Artifact GetArtifactFor(NMaven.Model.Pom.Model model)
- {
- Artifact artifact = new Artifact();
- artifact.ArtifactId = model.artifactId;
- artifact.GroupId = model.groupId;
- artifact.Version = model.version;
- artifact.Extension = GetExtensionFor(model.packaging);
- return artifact;
- }
-
- public Artifact CreateArtifact(String groupId, String artifactId, String version, String packaging)
- {
- Artifact artifact = new Artifact();
- artifact.ArtifactId = artifactId;
- artifact.GroupId = groupId;
- artifact.Version = version;
- artifact.Extension = GetExtensionFor(packaging);
- return artifact;
- }
-
- public String GetExtensionFor(String packaging)
- {
- if (packaging.Equals("library") || packaging.Equals("netplugin")
- || packaging.Equals("visual-studio-addin") || packaging.Equals("sharp-develop-addin"))
- {
- return "dll";
- }
- else if(packaging.Equals("winexe") || packaging.Equals("exe"))
- {
- return "exe";
- }
- else if (packaging.Equals("module"))
- {
- return "netmodule";
- }
- return null;
- }
- }
-}
+#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.IO;
+using System.Collections.Generic;
+using System.Text;
+
+using NMaven.Model.Setting;
+
+namespace NMaven.Artifact
+{
+ public sealed class ArtifactContext : IArtifactContext
+ {
+
+ public ArtifactRepository GetArtifactRepository()
+ {
+ ArtifactRepository artifactRepository = new ArtifactRepository();
+ artifactRepository.Init(this, new FileInfo(SettingsUtil.GetLocalRepositoryPath()).Directory);
+ return artifactRepository;
+ }
+
+ public Artifact GetArtifactFor(NMaven.Model.Pom.Model model)
+ {
+ Artifact artifact = new Artifact();
+ artifact.ArtifactId = model.artifactId;
+ artifact.GroupId = model.groupId;
+ artifact.Version = model.version;
+ artifact.Extension = GetExtensionFor(model.packaging);
+ return artifact;
+ }
+
+ public Artifact CreateArtifact(String groupId, String artifactId, String version, String packaging)
+ {
+ Artifact artifact = new Artifact();
+ artifact.ArtifactId = artifactId;
+ artifact.GroupId = groupId;
+ artifact.Version = version;
+ artifact.Extension = GetExtensionFor(packaging);
+ return artifact;
+ }
+
+ public String GetExtensionFor(String packaging)
+ {
+ if (packaging.Equals("library") || packaging.Equals("netplugin")
+ || packaging.Equals("visual-studio-addin") || packaging.Equals("sharp-develop-addin"))
+ {
+ return "dll";
+ }
+ else if(packaging.Equals("winexe") || packaging.Equals("exe"))
+ {
+ return "exe";
+ }
+ else if (packaging.Equals("module"))
+ {
+ return "netmodule";
+ }
+ return null;
+ }
+ }
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/ArtifactContext.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/ArtifactRepository.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/ArtifactRepository.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/ArtifactRepository.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/ArtifactRepository.cs Mon Jun 30 05:54:00 2008
@@ -1,110 +1,110 @@
-#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 System.Text;
-using System.Xml;
-using System.Xml.Serialization;
-
-namespace NMaven.Artifact
-{
- public sealed class ArtifactRepository
- {
- public Artifact GetArtifactFor(String uri)
- {
- DirectoryInfo uac = new DirectoryInfo(localRepository.FullName + @"\uac\gac_msil\");
-
- String[] tokens = uri.Split("/".ToCharArray());
- int size = tokens.Length;
- if (size < 3)
- {
- throw new IOException("Invalid Artifact Path = " + uri);
- }
- Artifact artifact = new Artifact();
- artifact.ArtifactId = tokens[size - 3];
- StringBuilder buffer = new StringBuilder();
- for (int i = 0; i < size - 3; i++)
- {
- buffer.Append(tokens[i]);
- if (i != size - 4)
- {
- buffer.Append(".");
- }
- }
- artifact.GroupId = buffer.ToString();
- artifact.Version = tokens[size - 2];
- artifact.Extension = tokens[size - 1].Split(".".ToCharArray())[1];
- artifact.FileInfo = new FileInfo(uac.FullName + artifact.ArtifactId + @"\" +
- artifact.Version + "__" + artifact.GroupId + @"\" + artifact.ArtifactId + ".dll" );
- return artifact;
- }
-
- public List<Artifact> GetArtifacts()
- {
- List<Artifact> artifacts = new List<Artifact>();
- DirectoryInfo uac = new DirectoryInfo(localRepository.FullName + @"\uac\gac_msil\");
- int directoryStartPosition = uac.FullName.Length;
-
- List<FileInfo> fileInfos = GetArtifactsFromDirectory(uac);
-
- foreach (FileInfo fileInfo in fileInfos)
- {
- Artifact artifact = new Artifact();
- String relativePath = fileInfo.FullName.Substring(directoryStartPosition,
- (fileInfo.FullName.Length - directoryStartPosition));
- String[] tokens = relativePath.Split(new char[1] { '\\' });
- artifact.ArtifactId = tokens[0];
- String[] tokens2 = tokens[1].Split(new char[2]{'_', '_'});
- artifact.Version = tokens2[0];
- artifact.GroupId = tokens2[2];
- artifact.FileInfo = fileInfo;
- artifacts.Add(artifact);
- }
- return artifacts;
- }
-
- public void Init(ArtifactContext artifactContext, DirectoryInfo localRepository)
- {
- this.artifactContext = artifactContext;
- this.localRepository = localRepository;
- }
-
- private List<FileInfo> GetArtifactsFromDirectory(DirectoryInfo baseDirectoryInfo)
- {
- DirectoryInfo[] directories = baseDirectoryInfo.GetDirectories();
- List<FileInfo> fileInfos = new List<FileInfo>();
- foreach (DirectoryInfo directoryInfo in directories)
- {
- foreach (FileInfo fileInfo in directoryInfo.GetFiles())
- {
- fileInfos.Add(fileInfo);
- }
- fileInfos.AddRange(GetArtifactsFromDirectory(directoryInfo));
- }
- return fileInfos;
- }
-
- private ArtifactContext artifactContext;
- private DirectoryInfo localRepository;
- }
-}
+#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 System.Text;
+using System.Xml;
+using System.Xml.Serialization;
+
+namespace NMaven.Artifact
+{
+ public sealed class ArtifactRepository
+ {
+ public Artifact GetArtifactFor(String uri)
+ {
+ DirectoryInfo uac = new DirectoryInfo(localRepository.FullName + @"\uac\gac_msil\");
+
+ String[] tokens = uri.Split("/".ToCharArray());
+ int size = tokens.Length;
+ if (size < 3)
+ {
+ throw new IOException("Invalid Artifact Path = " + uri);
+ }
+ Artifact artifact = new Artifact();
+ artifact.ArtifactId = tokens[size - 3];
+ StringBuilder buffer = new StringBuilder();
+ for (int i = 0; i < size - 3; i++)
+ {
+ buffer.Append(tokens[i]);
+ if (i != size - 4)
+ {
+ buffer.Append(".");
+ }
+ }
+ artifact.GroupId = buffer.ToString();
+ artifact.Version = tokens[size - 2];
+ artifact.Extension = tokens[size - 1].Split(".".ToCharArray())[1];
+ artifact.FileInfo = new FileInfo(uac.FullName + artifact.ArtifactId + @"\" +
+ artifact.Version + "__" + artifact.GroupId + @"\" + artifact.ArtifactId + ".dll" );
+ return artifact;
+ }
+
+ public List<Artifact> GetArtifacts()
+ {
+ List<Artifact> artifacts = new List<Artifact>();
+ DirectoryInfo uac = new DirectoryInfo(localRepository.FullName + @"\uac\gac_msil\");
+ int directoryStartPosition = uac.FullName.Length;
+
+ List<FileInfo> fileInfos = GetArtifactsFromDirectory(uac);
+
+ foreach (FileInfo fileInfo in fileInfos)
+ {
+ Artifact artifact = new Artifact();
+ String relativePath = fileInfo.FullName.Substring(directoryStartPosition,
+ (fileInfo.FullName.Length - directoryStartPosition));
+ String[] tokens = relativePath.Split(new char[1] { '\\' });
+ artifact.ArtifactId = tokens[0];
+ String[] tokens2 = tokens[1].Split(new char[2]{'_', '_'});
+ artifact.Version = tokens2[0];
+ artifact.GroupId = tokens2[2];
+ artifact.FileInfo = fileInfo;
+ artifacts.Add(artifact);
+ }
+ return artifacts;
+ }
+
+ public void Init(ArtifactContext artifactContext, DirectoryInfo localRepository)
+ {
+ this.artifactContext = artifactContext;
+ this.localRepository = localRepository;
+ }
+
+ private List<FileInfo> GetArtifactsFromDirectory(DirectoryInfo baseDirectoryInfo)
+ {
+ DirectoryInfo[] directories = baseDirectoryInfo.GetDirectories();
+ List<FileInfo> fileInfos = new List<FileInfo>();
+ foreach (DirectoryInfo directoryInfo in directories)
+ {
+ foreach (FileInfo fileInfo in directoryInfo.GetFiles())
+ {
+ fileInfos.Add(fileInfo);
+ }
+ fileInfos.AddRange(GetArtifactsFromDirectory(directoryInfo));
+ }
+ return fileInfos;
+ }
+
+ private ArtifactContext artifactContext;
+ private DirectoryInfo localRepository;
+ }
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/ArtifactRepository.cs
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/ArtifactRepositoryLayout.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/ArtifactScope.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/ArtifactScope.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/ArtifactScope.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/ArtifactScope.cs Mon Jun 30 05:54:00 2008
@@ -1,36 +1,36 @@
-#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.Text;
-
-namespace NMaven.Artifact
-{
- public enum ArtifactScope
- {
- Runtime = 1,
- Compile = 2,
- Test = 3,
- Provided = 4,
- System = 5
- }
-}
+#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.Text;
+
+namespace NMaven.Artifact
+{
+ public enum ArtifactScope
+ {
+ Runtime = 1,
+ Compile = 2,
+ Test = 3,
+ Provided = 4,
+ System = 5
+ }
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/ArtifactScope.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/AssemblyRepositoryLayout.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/AssemblyRepositoryLayout.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/AssemblyRepositoryLayout.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/AssemblyRepositoryLayout.cs Mon Jun 30 05:54:00 2008
@@ -1,39 +1,39 @@
-#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.Text;
-
-namespace NMaven.Artifact
-{
- public sealed class AssemblyRepositoryLayout : ArtifactRepositoryLayout
- {
- public String pathOf(Artifact artifact)
- {
- StringBuilder sb = new StringBuilder();
- sb.Append(artifact.GroupId.Replace('.', '\\')).Append(@"\");
- sb.Append(artifact.ArtifactId).Append(@"\");
- sb.Append(artifact.Version).Append(@"\");
- sb.Append(artifact.ArtifactId).Append(".").Append(artifact.Extension);
- return sb.ToString();
- }
- }
-}
+#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.Text;
+
+namespace NMaven.Artifact
+{
+ public sealed class AssemblyRepositoryLayout : ArtifactRepositoryLayout
+ {
+ public String pathOf(Artifact artifact)
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append(artifact.GroupId.Replace('.', '\\')).Append(@"\");
+ sb.Append(artifact.ArtifactId).Append(@"\");
+ sb.Append(artifact.Version).Append(@"\");
+ sb.Append(artifact.ArtifactId).Append(".").Append(artifact.Extension);
+ return sb.ToString();
+ }
+ }
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/AssemblyRepositoryLayout.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/IArtifactContext.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/IArtifactContext.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/IArtifactContext.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/IArtifactContext.cs Mon Jun 30 05:54:00 2008
@@ -1,38 +1,38 @@
-#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.Text;
-
-namespace NMaven.Artifact
-{
- interface IArtifactContext
- {
- ArtifactRepository GetArtifactRepository();
-
- Artifact GetArtifactFor(NMaven.Model.Pom.Model model);
-
- Artifact CreateArtifact(String groupId, String artifactId, String version, String packaging);
-
- String GetExtensionFor(String packaging);
- }
-}
+#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.Text;
+
+namespace NMaven.Artifact
+{
+ interface IArtifactContext
+ {
+ ArtifactRepository GetArtifactRepository();
+
+ Artifact GetArtifactFor(NMaven.Model.Pom.Model model);
+
+ Artifact CreateArtifact(String groupId, String artifactId, String version, String packaging);
+
+ String GetExtensionFor(String packaging);
+ }
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/IArtifactContext.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/JavaRepositoryLayout.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/JavaRepositoryLayout.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/JavaRepositoryLayout.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/JavaRepositoryLayout.cs Mon Jun 30 05:54:00 2008
@@ -1,39 +1,39 @@
-#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.Text;
-
-namespace NMaven.Artifact
-{
- public sealed class JavaRepositoryLayout : ArtifactRepositoryLayout
- {
- public string pathOf(Artifact artifact)
- {
- StringBuilder sb = new StringBuilder();
- sb.Append(artifact.GroupId.Replace('.', '\\')).Append(@"\");
- sb.Append(artifact.ArtifactId).Append(@"\");
- sb.Append(artifact.Version).Append(@"\");
- sb.Append(artifact.ArtifactId).Append("-").Append(artifact.Version).Append(".").Append(artifact.Extension);
- return sb.ToString();
- }
- }
+#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.Text;
+
+namespace NMaven.Artifact
+{
+ public sealed class JavaRepositoryLayout : ArtifactRepositoryLayout
+ {
+ public string pathOf(Artifact artifact)
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append(artifact.GroupId.Replace('.', '\\')).Append(@"\");
+ sb.Append(artifact.ArtifactId).Append(@"\");
+ sb.Append(artifact.Version).Append(@"\");
+ sb.Append(artifact.ArtifactId).Append("-").Append(artifact.Version).Append(".").Append(artifact.Extension);
+ return sb.ToString();
+ }
+ }
}
\ No newline at end of file
Propchange: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/JavaRepositoryLayout.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/PathUtil.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/PathUtil.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/PathUtil.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/PathUtil.cs Mon Jun 30 05:54:00 2008
@@ -1,43 +1,43 @@
-#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 System.Text;
-
-namespace NMaven.Artifact
-{
- public class PathUtil
- {
- public static FileInfo GetPrivateApplicationBaseFileFor(Artifact artifact, DirectoryInfo localRepository)
- {
- return new FileInfo(localRepository.Parent.FullName + @"\pab\gac_msil\" + artifact.ArtifactId + @"\" + artifact.Version + "__" +
- artifact.GroupId + @"\" + artifact.ArtifactId + "." + artifact.Extension);
- }
-
- public static FileInfo GetUserAssemblyCacheFileFor(Artifact artifact, DirectoryInfo localRepository)
- {
- return new FileInfo(localRepository.Parent.FullName + @"\uac\gac_msil\" + artifact.ArtifactId + @"\" + artifact.Version + "__" +
- artifact.GroupId + @"\" + artifact.ArtifactId + "." + artifact.Extension);
- }
- }
-}
+#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 System.Text;
+
+namespace NMaven.Artifact
+{
+ public class PathUtil
+ {
+ public static FileInfo GetPrivateApplicationBaseFileFor(Artifact artifact, DirectoryInfo localRepository)
+ {
+ return new FileInfo(localRepository.Parent.FullName + @"\pab\gac_msil\" + artifact.ArtifactId + @"\" + artifact.Version + "__" +
+ artifact.GroupId + @"\" + artifact.ArtifactId + "." + artifact.Extension);
+ }
+
+ public static FileInfo GetUserAssemblyCacheFileFor(Artifact artifact, DirectoryInfo localRepository)
+ {
+ return new FileInfo(localRepository.Parent.FullName + @"\uac\gac_msil\" + artifact.ArtifactId + @"\" + artifact.Version + "__" +
+ artifact.GroupId + @"\" + artifact.ArtifactId + "." + artifact.Extension);
+ }
+ }
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/PathUtil.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/RepositoryType.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/RepositoryType.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/RepositoryType.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/RepositoryType.cs Mon Jun 30 05:54:00 2008
@@ -1,32 +1,32 @@
-#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.Text;
-
-namespace NMaven.Artifact
-{
- public enum RepositoryType
- {
- Java = 1,
- Net = 2
- }
-}
+#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.Text;
+
+namespace NMaven.Artifact
+{
+ public enum RepositoryType
+ {
+ Java = 1,
+ Net = 2
+ }
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.Artifact/src/main/csharp/NMaven/Artifact/RepositoryType.cs
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.IDE/src/main/csharp/NMaven/IDE/Commands/BuildCommand.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.IDE/src/main/csharp/NMaven/IDE/Commands/BuildCommand.cs?rev=672753&r1=672752&r2=672753&view=diff
==============================================================================
--- incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.IDE/src/main/csharp/NMaven/IDE/Commands/BuildCommand.cs (original)
+++ incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.IDE/src/main/csharp/NMaven/IDE/Commands/BuildCommand.cs Mon Jun 30 05:54:00 2008
@@ -1,117 +1,117 @@
-#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.Web.Services.Protocols;
-
-using NMaven.IDE;
-using NMaven.Logging;
-using NMaven.Service;
-
-namespace NMaven.IDE.Commands
-{
- /// <summary>
- /// Description of BuildCommand
- /// </summary>
- public class BuildCommand
- {
- private string goal;
-
- private string pomFile;
-
- private int loggerPort;
-
- private IIdeContext ideContext;
-
- public BuildCommand()
- {
- }
-
- public void Init(IIdeContext ideContext)
- {
- this.ideContext = ideContext;
-
- }
-
- public void Execute(object sender, EventArgs args)
- {
- MavenExecutionRequest request = new MavenExecutionRequest();
- request.goal = this.Goal;
- request.pomFile = this.PomFile;
- request.loggerPort = loggerPort;
- request.loggerPortSpecified = true;
- try
- {
- ideContext.Build(request);
- }
- catch (SoapException e)
- {
- ideContext.GetLogger().Log(Level.INFO, "NMaven: Error in build: " + e.Code + ", " + e.SubCode
- + "," + e.StackTrace);
- }
- catch (Exception e)
- {
- ideContext.GetLogger().Log(Level.INFO, "NMaven: Error in build: " + e.Message);
- }
-
- }
-
- public int LoggerPort
- {
- get
- {
- return loggerPort;
- }
-
- set
- {
- loggerPort = value;
- }
- }
-
- public String Goal
- {
- get
- {
- return goal;
- }
-
- set
- {
- goal = value;
- }
- }
-
-
- public String PomFile
- {
- get
- {
- return pomFile;
- }
-
- set
- {
- pomFile = value;
- }
- }
- }
-}
+#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.Web.Services.Protocols;
+
+using NMaven.IDE;
+using NMaven.Logging;
+using NMaven.Service;
+
+namespace NMaven.IDE.Commands
+{
+ /// <summary>
+ /// Description of BuildCommand
+ /// </summary>
+ public class BuildCommand
+ {
+ private string goal;
+
+ private string pomFile;
+
+ private int loggerPort;
+
+ private IIdeContext ideContext;
+
+ public BuildCommand()
+ {
+ }
+
+ public void Init(IIdeContext ideContext)
+ {
+ this.ideContext = ideContext;
+
+ }
+
+ public void Execute(object sender, EventArgs args)
+ {
+ MavenExecutionRequest request = new MavenExecutionRequest();
+ request.goal = this.Goal;
+ request.pomFile = this.PomFile;
+ request.loggerPort = loggerPort;
+ request.loggerPortSpecified = true;
+ try
+ {
+ ideContext.Build(request);
+ }
+ catch (SoapException e)
+ {
+ ideContext.GetLogger().Log(Level.INFO, "NMaven: Error in build: " + e.Code + ", " + e.SubCode
+ + "," + e.StackTrace);
+ }
+ catch (Exception e)
+ {
+ ideContext.GetLogger().Log(Level.INFO, "NMaven: Error in build: " + e.Message);
+ }
+
+ }
+
+ public int LoggerPort
+ {
+ get
+ {
+ return loggerPort;
+ }
+
+ set
+ {
+ loggerPort = value;
+ }
+ }
+
+ public String Goal
+ {
+ get
+ {
+ return goal;
+ }
+
+ set
+ {
+ goal = value;
+ }
+ }
+
+
+ public String PomFile
+ {
+ get
+ {
+ return pomFile;
+ }
+
+ set
+ {
+ pomFile = value;
+ }
+ }
+ }
+}
Propchange: incubator/nmaven/branches/NMAVEN_0.14/assemblies/NMaven.IDE/src/main/csharp/NMaven/IDE/Commands/BuildCommand.cs
------------------------------------------------------------------------------
svn:eol-style = native