You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by br...@apache.org on 2011/12/22 06:54:53 UTC

svn commit: r1222072 [8/13] - in /incubator/npanday/trunk: ./ components/dotnet-executable/src/main/java/npanday/executable/ components/dotnet-executable/src/main/java/npanday/executable/compiler/ components/dotnet-executable/src/main/java/npanday/exec...

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/RemoteArtifactNode.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/RemoteArtifactNode.cs?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/RemoteArtifactNode.cs (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/RemoteArtifactNode.cs Thu Dec 22 06:54:49 2011
@@ -1,35 +1,35 @@
-using System.Windows.Forms;
-
-namespace NPanday.VisualStudio.Addin
-{
-    class RemoteArtifactNode : TreeNode
-    {
-        public RemoteArtifactNode() { }
-        public RemoteArtifactNode(string name) : base(name)
-        {
-        }
-        private bool isAssembly;
-
-        public bool IsAssembly
-        {
-            get { return isAssembly; }
-            set { isAssembly = value; }
-        }
-
-        private string artifactUrl;
-
-        public string ArtifactUrl
-        {
-            get { return artifactUrl; }
-            set { artifactUrl = value; }
-        }
-
-        private bool isFileSystem;
-
-        public bool IsFileSystem
-        {
-            get { return isFileSystem; }
-            set { isFileSystem = value; }
-        }
-    }
+using System.Windows.Forms;
+
+namespace NPanday.VisualStudio.Addin
+{
+    class RemoteArtifactNode : TreeNode
+    {
+        public RemoteArtifactNode() { }
+        public RemoteArtifactNode(string name) : base(name)
+        {
+        }
+        private bool isAssembly;
+
+        public bool IsAssembly
+        {
+            get { return isAssembly; }
+            set { isAssembly = value; }
+        }
+
+        private string artifactUrl;
+
+        public string ArtifactUrl
+        {
+            get { return artifactUrl; }
+            set { artifactUrl = value; }
+        }
+
+        private bool isFileSystem;
+
+        public bool IsFileSystem
+        {
+            get { return isFileSystem; }
+            set { isFileSystem = value; }
+        }
+    }
 }
\ No newline at end of file

Propchange: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/RemoteArtifactNode.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebReferenceEventArgs.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebReferenceEventArgs.cs?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebReferenceEventArgs.cs (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebReferenceEventArgs.cs Thu Dec 22 06:54:49 2011
@@ -1,81 +1,81 @@
-using System;
-using System.IO;
-
-namespace NPanday.VisualStudio.Addin
-{
-    public class WebReferenceEventArgs : FileSystemEventArgs
-    {
-
-        public WebReferenceEventArgs(WatcherChangeTypes changeType, string directory, string name )
-            :base(changeType, directory,name)
-        {
-            this.referenceDirectory = directory;    
-        }
-
-        private string referenceDirectory;
-
-        public string ReferenceDirectory
-        {
-            get { return referenceDirectory; }
-            set { referenceDirectory = value; }
-        }
-
-
-        private string oldNamespace;
-
-        public string OldNamespace
-        {
-            get { return oldNamespace; }
-            set { oldNamespace = value; }
-        }
-
-
-        private string _namespace;
-
-        public string Namespace
-        {
-            get { return _namespace; }
-            set { _namespace = value; }
-        }
-
-        private string wsdlUrl;
-
-        public string WsdlUrl
-        {
-            get { return wsdlUrl; }
-            set { wsdlUrl = value; }
-        }
-
-        private string wsdlFile;
-
-        public string WsdlFile
-        {
-            get { return wsdlFile; }
-            set { wsdlFile = value; }
-        }
-
-
-        public void Init(string wsPath)
-        {
-            if (!string.IsNullOrEmpty(wsPath))
-            {
-                if (!this.referenceDirectory.Equals(Path.Combine(wsPath, this.Name), StringComparison.InvariantCultureIgnoreCase))
-                {
-                    this.referenceDirectory = Path.Combine(wsPath, this.Name);
-                }
-                this.Namespace = this.Name;
-                if (this.ChangeType != WatcherChangeTypes.Deleted)
-                {
-                    string projectPath = Path.GetDirectoryName(Path.GetDirectoryName(this.referenceDirectory));
-                    
-                    this.wsdlUrl = WebServicesReferenceUtils.GetWsdlUrl(WebServicesReferenceUtils.GetReferenceFile(this.referenceDirectory));
-                    this.wsdlFile = WebServicesReferenceUtils.GetWsdlFile(this.referenceDirectory);
-                    this.wsdlFile = this.wsdlFile.Substring(projectPath.Length+1);
-
-                }
-            }
-        }
-
-	
-    }
+using System;
+using System.IO;
+
+namespace NPanday.VisualStudio.Addin
+{
+    public class WebReferenceEventArgs : FileSystemEventArgs
+    {
+
+        public WebReferenceEventArgs(WatcherChangeTypes changeType, string directory, string name )
+            :base(changeType, directory,name)
+        {
+            this.referenceDirectory = directory;    
+        }
+
+        private string referenceDirectory;
+
+        public string ReferenceDirectory
+        {
+            get { return referenceDirectory; }
+            set { referenceDirectory = value; }
+        }
+
+
+        private string oldNamespace;
+
+        public string OldNamespace
+        {
+            get { return oldNamespace; }
+            set { oldNamespace = value; }
+        }
+
+
+        private string _namespace;
+
+        public string Namespace
+        {
+            get { return _namespace; }
+            set { _namespace = value; }
+        }
+
+        private string wsdlUrl;
+
+        public string WsdlUrl
+        {
+            get { return wsdlUrl; }
+            set { wsdlUrl = value; }
+        }
+
+        private string wsdlFile;
+
+        public string WsdlFile
+        {
+            get { return wsdlFile; }
+            set { wsdlFile = value; }
+        }
+
+
+        public void Init(string wsPath)
+        {
+            if (!string.IsNullOrEmpty(wsPath))
+            {
+                if (!this.referenceDirectory.Equals(Path.Combine(wsPath, this.Name), StringComparison.InvariantCultureIgnoreCase))
+                {
+                    this.referenceDirectory = Path.Combine(wsPath, this.Name);
+                }
+                this.Namespace = this.Name;
+                if (this.ChangeType != WatcherChangeTypes.Deleted)
+                {
+                    string projectPath = Path.GetDirectoryName(Path.GetDirectoryName(this.referenceDirectory));
+                    
+                    this.wsdlUrl = WebServicesReferenceUtils.GetWsdlUrl(WebServicesReferenceUtils.GetReferenceFile(this.referenceDirectory));
+                    this.wsdlFile = WebServicesReferenceUtils.GetWsdlFile(this.referenceDirectory);
+                    this.wsdlFile = this.wsdlFile.Substring(projectPath.Length+1);
+
+                }
+            }
+        }
+
+	
+    }
 }
\ No newline at end of file

Propchange: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebReferenceEventArgs.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebReferencesClasses.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebReferencesClasses.cs?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebReferencesClasses.cs (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebReferencesClasses.cs Thu Dec 22 06:54:49 2011
@@ -1,41 +1,41 @@
-using System.IO;
-
-namespace NPanday.VisualStudio.Addin
-{
-    public class WebReferencesClasses
-    {
-        private bool running;
-        private string webRefPath;
-
-        public WebReferencesClasses(string webRefPath)
-        {
-            this.webRefPath = webRefPath;
-            this.running = true;
-        }
-
-        public void WaitForClasses(string nSpace)
-        {
-            while (running)
-            { 
-                //check if classes are generated
-                string[] files = Directory.GetFiles(this.webRefPath);
-                foreach (string file in files)
-                {
-                    if (file.Contains(".cs") || file.Contains(".vb"))
-                    {
-                        if (!string.IsNullOrEmpty(nSpace) && file.Contains(nSpace))
-                        {
-                            running = false;
-                            break;
-                        }
-                        else
-                        {
-                            running = false;
-                            break;
-                        }
-                    }
-                }
-            }
-        }
-    }
+using System.IO;
+
+namespace NPanday.VisualStudio.Addin
+{
+    public class WebReferencesClasses
+    {
+        private bool running;
+        private string webRefPath;
+
+        public WebReferencesClasses(string webRefPath)
+        {
+            this.webRefPath = webRefPath;
+            this.running = true;
+        }
+
+        public void WaitForClasses(string nSpace)
+        {
+            while (running)
+            { 
+                //check if classes are generated
+                string[] files = Directory.GetFiles(this.webRefPath);
+                foreach (string file in files)
+                {
+                    if (file.Contains(".cs") || file.Contains(".vb"))
+                    {
+                        if (!string.IsNullOrEmpty(nSpace) && file.Contains(nSpace))
+                        {
+                            running = false;
+                            break;
+                        }
+                        else
+                        {
+                            running = false;
+                            break;
+                        }
+                    }
+                }
+            }
+        }
+    }
 }
\ No newline at end of file

Propchange: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebReferencesClasses.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebServiceRefInfo.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebServiceRefInfo.cs?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebServiceRefInfo.cs (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebServiceRefInfo.cs Thu Dec 22 06:54:49 2011
@@ -1,69 +1,69 @@
-namespace NPanday.VisualStudio.Addin
-{
-    public class WebServiceRefInfo : IWebServiceRefInfo
-    {
-        public WebServiceRefInfo() { }
-        public WebServiceRefInfo(string name, string wsdlUrl)
-        {
-            this.name = name;
-            this.wsdlUrl = wsdlUrl;
-        }
-
-        #region IWebServiceRefInfo Members
-        string name;
-        public string Name
-        {
-            get
-            {
-                return name;
-            }
-            set
-            {
-                name = value;
-            }
-        }
-
-        string wsdlUrl;
-        public string WSDLUrl
-        {
-            get
-            {
-                return wsdlUrl;
-            }
-            set
-            {
-                wsdlUrl = value;
-            }
-        }
-
-        string outputFile;
-        public string OutputFile
-        {
-            get
-            {
-                return outputFile;
-            }
-            set
-            {
-                outputFile = value;
-            }
-        }
-
-        string wsdlFile;
-        public string WsdlFile
-        {
-            get
-            {
-                return wsdlFile;
-            }
-            set
-            {
-                wsdlFile = value;
-            }
-        }
-
-        #endregion
-
-
-    }
+namespace NPanday.VisualStudio.Addin
+{
+    public class WebServiceRefInfo : IWebServiceRefInfo
+    {
+        public WebServiceRefInfo() { }
+        public WebServiceRefInfo(string name, string wsdlUrl)
+        {
+            this.name = name;
+            this.wsdlUrl = wsdlUrl;
+        }
+
+        #region IWebServiceRefInfo Members
+        string name;
+        public string Name
+        {
+            get
+            {
+                return name;
+            }
+            set
+            {
+                name = value;
+            }
+        }
+
+        string wsdlUrl;
+        public string WSDLUrl
+        {
+            get
+            {
+                return wsdlUrl;
+            }
+            set
+            {
+                wsdlUrl = value;
+            }
+        }
+
+        string outputFile;
+        public string OutputFile
+        {
+            get
+            {
+                return outputFile;
+            }
+            set
+            {
+                outputFile = value;
+            }
+        }
+
+        string wsdlFile;
+        public string WsdlFile
+        {
+            get
+            {
+                return wsdlFile;
+            }
+            set
+            {
+                wsdlFile = value;
+            }
+        }
+
+        #endregion
+
+
+    }
 }
\ No newline at end of file

Propchange: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebServiceRefInfo.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebServicesReferenceWatcher.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebServicesReferenceWatcher.cs?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebServicesReferenceWatcher.cs (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebServicesReferenceWatcher.cs Thu Dec 22 06:54:49 2011
@@ -1,104 +1,104 @@
-using System;
-using System.IO;
-
-namespace NPanday.VisualStudio.Addin
-{
-    public class WebServicesReferenceWatcher
-    {
-        public event EventHandler<WebReferenceEventArgs> Renamed;
-        public event EventHandler<WebReferenceEventArgs> Created;
-        public event EventHandler<WebReferenceEventArgs> Deleted;
-
-        FileSystemWatcher watcher;
-        string folderPath;
-
-        public WebServicesReferenceWatcher(string folderPath)
-        {
-            this.folderPath = folderPath;
-            this.init();
-        }
-
-        public void Start()
-        {
-            watcher.EnableRaisingEvents = true;
-        }
-
-        public void Stop()
-        {
-            watcher.EnableRaisingEvents = false;
-            watcher.Dispose();
-        }
-
-        void init()
-        {
-            
-            watcher = new FileSystemWatcher(folderPath);
-            watcher.NotifyFilter = NotifyFilters.DirectoryName;
-            watcher.Renamed += new RenamedEventHandler(watcher_Renamed);
-            watcher.Deleted += new FileSystemEventHandler(watcher_Deleted);
-            watcher.Created += new FileSystemEventHandler(watcher_Created);
-            watcher.Error += new ErrorEventHandler(watcher_Error);
-            watcher.Changed += new FileSystemEventHandler(watcher_Changed);
-            watcher.IncludeSubdirectories = false;
-            
-        }
-
-        void watcher_Changed(object sender, FileSystemEventArgs e)
-        {
-            Console.WriteLine(e.FullPath);
-        }
-
-        void watcher_Error(object sender, ErrorEventArgs e)
-        {
-            this.Stop();
-        }
-
-        void watcher_Created(object sender, FileSystemEventArgs e)
-        {
-            WebReferenceEventArgs a = new WebReferenceEventArgs(e.ChangeType, e.FullPath, e.Name);
-
-            onCreated(a);
-        }
-
-        void watcher_Deleted(object sender, FileSystemEventArgs e)
-        {
-            WebReferenceEventArgs a = new WebReferenceEventArgs(e.ChangeType, e.FullPath, e.Name);
-            onDeleted(a);
-        }
-
-        void watcher_Renamed(object sender, RenamedEventArgs e)
-        {
-            WebReferenceEventArgs a = new WebReferenceEventArgs(e.ChangeType, e.FullPath, e.Name);
-            a.OldNamespace = e.OldName;
-            
-            onRenamed(a);            
-        }
-
-        void onRenamed(WebReferenceEventArgs e)
-        {
-            if (Renamed != null)
-            {
-                Renamed(this, e);
-            }
-        }
-
-        void onDeleted(WebReferenceEventArgs e)
-        {
-            if (Deleted != null)
-            {
-                Deleted(this, e);
-            }
-        }
-
-        void onCreated(WebReferenceEventArgs e)
-        {
-            if (Created != null)
-            {
-                Created(this, e);
-            }
-        }
-
-
-
-    }
+using System;
+using System.IO;
+
+namespace NPanday.VisualStudio.Addin
+{
+    public class WebServicesReferenceWatcher
+    {
+        public event EventHandler<WebReferenceEventArgs> Renamed;
+        public event EventHandler<WebReferenceEventArgs> Created;
+        public event EventHandler<WebReferenceEventArgs> Deleted;
+
+        FileSystemWatcher watcher;
+        string folderPath;
+
+        public WebServicesReferenceWatcher(string folderPath)
+        {
+            this.folderPath = folderPath;
+            this.init();
+        }
+
+        public void Start()
+        {
+            watcher.EnableRaisingEvents = true;
+        }
+
+        public void Stop()
+        {
+            watcher.EnableRaisingEvents = false;
+            watcher.Dispose();
+        }
+
+        void init()
+        {
+            
+            watcher = new FileSystemWatcher(folderPath);
+            watcher.NotifyFilter = NotifyFilters.DirectoryName;
+            watcher.Renamed += new RenamedEventHandler(watcher_Renamed);
+            watcher.Deleted += new FileSystemEventHandler(watcher_Deleted);
+            watcher.Created += new FileSystemEventHandler(watcher_Created);
+            watcher.Error += new ErrorEventHandler(watcher_Error);
+            watcher.Changed += new FileSystemEventHandler(watcher_Changed);
+            watcher.IncludeSubdirectories = false;
+            
+        }
+
+        void watcher_Changed(object sender, FileSystemEventArgs e)
+        {
+            Console.WriteLine(e.FullPath);
+        }
+
+        void watcher_Error(object sender, ErrorEventArgs e)
+        {
+            this.Stop();
+        }
+
+        void watcher_Created(object sender, FileSystemEventArgs e)
+        {
+            WebReferenceEventArgs a = new WebReferenceEventArgs(e.ChangeType, e.FullPath, e.Name);
+
+            onCreated(a);
+        }
+
+        void watcher_Deleted(object sender, FileSystemEventArgs e)
+        {
+            WebReferenceEventArgs a = new WebReferenceEventArgs(e.ChangeType, e.FullPath, e.Name);
+            onDeleted(a);
+        }
+
+        void watcher_Renamed(object sender, RenamedEventArgs e)
+        {
+            WebReferenceEventArgs a = new WebReferenceEventArgs(e.ChangeType, e.FullPath, e.Name);
+            a.OldNamespace = e.OldName;
+            
+            onRenamed(a);            
+        }
+
+        void onRenamed(WebReferenceEventArgs e)
+        {
+            if (Renamed != null)
+            {
+                Renamed(this, e);
+            }
+        }
+
+        void onDeleted(WebReferenceEventArgs e)
+        {
+            if (Deleted != null)
+            {
+                Deleted(this, e);
+            }
+        }
+
+        void onCreated(WebReferenceEventArgs e)
+        {
+            if (Created != null)
+            {
+                Created(this, e);
+            }
+        }
+
+
+
+    }
 }
\ No newline at end of file

Propchange: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebServicesReferenceWatcher.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebsiteAssemblyReferenceWatcher.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebsiteAssemblyReferenceWatcher.cs?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebsiteAssemblyReferenceWatcher.cs (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebsiteAssemblyReferenceWatcher.cs Thu Dec 22 06:54:49 2011
@@ -1,58 +1,58 @@
-using System.IO;
-
-namespace NPanday.VisualStudio.Addin
-{
-    public class WebsiteAssemblyReferenceWatcher
-    { 
-        //public event RenamedEventHandler Renamed;
-        public event FileSystemEventHandler Created;
-        public event FileSystemEventHandler Deleted;
-
-        FileSystemWatcher watcher;
-        string folderPath;
-
-        public WebsiteAssemblyReferenceWatcher(string folderPath)
-        {
-            this.folderPath = folderPath;
-            this.init();
-        }
-
-        public void Start()
-        {
-            watcher.EnableRaisingEvents = true;
-        }
-
-        public void Stop()
-        {
-            watcher.EnableRaisingEvents = false;
-            watcher.Dispose();
-        }
-
-        void init()
-        {
-            watcher = new FileSystemWatcher(folderPath);
-            watcher.NotifyFilter = NotifyFilters.FileName;
-            watcher.Deleted += new FileSystemEventHandler(watcher_Deleted);
-            watcher.Created += new FileSystemEventHandler(watcher_Created);
-            watcher.IncludeSubdirectories = false;
-            
-        }
-
-       
-
-        void watcher_Created(object sender, FileSystemEventArgs e)
-        {
-            if (Created != null)
-            {
-                Created(this, e);
-            }
-        }
-
-        void watcher_Deleted(object sender, FileSystemEventArgs e)
-        {
-            if (Deleted != null)
-                Deleted(this, e);
-        }
-
-    }
+using System.IO;
+
+namespace NPanday.VisualStudio.Addin
+{
+    public class WebsiteAssemblyReferenceWatcher
+    { 
+        //public event RenamedEventHandler Renamed;
+        public event FileSystemEventHandler Created;
+        public event FileSystemEventHandler Deleted;
+
+        FileSystemWatcher watcher;
+        string folderPath;
+
+        public WebsiteAssemblyReferenceWatcher(string folderPath)
+        {
+            this.folderPath = folderPath;
+            this.init();
+        }
+
+        public void Start()
+        {
+            watcher.EnableRaisingEvents = true;
+        }
+
+        public void Stop()
+        {
+            watcher.EnableRaisingEvents = false;
+            watcher.Dispose();
+        }
+
+        void init()
+        {
+            watcher = new FileSystemWatcher(folderPath);
+            watcher.NotifyFilter = NotifyFilters.FileName;
+            watcher.Deleted += new FileSystemEventHandler(watcher_Deleted);
+            watcher.Created += new FileSystemEventHandler(watcher_Created);
+            watcher.IncludeSubdirectories = false;
+            
+        }
+
+       
+
+        void watcher_Created(object sender, FileSystemEventArgs e)
+        {
+            if (Created != null)
+            {
+                Created(this, e);
+            }
+        }
+
+        void watcher_Deleted(object sender, FileSystemEventArgs e)
+        {
+            if (Deleted != null)
+                Deleted(this, e);
+        }
+
+    }
 }
\ No newline at end of file

Propchange: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/main/csharp/WebsiteAssemblyReferenceWatcher.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/AddLocalMavenArtifactTest.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/AddLocalMavenArtifactTest.cs?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/AddLocalMavenArtifactTest.cs (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/AddLocalMavenArtifactTest.cs Thu Dec 22 06:54:49 2011
@@ -1,101 +1,101 @@
-#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.IO;
-using NUnit.Framework;
-using NPanday.VisualStudio.Addin;
-
-namespace NPanday.VisualStudio.Addin_Test
-{
-    [TestFixture]
-    public class AddLocalMavenArtifactTest
-    {
-        private DirectoryInfo testProject;
-        private DirectoryInfo testProjectCopy;
-        private DirectoryInfo repo;
-        private DirectoryInfo repoCopy;
-        private ReferenceManager refManager;
-        private Artifact.Artifact testArtifact;
-
-        public AddLocalMavenArtifactTest()
-        {
-            testProject = new DirectoryInfo(FileUtils.getBaseDirectory() + "\\src\\test\\resource\\TestProject");
-            testProjectCopy = new DirectoryInfo(FileUtils.getBaseDirectory() + "\\src\\test\\resource\\TestProjectCopy");
-
-            repo = new DirectoryInfo(FileUtils.getBaseDirectory() + "\\src\\test\\resource\\m2");
-            repoCopy = new DirectoryInfo(FileUtils.getBaseDirectory() + "\\src\\test\\resource\\m2Copy");
-        }
-
-        [TestFixtureSetUp]
-        public void TestSetUp()
-        {
-            FileUtils.CopyDirectory(testProject, testProjectCopy);
-            FileUtils.CopyDirectory(repo, repoCopy);
-
-            refManager = new ReferenceManager();
-            refManager.ReferenceFolder = testProjectCopy.FullName + "\\TestProject\\.references";
-
-            testArtifact = new Artifact.Artifact();
-            testArtifact.GroupId = "npanday.test";
-            testArtifact.ArtifactId = "NPanday.Test";
-            testArtifact.Version = "1.0";
-            testArtifact.Extension = "dll";
-        }
-
-        [Test]
-        public void addMavenArtifact()
-        {
-            testArtifact.FileInfo = new FileInfo(FileUtils.getBaseDirectory() + "\\src\\test\\resource\\m2Copy\\ClassLibrary1.dll");
-            refManager.CopyArtifact(testArtifact, null);
-            Assert.IsTrue(new FileInfo(refManager.ReferenceFolder + "\\npanday.test\\NPanday.Test-1.0\\NPanday.Test.dll").Exists);
-        }
-
-        [Test]
-        public void addExistingMavenArtifact()
-        {
-            testArtifact.FileInfo = new FileInfo(FileUtils.getBaseDirectory() + "\\src\\test\\resource\\m2Copy\\ClassLibrary1.dll");
-            refManager.CopyArtifact(testArtifact, null);
-            FileInfo copiedArtifact = new FileInfo(refManager.ReferenceFolder + "\\npanday.test\\NPanday.Test-1.0\\NPanday.Test.dll");
-
-            Assert.IsTrue(copiedArtifact.Exists);
-            Assert.AreEqual(testArtifact.FileInfo.Length, copiedArtifact.Length);
-
-            testArtifact.FileInfo = new FileInfo(FileUtils.getBaseDirectory() + "\\src\\test\\resource\\m2Copy\\ClassLibrary2.dll");
-
-            Assert.IsFalse(copiedArtifact.Length == testArtifact.FileInfo.Length);
-            //so that new artifact will have a newer timestamp
-            File.SetLastWriteTime(testArtifact.FileInfo.FullName, copiedArtifact.LastWriteTime.AddMinutes(1));
-
-            refManager.CopyArtifact(testArtifact, null);
-            FileInfo copiedArtifact2 = new FileInfo(refManager.ReferenceFolder + "\\npanday.test\\NPanday.Test-1.0\\NPanday.Test.dll");
-
-            Assert.IsTrue(copiedArtifact2.Exists);
-            Assert.AreEqual(testArtifact.FileInfo.Length, copiedArtifact2.Length);
-        }
-
-        [TestFixtureTearDown]
-        public void TestTearDown()
-        {
-            Directory.Delete(testProjectCopy.FullName, true);
-            Directory.Delete(repoCopy.FullName, 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.IO;
+using NUnit.Framework;
+using NPanday.VisualStudio.Addin;
+
+namespace NPanday.VisualStudio.Addin_Test
+{
+    [TestFixture]
+    public class AddLocalMavenArtifactTest
+    {
+        private DirectoryInfo testProject;
+        private DirectoryInfo testProjectCopy;
+        private DirectoryInfo repo;
+        private DirectoryInfo repoCopy;
+        private ReferenceManager refManager;
+        private Artifact.Artifact testArtifact;
+
+        public AddLocalMavenArtifactTest()
+        {
+            testProject = new DirectoryInfo(FileUtils.getBaseDirectory() + "\\src\\test\\resource\\TestProject");
+            testProjectCopy = new DirectoryInfo(FileUtils.getBaseDirectory() + "\\src\\test\\resource\\TestProjectCopy");
+
+            repo = new DirectoryInfo(FileUtils.getBaseDirectory() + "\\src\\test\\resource\\m2");
+            repoCopy = new DirectoryInfo(FileUtils.getBaseDirectory() + "\\src\\test\\resource\\m2Copy");
+        }
+
+        [TestFixtureSetUp]
+        public void TestSetUp()
+        {
+            FileUtils.CopyDirectory(testProject, testProjectCopy);
+            FileUtils.CopyDirectory(repo, repoCopy);
+
+            refManager = new ReferenceManager();
+            refManager.ReferenceFolder = testProjectCopy.FullName + "\\TestProject\\.references";
+
+            testArtifact = new Artifact.Artifact();
+            testArtifact.GroupId = "npanday.test";
+            testArtifact.ArtifactId = "NPanday.Test";
+            testArtifact.Version = "1.0";
+            testArtifact.Extension = "dll";
+        }
+
+        [Test]
+        public void addMavenArtifact()
+        {
+            testArtifact.FileInfo = new FileInfo(FileUtils.getBaseDirectory() + "\\src\\test\\resource\\m2Copy\\ClassLibrary1.dll");
+            refManager.CopyArtifact(testArtifact, null);
+            Assert.IsTrue(new FileInfo(refManager.ReferenceFolder + "\\npanday.test\\NPanday.Test-1.0\\NPanday.Test.dll").Exists);
+        }
+
+        [Test]
+        public void addExistingMavenArtifact()
+        {
+            testArtifact.FileInfo = new FileInfo(FileUtils.getBaseDirectory() + "\\src\\test\\resource\\m2Copy\\ClassLibrary1.dll");
+            refManager.CopyArtifact(testArtifact, null);
+            FileInfo copiedArtifact = new FileInfo(refManager.ReferenceFolder + "\\npanday.test\\NPanday.Test-1.0\\NPanday.Test.dll");
+
+            Assert.IsTrue(copiedArtifact.Exists);
+            Assert.AreEqual(testArtifact.FileInfo.Length, copiedArtifact.Length);
+
+            testArtifact.FileInfo = new FileInfo(FileUtils.getBaseDirectory() + "\\src\\test\\resource\\m2Copy\\ClassLibrary2.dll");
+
+            Assert.IsFalse(copiedArtifact.Length == testArtifact.FileInfo.Length);
+            //so that new artifact will have a newer timestamp
+            File.SetLastWriteTime(testArtifact.FileInfo.FullName, copiedArtifact.LastWriteTime.AddMinutes(1));
+
+            refManager.CopyArtifact(testArtifact, null);
+            FileInfo copiedArtifact2 = new FileInfo(refManager.ReferenceFolder + "\\npanday.test\\NPanday.Test-1.0\\NPanday.Test.dll");
+
+            Assert.IsTrue(copiedArtifact2.Exists);
+            Assert.AreEqual(testArtifact.FileInfo.Length, copiedArtifact2.Length);
+        }
+
+        [TestFixtureTearDown]
+        public void TestTearDown()
+        {
+            Directory.Delete(testProjectCopy.FullName, true);
+            Directory.Delete(repoCopy.FullName, true);
+        }
+    }
 }
\ No newline at end of file

Propchange: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/AddLocalMavenArtifactTest.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/AddWebReferenceTest.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/AddWebReferenceTest.cs?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/AddWebReferenceTest.cs (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/AddWebReferenceTest.cs Thu Dec 22 06:54:49 2011
@@ -1,170 +1,170 @@
-#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;
-using NUnit.Framework;
-using System.IO;
-using NPanday.Utils;
-
-namespace NPanday.VisualStudio.Addin_Test
-{
-    [TestFixture]
-    public class AddWebReferenceTest
-    {
-        private PomHelperUtility pomCopy;
-        private PomHelperUtility pomCopy2;        
-        private String pomPath;
-        private String pomPath2;        
-        private String pomCopyPath;
-        private String pomCopyPath2;        
-        private String fullPath;
-        private String path;
-        private String testFullPath;
-        private String testPath;
-        private String output;
-        private StringBuilder strLine;
-
-        public AddWebReferenceTest()
-        {
-            pomPath = (new FileInfo(Directory.GetCurrentDirectory().Substring(0, Directory.GetCurrentDirectory().LastIndexOf("target")) + "\\src\\test\\resource\\ClassLibrary1\\ClassLibrary1\\pom.xml").FullName);
-            pomCopyPath = pomPath.Replace("pom.xml", "pomCopy.xml");
-
-            fullPath = (new FileInfo(Directory.GetCurrentDirectory().Substring(0, Directory.GetCurrentDirectory().LastIndexOf("target")) + "\\src\\test\\resource\\ClassLibrary1\\ClassLibrary1\\Web References\\WebRef").FullName);
-            path = "Web References\\WebRef\\demoService.wsdl";
-
-            testFullPath = (new FileInfo(Directory.GetCurrentDirectory().Substring(0, Directory.GetCurrentDirectory().LastIndexOf("target")) + "\\src\\test\\resource\\ClassLibrary1\\ClassLibrary1\\Web References\\WebRef2").FullName);
-            testPath = "Web References\\WebRef2\\dilbert.wsdl";
-
-            pomPath2 = (new FileInfo(Directory.GetCurrentDirectory().Substring(0, Directory.GetCurrentDirectory().LastIndexOf("target")) + "\\src\\test\\resource\\ClassLibrary1\\ClassLibrary1\\pom2.xml").FullName);
-            pomCopyPath2 = pomPath2.Replace("pom2.xml", "pomCopy2.xml");
-        }
-
-        [SetUp]
-        public void TestSetUp()
-        {
-            File.Copy(pomPath, pomCopyPath);
-            File.Copy(pomPath2, pomCopyPath2);
-
-            pomCopy = new PomHelperUtility(pomCopyPath);
-            pomCopy2 = new PomHelperUtility(pomCopyPath2);
-            
-        }
-        [Test]
-        public void AddNewWebReferenceTest()
-        {
-            int ctr = 0;
-
-            ctr = GetWebReferenceCount(pomCopyPath);
-            Assert.AreEqual(0, ctr);
-            pomCopy.AddWebReference("WebRef", path, output, null);
-
-            ctr = GetWebReferenceCount(pomCopyPath);
-            Assert.AreEqual(1, ctr);
-            Assert.IsTrue(strLine.ToString().Contains("<path>Web References/WebRef/demoService.wsdl</path>"));
-        }
-
-        [Test]
-        public void AddDuplicateWebReferenceTest()
-        {
-            int ctr = 0;
-            ctr = GetWebReferenceCount(pomCopyPath);
-            Assert.AreEqual(0, ctr);
-
-            pomCopy.AddWebReference("WebRef", path, output, null);
-            pomCopy.AddWebReference("WebRef", path, output, null);
-
-            ctr = GetWebReferenceCount(pomCopyPath);
-            Assert.AreEqual(1, ctr);
-        }
-
-        [Test]
-        public void AddWithExistingWebReferenceTest()
-        {
-            int ctr = 0;
-            
-            ctr = GetWebReferenceCount(pomCopyPath2);
-            Assert.AreEqual (1, ctr);
-
-            pomCopy2.AddWebReference("WebRef", path, output, null);
-
-            ctr = GetWebReferenceCount(pomCopyPath2);
-            Assert.AreEqual(2, ctr);
-        }
-
-        [Test]
-        public void CheckIncludeSourceWithDiscoFileTest()
-        {
-            pomCopy.AddWebReference("WebRef", testPath, output, null);
-            Assert.IsFalse(GetIncludeSource(pomCopyPath));
-        }
-
-        private bool GetIncludeSource(String pom_path)
-        {
-            bool exists = false;
-            String line;
-            StreamReader strm = new StreamReader(pom_path);
-            strLine = new StringBuilder();
-
-            while ((line = strm.ReadLine()) != null)
-            {
-                strLine.Append(line);
-
-                if (line.ToString().Contains(".disco"))
-                {
-                    exists = true;
-                }
-            }
-
-            strm.Close();
-            return exists;
-        }
-
-        private int GetWebReferenceCount(String pom_path)
-        {
-            int ctr = 0;
-            String line;
-            StreamReader strm = new StreamReader(pom_path);
-            strLine = new StringBuilder();
-
-            while ((line = strm.ReadLine()) != null)
-            {
-                strLine.Append(line);
-
-                if (line.ToString().Contains("<webreference>"))
-                {
-                    ctr++;
-                }
-           }
-
-            strm.Close();
-            return ctr;
-        }
-
-        [TearDown]
-        public void TestTearDown()
-        {
-            File.Delete(pomCopyPath);
-            File.Delete(pomCopyPath2);            
-        }
-
-    }
-}
+#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;
+using NUnit.Framework;
+using System.IO;
+using NPanday.Utils;
+
+namespace NPanday.VisualStudio.Addin_Test
+{
+    [TestFixture]
+    public class AddWebReferenceTest
+    {
+        private PomHelperUtility pomCopy;
+        private PomHelperUtility pomCopy2;        
+        private String pomPath;
+        private String pomPath2;        
+        private String pomCopyPath;
+        private String pomCopyPath2;        
+        private String fullPath;
+        private String path;
+        private String testFullPath;
+        private String testPath;
+        private String output;
+        private StringBuilder strLine;
+
+        public AddWebReferenceTest()
+        {
+            pomPath = (new FileInfo(Directory.GetCurrentDirectory().Substring(0, Directory.GetCurrentDirectory().LastIndexOf("target")) + "\\src\\test\\resource\\ClassLibrary1\\ClassLibrary1\\pom.xml").FullName);
+            pomCopyPath = pomPath.Replace("pom.xml", "pomCopy.xml");
+
+            fullPath = (new FileInfo(Directory.GetCurrentDirectory().Substring(0, Directory.GetCurrentDirectory().LastIndexOf("target")) + "\\src\\test\\resource\\ClassLibrary1\\ClassLibrary1\\Web References\\WebRef").FullName);
+            path = "Web References\\WebRef\\demoService.wsdl";
+
+            testFullPath = (new FileInfo(Directory.GetCurrentDirectory().Substring(0, Directory.GetCurrentDirectory().LastIndexOf("target")) + "\\src\\test\\resource\\ClassLibrary1\\ClassLibrary1\\Web References\\WebRef2").FullName);
+            testPath = "Web References\\WebRef2\\dilbert.wsdl";
+
+            pomPath2 = (new FileInfo(Directory.GetCurrentDirectory().Substring(0, Directory.GetCurrentDirectory().LastIndexOf("target")) + "\\src\\test\\resource\\ClassLibrary1\\ClassLibrary1\\pom2.xml").FullName);
+            pomCopyPath2 = pomPath2.Replace("pom2.xml", "pomCopy2.xml");
+        }
+
+        [SetUp]
+        public void TestSetUp()
+        {
+            File.Copy(pomPath, pomCopyPath);
+            File.Copy(pomPath2, pomCopyPath2);
+
+            pomCopy = new PomHelperUtility(pomCopyPath);
+            pomCopy2 = new PomHelperUtility(pomCopyPath2);
+            
+        }
+        [Test]
+        public void AddNewWebReferenceTest()
+        {
+            int ctr = 0;
+
+            ctr = GetWebReferenceCount(pomCopyPath);
+            Assert.AreEqual(0, ctr);
+            pomCopy.AddWebReference("WebRef", path, output, null);
+
+            ctr = GetWebReferenceCount(pomCopyPath);
+            Assert.AreEqual(1, ctr);
+            Assert.IsTrue(strLine.ToString().Contains("<path>Web References/WebRef/demoService.wsdl</path>"));
+        }
+
+        [Test]
+        public void AddDuplicateWebReferenceTest()
+        {
+            int ctr = 0;
+            ctr = GetWebReferenceCount(pomCopyPath);
+            Assert.AreEqual(0, ctr);
+
+            pomCopy.AddWebReference("WebRef", path, output, null);
+            pomCopy.AddWebReference("WebRef", path, output, null);
+
+            ctr = GetWebReferenceCount(pomCopyPath);
+            Assert.AreEqual(1, ctr);
+        }
+
+        [Test]
+        public void AddWithExistingWebReferenceTest()
+        {
+            int ctr = 0;
+            
+            ctr = GetWebReferenceCount(pomCopyPath2);
+            Assert.AreEqual (1, ctr);
+
+            pomCopy2.AddWebReference("WebRef", path, output, null);
+
+            ctr = GetWebReferenceCount(pomCopyPath2);
+            Assert.AreEqual(2, ctr);
+        }
+
+        [Test]
+        public void CheckIncludeSourceWithDiscoFileTest()
+        {
+            pomCopy.AddWebReference("WebRef", testPath, output, null);
+            Assert.IsFalse(GetIncludeSource(pomCopyPath));
+        }
+
+        private bool GetIncludeSource(String pom_path)
+        {
+            bool exists = false;
+            String line;
+            StreamReader strm = new StreamReader(pom_path);
+            strLine = new StringBuilder();
+
+            while ((line = strm.ReadLine()) != null)
+            {
+                strLine.Append(line);
+
+                if (line.ToString().Contains(".disco"))
+                {
+                    exists = true;
+                }
+            }
+
+            strm.Close();
+            return exists;
+        }
+
+        private int GetWebReferenceCount(String pom_path)
+        {
+            int ctr = 0;
+            String line;
+            StreamReader strm = new StreamReader(pom_path);
+            strLine = new StringBuilder();
+
+            while ((line = strm.ReadLine()) != null)
+            {
+                strLine.Append(line);
+
+                if (line.ToString().Contains("<webreference>"))
+                {
+                    ctr++;
+                }
+           }
+
+            strm.Close();
+            return ctr;
+        }
+
+        [TearDown]
+        public void TestTearDown()
+        {
+            File.Delete(pomCopyPath);
+            File.Delete(pomCopyPath2);            
+        }
+
+    }
+}

Propchange: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/AddWebReferenceTest.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/FileUtils.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/FileUtils.cs?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/FileUtils.cs (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/FileUtils.cs Thu Dec 22 06:54:49 2011
@@ -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;
-
-namespace NPanday.VisualStudio.Addin_Test
-{
-    public class FileUtils
-    {
-        public static string getBaseDirectory()
-        {
-            return new FileInfo(Directory.GetCurrentDirectory().Substring(0, Directory.GetCurrentDirectory().LastIndexOf("target"))).FullName;
-        }
-
-        public static string getLocalRepository()
-        {
-            string homePath = string.Empty;
-            if (Environment.OSVersion.Platform == PlatformID.Unix || Environment.OSVersion.Platform == PlatformID.MacOSX)
-            {
-                homePath = Environment.GetEnvironmentVariable("HOME");
-            }
-            else
-            {
-                homePath = Environment.ExpandEnvironmentVariables("%HOMEDRIVE%%HOMEPATH%");
-
-                if (homePath == null || homePath == string.Empty)
-                {
-                    homePath = Environment.GetEnvironmentVariable("USERPROFILE");
-                }
-            }
-
-            return new FileInfo(homePath + "\\.m2").FullName;
-
-        }
-
-        public static void CopyDirectory(DirectoryInfo source, DirectoryInfo destination)
-        {
-            if (!destination.Exists)
-            {
-                destination.Create();
-            }
-
-            FileInfo[] files = source.GetFiles();
-            foreach (FileInfo filePath in files)
-            {
-                if (filePath.Name != null && !filePath.Name.EndsWith(".test"))
-                    filePath.CopyTo(Path.Combine(destination.FullName, filePath.Name));
-            }
-
-            DirectoryInfo[] subDirectories = source.GetDirectories();
-            foreach (DirectoryInfo dirPath in subDirectories)
-            {
-                if (!dirPath.Name.Equals(".svn"))
-                {
-                    CopyDirectory(new DirectoryInfo(Path.Combine(source.FullName, dirPath.Name)), new DirectoryInfo(Path.Combine(destination.FullName, dirPath.Name)));
-                }
-            }
-        }
-    }
-}
+#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 NPanday.VisualStudio.Addin_Test
+{
+    public class FileUtils
+    {
+        public static string getBaseDirectory()
+        {
+            return new FileInfo(Directory.GetCurrentDirectory().Substring(0, Directory.GetCurrentDirectory().LastIndexOf("target"))).FullName;
+        }
+
+        public static string getLocalRepository()
+        {
+            string homePath = string.Empty;
+            if (Environment.OSVersion.Platform == PlatformID.Unix || Environment.OSVersion.Platform == PlatformID.MacOSX)
+            {
+                homePath = Environment.GetEnvironmentVariable("HOME");
+            }
+            else
+            {
+                homePath = Environment.ExpandEnvironmentVariables("%HOMEDRIVE%%HOMEPATH%");
+
+                if (homePath == null || homePath == string.Empty)
+                {
+                    homePath = Environment.GetEnvironmentVariable("USERPROFILE");
+                }
+            }
+
+            return new FileInfo(homePath + "\\.m2").FullName;
+
+        }
+
+        public static void CopyDirectory(DirectoryInfo source, DirectoryInfo destination)
+        {
+            if (!destination.Exists)
+            {
+                destination.Create();
+            }
+
+            FileInfo[] files = source.GetFiles();
+            foreach (FileInfo filePath in files)
+            {
+                if (filePath.Name != null && !filePath.Name.EndsWith(".test"))
+                    filePath.CopyTo(Path.Combine(destination.FullName, filePath.Name));
+            }
+
+            DirectoryInfo[] subDirectories = source.GetDirectories();
+            foreach (DirectoryInfo dirPath in subDirectories)
+            {
+                if (!dirPath.Name.Equals(".svn"))
+                {
+                    CopyDirectory(new DirectoryInfo(Path.Combine(source.FullName, dirPath.Name)), new DirectoryInfo(Path.Combine(destination.FullName, dirPath.Name)));
+                }
+            }
+        }
+    }
+}

Propchange: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/FileUtils.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/MavenCompilePluginConfigurationTest.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/MavenCompilePluginConfigurationTest.cs?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/MavenCompilePluginConfigurationTest.cs (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/MavenCompilePluginConfigurationTest.cs Thu Dec 22 06:54:49 2011
@@ -1,80 +1,80 @@
-#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 NUnit.Framework;
-using NPanday.Utils;
-using System.IO;
-
-namespace NPanday.VisualStudio.Addin_Test
-{
-    [TestFixture]
-    public class MavenCompilePluginConfigurationTest
-    {
-        private PomHelperUtility pomCopy;
-        private String pomPath;
-        private String pomCopyPath;
-
-
-
-        public MavenCompilePluginConfigurationTest()
-        {
-
-        }
-
-        [SetUp]
-        public void TestSetUp()
-        {
-            pomPath = (new FileInfo(Directory.GetCurrentDirectory().Substring(0, Directory.GetCurrentDirectory().LastIndexOf("target")) + "\\src\\test\\resource\\ClassLibrary1\\ClassLibrary1\\pom.xml").FullName);
-
-            pomCopyPath = pomPath.Replace("pom.xml", "pomCopy.xml");
-
-            pomCopy = new PomHelperUtility(pomCopyPath);
-
-            File.Copy(pomPath, pomCopyPath);
-        }
-        
-        [Test]
-        public void AddMavenCompilePluginConfigurationTest()
-        {
-            pomCopy.AddMavenCompilePluginConfiguration("org.apache.npanday.plugins", "maven-compile-plugin", "includeSources", "includeSource", "IISHandler1.cs");
-        }
-
-        [Test]
-        public void RenameMavenCompilePluginConfigurationTest()
-        {
-            pomCopy.RenameMavenCompilePluginConfiguration("org.apache.npanday.plugins", "maven-compile-plugin", "includeSources", "includeSource", "IISHandler1.cs","IISHandlerRenamed.cs");
-        }
-
-        [Test]
-        public void RemoveMavenCompilePluginConfigurationTest()
-        {
-            pomCopy.RemoveMavenCompilePluginConfiguration("org.apache.npanday.plugins", "maven-compile-plugin", "includeSources", "includeSource", "IISHandler1.cs");
-        }
-
-        [TearDown]
-        public void TestCleanUp()
-        {
-            File.Delete(pomCopyPath);
-        }
-
-    }
-}
+#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 NUnit.Framework;
+using NPanday.Utils;
+using System.IO;
+
+namespace NPanday.VisualStudio.Addin_Test
+{
+    [TestFixture]
+    public class MavenCompilePluginConfigurationTest
+    {
+        private PomHelperUtility pomCopy;
+        private String pomPath;
+        private String pomCopyPath;
+
+
+
+        public MavenCompilePluginConfigurationTest()
+        {
+
+        }
+
+        [SetUp]
+        public void TestSetUp()
+        {
+            pomPath = (new FileInfo(Directory.GetCurrentDirectory().Substring(0, Directory.GetCurrentDirectory().LastIndexOf("target")) + "\\src\\test\\resource\\ClassLibrary1\\ClassLibrary1\\pom.xml").FullName);
+
+            pomCopyPath = pomPath.Replace("pom.xml", "pomCopy.xml");
+
+            pomCopy = new PomHelperUtility(pomCopyPath);
+
+            File.Copy(pomPath, pomCopyPath);
+        }
+        
+        [Test]
+        public void AddMavenCompilePluginConfigurationTest()
+        {
+            pomCopy.AddMavenCompilePluginConfiguration("org.apache.npanday.plugins", "maven-compile-plugin", "includeSources", "includeSource", "IISHandler1.cs");
+        }
+
+        [Test]
+        public void RenameMavenCompilePluginConfigurationTest()
+        {
+            pomCopy.RenameMavenCompilePluginConfiguration("org.apache.npanday.plugins", "maven-compile-plugin", "includeSources", "includeSource", "IISHandler1.cs","IISHandlerRenamed.cs");
+        }
+
+        [Test]
+        public void RemoveMavenCompilePluginConfigurationTest()
+        {
+            pomCopy.RemoveMavenCompilePluginConfiguration("org.apache.npanday.plugins", "maven-compile-plugin", "includeSources", "includeSource", "IISHandler1.cs");
+        }
+
+        [TearDown]
+        public void TestCleanUp()
+        {
+            File.Delete(pomCopyPath);
+        }
+
+    }
+}

Propchange: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/MavenCompilePluginConfigurationTest.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/MavenResxPluginConfigurationTest.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/MavenResxPluginConfigurationTest.cs?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/MavenResxPluginConfigurationTest.cs (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/MavenResxPluginConfigurationTest.cs Thu Dec 22 06:54:49 2011
@@ -1,81 +1,81 @@
-#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 NUnit.Framework;
-using NPanday.Utils;
-using System.IO;
-
-namespace NPanday.VisualStudio.Addin_Test
-{
-    [TestFixture]
-    public class MavenResxPluginConfigurationTest
-    {
-        private PomHelperUtility pomCopy;
-        private String pomPath;
-        private String pomCopyPath;
-
-
-
-        public MavenResxPluginConfigurationTest()
-        {
-
-        }
-
-        [SetUp]
-        public void TestSetUp()
-        {
-            pomPath = (new FileInfo(Directory.GetCurrentDirectory().Substring(0, Directory.GetCurrentDirectory().LastIndexOf("target")) + "\\src\\test\\resource\\ClassLibrary1\\ClassLibrary1\\pom.xml").FullName);
-
-            pomCopyPath = pomPath.Replace("pom.xml", "pomCopy.xml");
-
-            pomCopy = new PomHelperUtility(pomCopyPath);
-
-            File.Copy(pomPath, pomCopyPath);
-        }
-
-        [Test]
-        public void AddMavenResxPluginConfigurationTest()
-        {
-            pomCopy.AddMavenResxPluginConfiguration("org.apache.npanday.plugins", "maven-resgen-plugin", "embeddedResources", "embeddedResource", "Copy of Resource1.resx", "ClassLibrary1.Copy of Resource1");
-        }
-
-        [Test]
-        public void RenameMavenResxPluginConfigurationTest()
-        {
-            pomCopy.RenameMavenResxPluginConfiguration("org.apache.npanday.plugins", "maven-resgen-plugin", "embeddedResources", "embeddedResource", "Copy of Resource1.resx", "ClassLibrary1.Copy of Resource1", "ToBeDeleted.resx", "ClassLibrary1.ToBeDeleted");
-        }
-
-        [Test]
-        public void RemoveMavenResxPluginConfigurationTest()
-        {
-            pomCopy.RemoveMavenResxPluginConfiguration("org.apache.npanday.plugins", "maven-resgen-plugin", "embeddedResources", "embeddedResource", "ToBeDeleted.resx", "ClassLibrary1.ToBeDeleted");
-            //File.Delete(pomCopyPath);
-        }
-
-        [TearDown]
-        public void TestCleanUp()
-        {
-            File.Delete(pomCopyPath);
-        }
-
-    }
-}
+#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 NUnit.Framework;
+using NPanday.Utils;
+using System.IO;
+
+namespace NPanday.VisualStudio.Addin_Test
+{
+    [TestFixture]
+    public class MavenResxPluginConfigurationTest
+    {
+        private PomHelperUtility pomCopy;
+        private String pomPath;
+        private String pomCopyPath;
+
+
+
+        public MavenResxPluginConfigurationTest()
+        {
+
+        }
+
+        [SetUp]
+        public void TestSetUp()
+        {
+            pomPath = (new FileInfo(Directory.GetCurrentDirectory().Substring(0, Directory.GetCurrentDirectory().LastIndexOf("target")) + "\\src\\test\\resource\\ClassLibrary1\\ClassLibrary1\\pom.xml").FullName);
+
+            pomCopyPath = pomPath.Replace("pom.xml", "pomCopy.xml");
+
+            pomCopy = new PomHelperUtility(pomCopyPath);
+
+            File.Copy(pomPath, pomCopyPath);
+        }
+
+        [Test]
+        public void AddMavenResxPluginConfigurationTest()
+        {
+            pomCopy.AddMavenResxPluginConfiguration("org.apache.npanday.plugins", "maven-resgen-plugin", "embeddedResources", "embeddedResource", "Copy of Resource1.resx", "ClassLibrary1.Copy of Resource1");
+        }
+
+        [Test]
+        public void RenameMavenResxPluginConfigurationTest()
+        {
+            pomCopy.RenameMavenResxPluginConfiguration("org.apache.npanday.plugins", "maven-resgen-plugin", "embeddedResources", "embeddedResource", "Copy of Resource1.resx", "ClassLibrary1.Copy of Resource1", "ToBeDeleted.resx", "ClassLibrary1.ToBeDeleted");
+        }
+
+        [Test]
+        public void RemoveMavenResxPluginConfigurationTest()
+        {
+            pomCopy.RemoveMavenResxPluginConfiguration("org.apache.npanday.plugins", "maven-resgen-plugin", "embeddedResources", "embeddedResource", "ToBeDeleted.resx", "ClassLibrary1.ToBeDeleted");
+            //File.Delete(pomCopyPath);
+        }
+
+        [TearDown]
+        public void TestCleanUp()
+        {
+            File.Delete(pomCopyPath);
+        }
+
+    }
+}

Propchange: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/MavenResxPluginConfigurationTest.cs
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/NPanday.VisualStudio.Addin-Test.csproj
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/NPanday.VisualStudio.Addin-Test.csproj?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/NPanday.VisualStudio.Addin-Test.csproj (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/NPanday.VisualStudio.Addin-Test.csproj Thu Dec 22 06:54:49 2011
@@ -1,104 +1,104 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-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.
--->
-<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
-  <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProductVersion>8.0.50727</ProductVersion>
-    <SchemaVersion>2.0</SchemaVersion>
-    <ProjectGuid>{CD2E70EA-44C3-4AA0-9701-F99181332E8F}</ProjectGuid>
-    <OutputType>Library</OutputType>
-    <RootNamespace>NPanday.VisualStudio.Addin_Test</RootNamespace>
-    <AssemblyName>NPanday.VisualStudio.Addin-Test</AssemblyName>
-    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
-    <OutputPath>../../../target</OutputPath>
-  </PropertyGroup>
-  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DebugSymbols>true</DebugSymbols>
-    <DebugType>full</DebugType>
-    <Optimize>false</Optimize>
-    <OutputPath>../../../target</OutputPath>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
-  </PropertyGroup>
-  <ItemGroup>
-    <Reference Include="EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
-      <EmbedInteropTypes>True</EmbedInteropTypes>
-    </Reference>
-    <Reference Include="EnvDTE80, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
-      <EmbedInteropTypes>True</EmbedInteropTypes>
-    </Reference>
-    <Reference Include="Extensibility, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
-      <EmbedInteropTypes>True</EmbedInteropTypes>
-    </Reference>
-    <Reference Include="NPanday.Model.Pom, Version=1.4.1.0, Culture=neutral, PublicKeyToken=4b435f4d76e2f0e6, processorArchitecture=MSIL">
-      <HintPath>..\..\..\..\NPanday.Model.Pom\target\NPanday.Model.Pom.dll</HintPath>
-    </Reference>
-    <Reference Include="NPanday.Model.Settings, Version=1.4.1.0, Culture=neutral, processorArchitecture=MSIL">
-      <HintPath>..\..\..\..\NPanday.Model.Settings\target\NPanday.Model.Settings.dll</HintPath>
-    </Reference>
-    <Reference Include="NUnit.Framework, Version=2.2.8.0, Culture=neutral, processorArchitecture=MSIL">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\..\..\.references\NUnit.Framework.dll</HintPath>
-    </Reference>
-    <Reference Include="System" />
-    <Reference Include="System.Data" />
-    <Reference Include="System.Windows.Forms" />
-    <Reference Include="System.Xml" />
-  </ItemGroup>
-  <ItemGroup>
-    <Compile Include="AddLocalMavenArtifactTest.cs" />
-    <Compile Include="AddWebReferenceTest.cs" />
-    <Compile Include="FileUtils.cs" />
-    <Compile Include="MavenCompilePluginConfigurationTest.cs" />
-    <Compile Include="MavenResxPluginConfigurationTest.cs" />
-    <Compile Include="RenameWebReferenceTest.cs" />
-    <Compile Include="ResyncArtifactSnapshot.cs" />
-    <Compile Include="SuccessfulDisconnectTest.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="..\..\..\..\NPanday.Artifact\src\main\csharp\NPanday.Artifact.csproj">
-      <Project>{701803D4-90F5-44D7-919D-4844FEB7F936}</Project>
-      <Name>NPanday.Artifact</Name>
-    </ProjectReference>
-    <ProjectReference Include="..\..\..\..\NPanday.Logging\src\main\csharp\NPanday.Logging.csproj">
-      <Project>{C511B03B-8AB7-4E61-9F6E-5E6F9F65E8CE}</Project>
-      <Name>NPanday.Logging</Name>
-    </ProjectReference>
-    <ProjectReference Include="..\..\..\..\NPanday.Utils\src\main\csharp\NPanday.Utils.csproj">
-      <Project>{CAA4864F-F4C8-4024-8535-8B8C112307CE}</Project>
-      <Name>NPanday.Utils</Name>
-    </ProjectReference>
-    <ProjectReference Include="..\..\main\csharp\NPanday.VisualStudio.Addin.csproj">
-      <Project>{5BE35FDF-E620-4EB0-B9A8-2359C506D85D}</Project>
-      <Name>NPanday.VisualStudio.Addin</Name>
-    </ProjectReference>
-  </ItemGroup>
-  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
-  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
-       Other similar extension points exist, see Microsoft.Common.targets.
-  <Target Name="BeforeBuild">
-  </Target>
-  <Target Name="AfterBuild">
-  </Target>
-  -->
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+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.
+-->
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>8.0.50727</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{CD2E70EA-44C3-4AA0-9701-F99181332E8F}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <RootNamespace>NPanday.VisualStudio.Addin_Test</RootNamespace>
+    <AssemblyName>NPanday.VisualStudio.Addin-Test</AssemblyName>
+    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
+    <OutputPath>../../../target</OutputPath>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>../../../target</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+    <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+      <EmbedInteropTypes>True</EmbedInteropTypes>
+    </Reference>
+    <Reference Include="EnvDTE80, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+      <EmbedInteropTypes>True</EmbedInteropTypes>
+    </Reference>
+    <Reference Include="Extensibility, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+      <EmbedInteropTypes>True</EmbedInteropTypes>
+    </Reference>
+    <Reference Include="NPanday.Model.Pom, Version=1.4.1.0, Culture=neutral, PublicKeyToken=4b435f4d76e2f0e6, processorArchitecture=MSIL">
+      <HintPath>..\..\..\..\NPanday.Model.Pom\target\NPanday.Model.Pom.dll</HintPath>
+    </Reference>
+    <Reference Include="NPanday.Model.Settings, Version=1.4.1.0, Culture=neutral, processorArchitecture=MSIL">
+      <HintPath>..\..\..\..\NPanday.Model.Settings\target\NPanday.Model.Settings.dll</HintPath>
+    </Reference>
+    <Reference Include="NUnit.Framework, Version=2.2.8.0, Culture=neutral, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\.references\NUnit.Framework.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Windows.Forms" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="AddLocalMavenArtifactTest.cs" />
+    <Compile Include="AddWebReferenceTest.cs" />
+    <Compile Include="FileUtils.cs" />
+    <Compile Include="MavenCompilePluginConfigurationTest.cs" />
+    <Compile Include="MavenResxPluginConfigurationTest.cs" />
+    <Compile Include="RenameWebReferenceTest.cs" />
+    <Compile Include="ResyncArtifactSnapshot.cs" />
+    <Compile Include="SuccessfulDisconnectTest.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <ProjectReference Include="..\..\..\..\NPanday.Artifact\src\main\csharp\NPanday.Artifact.csproj">
+      <Project>{701803D4-90F5-44D7-919D-4844FEB7F936}</Project>
+      <Name>NPanday.Artifact</Name>
+    </ProjectReference>
+    <ProjectReference Include="..\..\..\..\NPanday.Logging\src\main\csharp\NPanday.Logging.csproj">
+      <Project>{C511B03B-8AB7-4E61-9F6E-5E6F9F65E8CE}</Project>
+      <Name>NPanday.Logging</Name>
+    </ProjectReference>
+    <ProjectReference Include="..\..\..\..\NPanday.Utils\src\main\csharp\NPanday.Utils.csproj">
+      <Project>{CAA4864F-F4C8-4024-8535-8B8C112307CE}</Project>
+      <Name>NPanday.Utils</Name>
+    </ProjectReference>
+    <ProjectReference Include="..\..\main\csharp\NPanday.VisualStudio.Addin.csproj">
+      <Project>{5BE35FDF-E620-4EB0-B9A8-2359C506D85D}</Project>
+      <Name>NPanday.VisualStudio.Addin</Name>
+    </ProjectReference>
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
 </Project>
\ No newline at end of file

Propchange: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/NPanday.VisualStudio.Addin-Test.csproj
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/ProjectImporterValidationTest.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/ProjectImporterValidationTest.cs?rev=1222072&r1=1222071&r2=1222072&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/ProjectImporterValidationTest.cs (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/ProjectImporterValidationTest.cs Thu Dec 22 06:54:49 2011
@@ -1,106 +1,106 @@
-#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;
-using NUnit.Framework;
-using NPanday.Utils;
-using NPanday.VisualStudio.Addin;
-using System.IO;
-
-namespace ConnectTest.UtilsTest
-{
-    [TestFixture]
-    public class ProjectImporterValidationTest
-    {
-
-
-        private class NPandayImportProjectFormTest : NPandayImportProjectForm
-        {
-            public void GeneratePomTest(String solutionFile, String groupId, String version, String scmTag)
-            {
-                this.GeneratePom(solutionFile, groupId, version, scmTag);
-            }
-        }
-
-        private NPandayImportProjectFormTest importerTest;
-        private String solutionSample;
-
-        [SetUp]
-        public void ProjectImporterValidationTestSetup()
-        {
-            importerTest = new NPandayImportProjectFormTest();
-            solutionSample = new FileInfo(Directory.GetCurrentDirectory().Substring(0, Directory.GetCurrentDirectory().LastIndexOf("target")) + "\\src\\test\\resource\\ClassLibrary1\\ClassLibrary1.sln").FullName;
-        }
-        
-        [Test]
-        public void ImporterInvalidGroupIdTest()
-        {
-            try
-            {
-                importerTest.GeneratePomTest(solutionSample, "", "1.0-SNAPSHOT", "");
-            }
-            catch (Exception e)
-            {
-                Assert.AreEqual("Group Id is empty.", e.Message);
-            }
-        }
-
-        [Test]
-        public void ImporterEmptyVersionTest()
-        {
-            try
-            {
-                importerTest.GeneratePomTest(solutionSample, "npanday", "", "");
-            }
-            catch (Exception e)
-            {
-                Assert.AreEqual("\r\nVersion is empty.", e.Message);
-            }
-        }
-        
-        [Test]
-        public void ImporterInvalidVersionTest()
-        {
-            try
-            {
-                importerTest.GeneratePomTest(solutionSample, "npanday", "123--.", "");
-            }
-            catch (Exception e)
-            {
-                Assert.AreEqual("\r\nVersion should be in the form major.minor.build.revision-SNAPSHOT", e.Message);
-            }
-        }
-
-        [Test]
-        public void ImporterInvalidSolutionFileTest()
-        {
-            try
-            {
-                importerTest.GeneratePomTest("", "npanday", "1.0-SNAPSHOT", "");
-            }
-            catch (Exception e)
-            {
-                Assert.AreEqual("Solution File Not Found:  \r\n", e.Message);
-            }
-        } 
-    }
-}
+#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;
+using NUnit.Framework;
+using NPanday.Utils;
+using NPanday.VisualStudio.Addin;
+using System.IO;
+
+namespace ConnectTest.UtilsTest
+{
+    [TestFixture]
+    public class ProjectImporterValidationTest
+    {
+
+
+        private class NPandayImportProjectFormTest : NPandayImportProjectForm
+        {
+            public void GeneratePomTest(String solutionFile, String groupId, String version, String scmTag)
+            {
+                this.GeneratePom(solutionFile, groupId, version, scmTag);
+            }
+        }
+
+        private NPandayImportProjectFormTest importerTest;
+        private String solutionSample;
+
+        [SetUp]
+        public void ProjectImporterValidationTestSetup()
+        {
+            importerTest = new NPandayImportProjectFormTest();
+            solutionSample = new FileInfo(Directory.GetCurrentDirectory().Substring(0, Directory.GetCurrentDirectory().LastIndexOf("target")) + "\\src\\test\\resource\\ClassLibrary1\\ClassLibrary1.sln").FullName;
+        }
+        
+        [Test]
+        public void ImporterInvalidGroupIdTest()
+        {
+            try
+            {
+                importerTest.GeneratePomTest(solutionSample, "", "1.0-SNAPSHOT", "");
+            }
+            catch (Exception e)
+            {
+                Assert.AreEqual("Group Id is empty.", e.Message);
+            }
+        }
+
+        [Test]
+        public void ImporterEmptyVersionTest()
+        {
+            try
+            {
+                importerTest.GeneratePomTest(solutionSample, "npanday", "", "");
+            }
+            catch (Exception e)
+            {
+                Assert.AreEqual("\r\nVersion is empty.", e.Message);
+            }
+        }
+        
+        [Test]
+        public void ImporterInvalidVersionTest()
+        {
+            try
+            {
+                importerTest.GeneratePomTest(solutionSample, "npanday", "123--.", "");
+            }
+            catch (Exception e)
+            {
+                Assert.AreEqual("\r\nVersion should be in the form major.minor.build.revision-SNAPSHOT", e.Message);
+            }
+        }
+
+        [Test]
+        public void ImporterInvalidSolutionFileTest()
+        {
+            try
+            {
+                importerTest.GeneratePomTest("", "npanday", "1.0-SNAPSHOT", "");
+            }
+            catch (Exception e)
+            {
+                Assert.AreEqual("Solution File Not Found:  \r\n", e.Message);
+            }
+        } 
+    }
+}

Propchange: incubator/npanday/trunk/dotnet/assemblies/NPanday.VisualStudio.Addin/src/test/csharp/ProjectImporterValidationTest.cs
------------------------------------------------------------------------------
    svn:eol-style = native