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 2012/09/26 12:45:38 UTC
svn commit: r1390442 - in
/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src:
main/csharp/Converter/Algorithms/ test/csharp/ test/csharp/ImporterTests/
test/resource/NPANDAY_571/ test/resource/NPANDAY_571/NPANDAY_571_AzureSDK...
Author: brett
Date: Wed Sep 26 12:45:37 2012
New Revision: 1390442
URL: http://svn.apache.org/viewvc?rev=1390442&view=rev
Log:
[NPANDAY-571] Support Azure SDK 1.7 in the project importer
Added:
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/AzureImportSDKVersionTest.cs
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest.sln
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/NPANDAY_571_AzureSDKVersionTest.ccproj
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/ServiceConfiguration.Cloud.cscfg
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/ServiceConfiguration.Local.cscfg
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/ServiceDefinition.csdef
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/pom.test
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/Properties/
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/Properties/AssemblyInfo.cs
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/WorkerRole.cs
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/WorkerRole1.csproj
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/app.config
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/packages.config
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/pom.test
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/pom.test
Modified:
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/Converter/Algorithms/AzurePomConverter.cs
incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/NPanday.ProjectImporterEngine-Test.csproj
Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/Converter/Algorithms/AzurePomConverter.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/Converter/Algorithms/AzurePomConverter.cs?rev=1390442&r1=1390441&r2=1390442&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/Converter/Algorithms/AzurePomConverter.cs (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/main/csharp/Converter/Algorithms/AzurePomConverter.cs Wed Sep 26 12:45:37 2012
@@ -88,6 +88,9 @@ namespace NPanday.ProjectImporter.Conver
AddPluginConfiguration(plugin, "frameworkVersion", "4.0");
}
+ if (!string.IsNullOrEmpty(projectDigest.ProductVersion) && projectDigest.ProductVersion != "1.6")
+ AddPluginConfiguration(plugin, "executableVersion", projectDigest.ProductVersion);
+
if (!string.IsNullOrEmpty(projectDigest.CloudConfig))
{
AddPluginConfiguration(plugin, "serviceConfigurationFile", projectDigest.CloudConfig);
Added: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/AzureImportSDKVersionTest.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/AzureImportSDKVersionTest.cs?rev=1390442&view=auto
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/AzureImportSDKVersionTest.cs (added)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/ImporterTests/AzureImportSDKVersionTest.cs Wed Sep 26 12:45:37 2012
@@ -0,0 +1,58 @@
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+//
+using System;
+using System.Collections.Generic;
+using System.Text;
+using NUnit.Framework;
+
+namespace NPanday.ProjectImporter.ImporterTests
+{
+ [TestFixture]
+ public class AzureImporSDKVersionTest : AbstractAzureImportTest
+ {
+ public override void CheckFrameworkVersion()
+ {
+ if (Environment.Version.Major < 4)
+ {
+ Assert.Ignore("Test only runs on .NET 4.0, but is: " + Environment.Version.ToString());
+ }
+ }
+
+ public override string SolutionFileRelativePath
+ {
+ get { return @"NPANDAY_571\NPANDAY_571_AzureSDKVersionTest.sln"; }
+ }
+
+ [Test]
+ public override void ShouldGenerateTheExpectedNumberOfPoms()
+ {
+ ProjectImporterAssertions.AssertPomCount(3, GeneratedPomFiles);
+ }
+
+ public override bool UseMsDeploy
+ {
+ get { return true; }
+ }
+
+ public override string TestResourcePath
+ {
+ get { return @"src\test\resource\NPANDAY_571\"; }
+ }
+ }
+}
Modified: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/NPanday.ProjectImporterEngine-Test.csproj
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/NPanday.ProjectImporterEngine-Test.csproj?rev=1390442&r1=1390441&r2=1390442&view=diff
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/NPanday.ProjectImporterEngine-Test.csproj (original)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/csharp/NPanday.ProjectImporterEngine-Test.csproj Wed Sep 26 12:45:37 2012
@@ -50,6 +50,7 @@
<ItemGroup>
<Compile Include="ImporterTests\AbstractProjectImportTest.cs" />
<Compile Include="ImporterTests\AbstractAzureImportTest.cs" />
+ <Compile Include="ImporterTests\AzureImportSDKVersionTest.cs" />
<Compile Include="ImporterTests\ComReferenceNormalProjectTest.cs" />
<Compile Include="ImporterTests\AzureImportOneWebRoleTest.cs" />
<Compile Include="ImporterTests\AzureImportWorkerRoleTest.cs" />
@@ -92,4 +93,4 @@
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
-</Project>
+</Project>
\ No newline at end of file
Added: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest.sln
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest.sln?rev=1390442&view=auto
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest.sln (added)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest.sln Wed Sep 26 12:45:37 2012
@@ -0,0 +1,26 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{CC5FD16D-436D-48AD-A40C-5A424C6E3E79}") = "NPANDAY_571_AzureSDKVersionTest", "NPANDAY_571_AzureSDKVersionTest\NPANDAY_571_AzureSDKVersionTest.ccproj", "{9AD15652-5F1A-44EC-9C3E-C2061209874E}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WorkerRole1", "WorkerRole1\WorkerRole1.csproj", "{7E67BFCB-4EFD-4FBA-A610-9F46ADAAF097}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {9AD15652-5F1A-44EC-9C3E-C2061209874E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9AD15652-5F1A-44EC-9C3E-C2061209874E}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9AD15652-5F1A-44EC-9C3E-C2061209874E}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9AD15652-5F1A-44EC-9C3E-C2061209874E}.Release|Any CPU.Build.0 = Release|Any CPU
+ {7E67BFCB-4EFD-4FBA-A610-9F46ADAAF097}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {7E67BFCB-4EFD-4FBA-A610-9F46ADAAF097}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {7E67BFCB-4EFD-4FBA-A610-9F46ADAAF097}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {7E67BFCB-4EFD-4FBA-A610-9F46ADAAF097}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
Added: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/NPANDAY_571_AzureSDKVersionTest.ccproj
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/NPANDAY_571_AzureSDKVersionTest.ccproj?rev=1390442&view=auto
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/NPANDAY_571_AzureSDKVersionTest.ccproj (added)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/NPANDAY_571_AzureSDKVersionTest.ccproj Wed Sep 26 12:45:37 2012
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>1.7</ProductVersion>
+ <ProjectGuid>{9ad15652-5f1a-44ec-9c3e-c2061209874e}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>NPANDAY_571_AzureSDKVersionTest</RootNamespace>
+ <AssemblyName>NPANDAY_571_AzureSDKVersionTest</AssemblyName>
+ <StartDevelopmentStorage>True</StartDevelopmentStorage>
+ <Name>NPANDAY_571_AzureSDKVersionTest</Name>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <!-- Items for the project -->
+ <ItemGroup>
+ <ServiceDefinition Include="ServiceDefinition.csdef" />
+ <ServiceConfiguration Include="ServiceConfiguration.Local.cscfg" />
+ <ServiceConfiguration Include="ServiceConfiguration.Cloud.cscfg" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\WorkerRole1\WorkerRole1.csproj">
+ <Name>WorkerRole1</Name>
+ <Project>{7e67bfcb-4efd-4fba-a610-9f46adaaf097}</Project>
+ <Private>True</Private>
+ <RoleType>Worker</RoleType>
+ <RoleName>WorkerRole1</RoleName>
+ <UpdateDiagnosticsConnectionStringOnPublish>True</UpdateDiagnosticsConnectionStringOnPublish>
+ </ProjectReference>
+ </ItemGroup>
+ <!-- Import the target files for this project template -->
+ <PropertyGroup>
+ <VisualStudioVersion Condition=" '$(VisualStudioVersion)' == '' ">10.0</VisualStudioVersion>
+ <CloudExtensionsDir Condition=" '$(CloudExtensionsDir)' == '' ">$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Windows Azure Tools\1.7\</CloudExtensionsDir>
+ </PropertyGroup>
+ <Import Project="$(CloudExtensionsDir)Microsoft.WindowsAzure.targets" />
+</Project>
\ No newline at end of file
Added: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/ServiceConfiguration.Cloud.cscfg
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/ServiceConfiguration.Cloud.cscfg?rev=1390442&view=auto
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/ServiceConfiguration.Cloud.cscfg (added)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/ServiceConfiguration.Cloud.cscfg Wed Sep 26 12:45:37 2012
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ServiceConfiguration serviceName="NPANDAY_571_AzureSDKVersionTest" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="1" osVersion="*" schemaVersion="2012-05.1.7">
+ <Role name="WorkerRole1">
+ <Instances count="1" />
+ <ConfigurationSettings>
+ <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />
+ </ConfigurationSettings>
+ </Role>
+</ServiceConfiguration>
\ No newline at end of file
Added: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/ServiceConfiguration.Local.cscfg
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/ServiceConfiguration.Local.cscfg?rev=1390442&view=auto
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/ServiceConfiguration.Local.cscfg (added)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/ServiceConfiguration.Local.cscfg Wed Sep 26 12:45:37 2012
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ServiceConfiguration serviceName="NPANDAY_571_AzureSDKVersionTest" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" osFamily="1" osVersion="*" schemaVersion="2012-05.1.7">
+ <Role name="WorkerRole1">
+ <Instances count="1" />
+ <ConfigurationSettings>
+ <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true" />
+ </ConfigurationSettings>
+ </Role>
+</ServiceConfiguration>
\ No newline at end of file
Added: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/ServiceDefinition.csdef
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/ServiceDefinition.csdef?rev=1390442&view=auto
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/ServiceDefinition.csdef (added)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/ServiceDefinition.csdef Wed Sep 26 12:45:37 2012
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+<ServiceDefinition name="NPANDAY_571_AzureSDKVersionTest" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2012-05.1.7">
+ <WorkerRole name="WorkerRole1" vmsize="Small">
+ <Imports>
+ <Import moduleName="Diagnostics" />
+ </Imports>
+ </WorkerRole>
+</ServiceDefinition>
\ No newline at end of file
Added: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/pom.test
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/pom.test?rev=1390442&view=auto
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/pom.test (added)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/NPANDAY_571_AzureSDKVersionTest/pom.test Wed Sep 26 12:45:37 2012
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?>
+<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://maven.apache.org/POM/4.0.0">
+ <parent>
+ <artifactId>test-parent</artifactId>
+ <groupId>test.group</groupId>
+ <version>1.2.3-SNAPSHOT</version>
+ <relativePath>..\pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>NPANDAY571AzureSDKVersionTest</artifactId>
+ <packaging>azure-cloud-service</packaging>
+ <name>test.group : NPANDAY571AzureSDKVersionTest</name>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.npanday.plugins</groupId>
+ <artifactId>azure-maven-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <frameworkVersion>4.0</frameworkVersion>
+ <executableVersion>1.7</executableVersion>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>test.group</groupId>
+ <artifactId>WorkerRole1</artifactId>
+ <version>1.2.3-SNAPSHOT</version>
+ <type>dotnet-application</type>
+ </dependency>
+ </dependencies>
+</project>
Added: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/Properties/AssemblyInfo.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/Properties/AssemblyInfo.cs?rev=1390442&view=auto
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/Properties/AssemblyInfo.cs (added)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/Properties/AssemblyInfo.cs Wed Sep 26 12:45:37 2012
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("WorkerRole1")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("WorkerRole1")]
+[assembly: AssemblyCopyright("Copyright © 2012")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("f4a3a727-62c2-42fc-bc84-bfd27698f18c")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
Added: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/WorkerRole.cs
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/WorkerRole.cs?rev=1390442&view=auto
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/WorkerRole.cs (added)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/WorkerRole.cs Wed Sep 26 12:45:37 2012
@@ -0,0 +1,39 @@
+using System;
+using System.Collections.Generic;
+using System.Diagnostics;
+using System.Linq;
+using System.Net;
+using System.Threading;
+using Microsoft.WindowsAzure;
+using Microsoft.WindowsAzure.Diagnostics;
+using Microsoft.WindowsAzure.ServiceRuntime;
+using Microsoft.WindowsAzure.StorageClient;
+
+namespace WorkerRole1
+{
+ public class WorkerRole : RoleEntryPoint
+ {
+ public override void Run()
+ {
+ // This is a sample worker implementation. Replace with your logic.
+ Trace.WriteLine("WorkerRole1 entry point called", "Information");
+
+ while (true)
+ {
+ Thread.Sleep(10000);
+ Trace.WriteLine("Working", "Information");
+ }
+ }
+
+ public override bool OnStart()
+ {
+ // Set the maximum number of concurrent connections
+ ServicePointManager.DefaultConnectionLimit = 12;
+
+ // For information on handling configuration changes
+ // see the MSDN topic at http://go.microsoft.com/fwlink/?LinkId=166357.
+
+ return base.OnStart();
+ }
+ }
+}
Added: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/WorkerRole1.csproj
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/WorkerRole1.csproj?rev=1390442&view=auto
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/WorkerRole1.csproj (added)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/WorkerRole1.csproj Wed Sep 26 12:45:37 2012
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>8.0.30703</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{7E67BFCB-4EFD-4FBA-A610-9F46ADAAF097}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>WorkerRole1</RootNamespace>
+ <AssemblyName>WorkerRole1</AssemblyName>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ <RoleType>Worker</RoleType>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="Microsoft.WindowsAzure.Configuration, Version=1.7.0.0, Culture=neutral, processorArchitecture=MSIL">
+ <HintPath>..\packages\Microsoft.WindowsAzure.ConfigurationManager.1.7.0.0\lib\net35-full\Microsoft.WindowsAzure.Configuration.dll</HintPath>
+ </Reference>
+ <Reference Include="Microsoft.WindowsAzure.Diagnostics, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <Reference Include="Microsoft.WindowsAzure.ServiceRuntime, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
+ <Reference Include="Microsoft.WindowsAzure.StorageClient, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
+ <HintPath>..\packages\WindowsAzure.Storage.1.7.0.0\lib\net35-full\Microsoft.WindowsAzure.StorageClient.dll</HintPath>
+ </Reference>
+ <Reference Include="System" />
+ <Reference Include="System.Core" />
+ <Reference Include="System.Data.Services.Client" />
+ <Reference Include="System.Xml.Linq" />
+ <Reference Include="System.Data.DataSetExtensions" />
+ <Reference Include="Microsoft.CSharp" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ <Compile Include="WorkerRole.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <WebReferences Include="Web References\" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="app.config" />
+ <None Include="packages.config" />
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\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
Added: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/app.config
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/app.config?rev=1390442&view=auto
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/app.config (added)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/app.config Wed Sep 26 12:45:37 2012
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+ <system.diagnostics>
+ <trace>
+ <listeners>
+ <add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
+ name="AzureDiagnostics">
+ <filter type="" />
+ </add>
+ </listeners>
+ </trace>
+ </system.diagnostics>
+</configuration>
\ No newline at end of file
Added: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/packages.config
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/packages.config?rev=1390442&view=auto
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/packages.config (added)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/packages.config Wed Sep 26 12:45:37 2012
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="Microsoft.WindowsAzure.ConfigurationManager" version="1.7.0.0" targetFramework="net40" />
+ <package id="WindowsAzure.Storage" version="1.7.0.0" targetFramework="net40" />
+</packages>
\ No newline at end of file
Added: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/pom.test
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/pom.test?rev=1390442&view=auto
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/pom.test (added)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/WorkerRole1/pom.test Wed Sep 26 12:45:37 2012
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://maven.apache.org/POM/4.0.0">
+ <parent>
+ <artifactId>test-parent</artifactId>
+ <groupId>test.group</groupId>
+ <version>1.2.3-SNAPSHOT</version>
+ <relativePath>..\pom.xml</relativePath>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>WorkerRole1</artifactId>
+ <packaging>dotnet-library</packaging>
+ <name>test.group : WorkerRole1</name>
+ <build>
+ <sourceDirectory>./</sourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.npanday.plugins</groupId>
+ <artifactId>maven-compile-plugin</artifactId>
+ <extensions>true</extensions>
+ <configuration>
+ <frameworkVersion>4.0</frameworkVersion>
+ <define>DEBUG;TRACE</define>
+ <includeSources>
+ <includeSource>Properties\AssemblyInfo.cs</includeSource>
+ <includeSource>WorkerRole.cs</includeSource>
+ </includeSources>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.npanday.plugins</groupId>
+ <artifactId>application-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>package-application</id>
+ <goals>
+ <goal>assemble-package-files</goal>
+ <goal>process-configs</goal>
+ <goal>create-package</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
+ <dependency>
+ <groupId>Microsoft.WindowsAzure.Configuration</groupId>
+ <artifactId>Microsoft.WindowsAzure.Configuration</artifactId>
+ <version>1.7.0.0</version>
+ <type>dotnet-library</type>
+ </dependency>
+ <dependency>
+ <groupId>Microsoft.WindowsAzure.Diagnostics</groupId>
+ <artifactId>Microsoft.WindowsAzure.Diagnostics</artifactId>
+ <version>1.7.0.0</version>
+ <type>dotnet-library</type>
+ </dependency>
+ <dependency>
+ <groupId>Microsoft.WindowsAzure.ServiceRuntime</groupId>
+ <artifactId>Microsoft.WindowsAzure.ServiceRuntime</artifactId>
+ <version>1.7.0.0</version>
+ <type>gac_msil</type>
+ <classifier>31bf3856ad364e35</classifier>
+ </dependency>
+ <dependency>
+ <groupId>Microsoft.WindowsAzure.StorageClient</groupId>
+ <artifactId>Microsoft.WindowsAzure.StorageClient</artifactId>
+ <version>1.7.0.0</version>
+ <type>dotnet-library</type>
+ </dependency>
+ <dependency>
+ <groupId>System.Data.Services.Client</groupId>
+ <artifactId>System.Data.Services.Client</artifactId>
+ <version>4.0.0.0</version>
+ <type>gac_msil4</type>
+ <classifier>b77a5c561934e089</classifier>
+ </dependency>
+ </dependencies>
+</project>
Added: incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/pom.test
URL: http://svn.apache.org/viewvc/incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/pom.test?rev=1390442&view=auto
==============================================================================
--- incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/pom.test (added)
+++ incubator/npanday/trunk/dotnet/assemblies/NPanday.ProjectImporter/Engine/src/test/resource/NPANDAY_571/pom.test Wed Sep 26 12:45:37 2012
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://maven.apache.org/POM/4.0.0">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>test.group</groupId>
+ <artifactId>test-parent</artifactId>
+ <packaging>pom</packaging>
+ <name>test.group : test-parent</name>
+ <version>1.2.3-SNAPSHOT</version>
+ <modules>
+ <module>WorkerRole1</module>
+ <module>NPANDAY_571_AzureSDKVersionTest</module>
+ </modules>
+</project>