John, This issue is now fixed in cvs. I might take a day or two for this change to become available on anonymous cvs.
I'll try to post a new nightly build later today. Gert ----- Original Message ----- From: "John Cole" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 31, 2004 7:29 PM Subject: [NAntC-Dev] building a msm with NAntContrib... > Ok, I have NAntContrib working! I was able to get a > VB6 task to work ok. Now I'm on to trying to build a > msm file. > > Here is the modified sample from James Geurts: > > --------------------------------------------------------- > <project name="testmsm" default="test"> > > <property name="product.name" value="uaCore" /> > <property name="company.name" value="UAI, Inc." /> > > <target name="test"> > <property name="msm.version" value="1.0.1" /> > <property name="msm.id" > value="E8B6E58E5B034BCEAA2E68B49093465E" /> > <property name="msm.guid.product" > value="{E8B6E58E-5B03-4BCE-AA2E-68B49093465E}" /> > <property name="msm.guid.upgrade" > value="{33C71A5C-DC86-4d79-95A7-14FED9720F9B}" /> > > <property name="product.dir" value="." /> > > <msm > output="${product.name}.msm" > sourcedir="${product.dir}" > id="${product.name}.MergeModule.${msm.id}" > version="${msm.version}" > debug="true" > verbose="true" > > > > <properties> > <property name="ProductName" > value="${product.name}" /> > <property name="Manufacturer" > value="Invalid"/> > <property name="ProductCode" > value="${msm.guid.product}" /> > <property name="UpgradeCode" > value="${msm.guid.upgrade}" /> > </properties> > > <directories> > <directory name="D__SAMPLEPATH" > foldername="SamplePath" root="TARGETDIR" /> > </directories> > > <components> > <component name="C__MainFiles__${msm.id}" > id="{D1812D7A-781E-4C15-A2A5-0C396869D6E0}" attr="2" > directory="D__SAMPLEPATH"> > <key file="uaCore.dll" /> > <fileset> > <includes name="uaCore.dll" /> > </fileset> > </component> > </components> > </msm> > </target> > </project> > ------------------------------------------------------- > > and here are the results: > > ------------------------------------------------------- > NAnt 0.85 (Build 0.85.1551.0; net-1.1.win32; nightly; > 3/31/2004) > Copyright (C) 2001-2004 Gerry Shaw > http://nant.sourceforge.net > > Buildfile: file:///C:/Documents and Settings/jcole/My > Documents/test/2.0 Applica > tions/Components/uaCore/msm.build > Target(s) specified: test > > test: > > BUILD FAILED > > INTERNAL ERROR > > System.Resources.MissingManifestResourceException: > Could not find any resources > appropriate for the specified culture (or the neutral > culture) in the given asse > mbly. Make sure "NAnt.Contrib.Schemas.Msi.resources" > was correctly embedded or > linked into assembly "NAnt.Contrib.Tasks". > baseName: NAnt.Contrib.Schemas.Msi locationInfo: > <null> resource file name: NA > nt.Contrib.Schemas.Msi.resources assembly: > NAnt.Contrib.Tasks, Version=0.85.155 > 1.0, Culture=neutral, PublicKeyToken=null > at > System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo > cultur > e, Boolean createIfNotExists, Boolean tryParents) > at > System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo > cultur > e, Boolean createIfNotExists, Boolean tryParents) > at > System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo > cultur > e, Boolean createIfNotExists, Boolean tryParents) > at > System.Resources.ResourceManager.GetString(String > name, CultureInfo cultur > e) > at > System.Resources.ResourceManager.GetString(String > name) > at > NAnt.Contrib.Tasks.SchemaValidatedTask.InitializeTask(XmlNode > TaskNode) > at > NAnt.Contrib.Tasks.Msi.MsmTask.InitializeTask(XmlNode > TaskNode) > at NAnt.Core.Task.InitializeElement(XmlNode > elementNode) in c:\src\nantcvs\na > nt\src\NAnt.Core\Task.cs:line 364 > at NAnt.Core.Element.Initialize(XmlNode > elementNode) in c:\src\nantcvs\nant\s > rc\NAnt.Core\Element.cs:line 187 > at NAnt.Core.Project.CreateTask(XmlNode taskNode, > Target target) in c:\src\na > ntcvs\nant\src\NAnt.Core\Project.cs:line 1000 > at NAnt.Core.Target.Execute() in > c:\src\nantcvs\nant\src\NAnt.Core\Target.cs: > line 250 > at NAnt.Core.Project.Execute(String targetName, > Boolean forceDependencies) in > c:\src\nantcvs\nant\src\NAnt.Core\Project.cs:line 878 > at NAnt.Core.Project.Execute() in > c:\src\nantcvs\nant\src\NAnt.Core\Project.c > s:line 835 > at NAnt.Core.Project.Run() in > c:\src\nantcvs\nant\src\NAnt.Core\Project.cs:li > ne 903 > > Please send bug report to > [EMAIL PROTECTED] > > Total time: 1.2 seconds. > ------------------------------------------------------- > > Thanks to James and Gert for getting me this far. Any > ideas on whats wrong with the msm.build file? > > Thanks, > > John Cole > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > NAntContrib-Developer mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer > > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ NAntContrib-Developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer