thnx, that's works great, but is it also possible that the p rojectgenerator generates a webapplication project instead of a library project?
Paul On 8/28/07, Shane Isbell <[EMAIL PROTECTED]> wrote: > > The solution generator did not recognize the nar type. I fixed this within > the ProjectGeneratorImpl.GetOutputType method and the change is now in the > trunk. If it doesn't work, let me know. > > Shane > > > On 8/28/07, Paul Maarschalkerweerd <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > I'm trying to generate the vs2005 solution and project files for a > webapp > > project. The following error is provided: > > > > [ERROR] Unhandled Exception: System.ArgumentNullException: Parameter > > "propertyValue" cannot be null. > > [ERROR] at > > Microsoft.Build.Shared.ErrorUtilities.VerifyThrowArgumentNull(Object > > parameter, String parameterName) > > [ERROR] at Microsoft.Build.BuildEngine.BuildProperty..ctor > (XmlDocument > > ownerDocument, String propertyName, String propertyValue, Pro > > pertyType propertyType) > > [ERROR] at > > Microsoft.Build.BuildEngine.BuildPropertyGroup.AddNewProperty(String > > propertyName, String propertyValue) > > [ERROR] at > NMaven.Core.Impl.ProjectGeneratorImpl.GetProjectFromPomModel > > (Model > > model, DirectoryInfo sourceFileDirectory, String assem > > blyName, Guid projectGuid, String assemblyOutputPath, String > > baseIntermediateOutputPath, List`1 projectReferences) > > [ERROR] at NMaven.Core.Impl.ProjectGeneratorImpl.GenerateProjectFor > > (Model > > model, DirectoryInfo sourceFileDirectory, String projectFi > > leName, List`1 projectReferences) > > [ERROR] at NMaven.Plugin.Solution.SolutionMojo.Execute(DirectoryInfo > > currentDirectory, Model model, String profile) > > [ERROR] at NMaven.Plugin.Solution.SolutionMojo.Execute() > > [ERROR] at NMaven.Plugin.AbstractMojo.Execute() > > [ERROR] at NMaven.Plugin.Loader.PluginLoader.Main(String[] args) > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] BUILD ERROR > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] NMAVEN-xxx-000 > > > > Does anyone know how to set the "propertyValue"? > > > > Thanks in advance > > > > Paul > > >
