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 "Brett Porter (Resolved) (JIRA)" <ji...@apache.org> on 2012/01/12 08:11:38 UTC

[jira] [Resolved] (NPANDAY-517) It is (again) necessary to have .NET on the %PATH% in order to build NPanday

     [ https://issues.apache.org/jira/browse/NPANDAY-517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter resolved NPANDAY-517.
----------------------------------

    Resolution: Fixed
    
> It is (again) necessary to have .NET on the %PATH% in order to build NPanday
> ----------------------------------------------------------------------------
>
>                 Key: NPANDAY-517
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-517
>             Project: NPanday
>          Issue Type: Bug
>          Components: Maven Plugins
>    Affects Versions: 1.4-incubating
>            Reporter: Lars Corneliussen
>            Assignee: Brett Porter
>             Fix For: 1.5.0-incubating
>
>
> NPanday.Utils.GacUtility now runs inside a test of the main NPanday build; it should detect the correct gacutil somehow without expecting it to be on the path.
> NPanday should be built using .NET 2.0; but most of us have (if so) .NET 4 on the path. This means, the gacinstaller from .NET 4.0 SDK is used to install the artifacts.
> {code}
> Errors and Failures:
> 1) SetUp Failure : NPanday.ProjectImporter.ImporterTests.FlatMultiModuleProjectTest
> *******************************************
> There is an error in importing flat-multi-module\flatVB_proj.sln
> *******************************************
> System.Exception: Unable to execute gacutil - check that your PATH has been set correctly (Message: The system cannot find the file specified)
>    at NPanday.Utils.GacUtility..ctor()
>    at NPanday.Utils.GacUtility.GetInstance()
>    at NPanday.ProjectImporter.Digest.Algorithms.NormalProjectDigestAlgorithm.DigestBuildItems(Project project, ProjectDigest projectDigest, String projectBasePath, ICollection`1 projectReferences, ICollection`1 references, ICollection`1 compiles, ICollection`1 nones, ICollection`1 webReferenceUrls, ICollection`1 contents, ICollection`1 folders, ICollection`1 webReferencesList, ICollection`1 embeddedResources, ICollection`1 bootstrapperPackages, ICollection`1 globalNamespaceImports, IList`1 comReferenceList)
>    at NPanday.ProjectImporter.Digest.Algorithms.NormalProjectDigestAlgorithm.DigestProject(Dictionary`2 projectMap)
>    at NPanday.ProjectImporter.Digest.ProjectDigester.DigestProjects(List`1 projects, String& warningMsg)
>    at NPanday.ProjectImporter.NPandayImporter.ImportProject(String solutionFile, String groupId, String artifactId, String version, String scmTag, VerifyProjectToImport verifyProjectToImport, String& warningMsg)
>    at NPanday.ProjectImporter.NPandayImporter.ImportProject(String solutionFile, String groupId, String artifactId, String version, String scmTag, Boolean verifyTests, String& warningMsg)
>    at NPanday.ProjectImporter.ImporterTests.AbstractProjectImportTest.ShouldBeAbleImportProject()
> at NPanday.ProjectImporter.ImporterTests.AbstractProjectImportTest.ShouldBeAbleImportProject()
> 2) Parent Failure : NPanday.ProjectImporter.ImporterTests.FlatMultiModuleProjectTest.AbstractProjectImportTest.CheckPomFileElementValues
>    TestFixtureSetUp failed in FlatMultiModuleProjectTest
> 3) Parent Failure : NPanday.ProjectImporter.ImporterTests.FlatMultiModuleProjectTest.AbstractProjectImportTest.GeneratedPomFilesShouldExists
>    TestFixtureSetUp failed in FlatMultiModuleProjectTest
> 4) Parent Failure : NPanday.ProjectImporter.ImporterTests.FlatMultiModuleProjectTest.AbstractProjectImportTest.GeneratedShouldNotBeNull
>    TestFixtureSetUp failed in FlatMultiModuleProjectTest
> 5) Parent Failure : NPanday.ProjectImporter.ImporterTests.FlatMultiModuleProjectTest.AbstractProjectImportTest.ShouldBeAbleImportProject
>    TestFixtureSetUp failed in FlatMultiModuleProjectTest
> 6) Parent Failure : NPanday.ProjectImporter.ImporterTests.FlatMultiModuleProjectTest.AbstractProjectImportTest.ThereShouldBeNoOverlappingPomFiles
>    TestFixtureSetUp failed in FlatMultiModuleProjectTest
> 7) Parent Failure : NPanday.ProjectImporter.ImporterTests.FlatMultiModuleProjectTest.ShouldGenerateTheExpectedNumberOfPoms
>    TestFixtureSetUp failed in FlatMultiModuleProjectTest
> Tests Not Run:
> 1) Ignored : NPanday.ProjectImporter.ImporterTests.FlatMultiModuleWebApplicationVBTest.AbstractProjectImportTest.CheckPomFileElementValues
> 2) Ignored : NPanday.ProjectImporter.ImporterTests.FlatMultiModuleWebApplicationVBTest.AbstractProjectImportTest.GeneratedPomFilesShouldExists
> 3) Ignored : NPanday.ProjectImporter.ImporterTests.FlatMultiModuleWebApplicationVBTest.AbstractProjectImportTest.GeneratedShouldNotBeNull
> 4) Ignored : NPanday.ProjectImporter.ImporterTests.FlatMultiModuleWebApplicationVBTest.AbstractProjectImportTest.ShouldBeAbleImportProject
> 5) Ignored : NPanday.ProjectImporter.ImporterTests.FlatMultiModuleWebApplicationVBTest.AbstractProjectImportTest.ThereShouldBeNoOverlappingPomFiles
> 6) Ignored : NPanday.ProjectImporter.ImporterTests.FlatMultiModuleWebApplicationVBTest.ShouldGenerateTheExpectedNumberOfPoms
> 7) Ignored : NPanday.ProjectImporter.ImporterTests.Net40GacImportTest.AbstractProjectImportTest.CheckPomFileElementValues
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira