Taken this to the nant list, where it belongs. Next reply, please remove the ccnet-users.
You obviously can't do that with the exec task, But I question why you really even want to. You're allowed to have multiple solution files you know. Just make a plain vanilla solution file that matches that big block of project specifications you want, and have nant call that, either via exec or the solution task. Let all that sort of configuration be held in the solution file, not in the nant file. I can't seen any good reason to put it into nant. Cheers, Karl P > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Simone Chiaretta > Sent: Friday, June 30, 2006 5:30 PM > To: [EMAIL PROTECTED] > Subject: [Ccnet-user] R: Solution --> Cannont find oneormore > components.Please reinstall the application. > > And what if I want to compile a list of project? > > In Nant I do the following: > > <target name="compile-UnitTesting"> > <solution configuration="${configuration}"> > <projects> > <include > name="UnitTests.Subtext\UnitTests.SubText.csproj" /> > <include > name="Subtext.UnitTesting.Servers\Subtext.UnitTesting.Servers. > csproj" /> > </projects> > <referenceprojects> > <include > name="Subtext.Common\SubText.Common.csproj" /> > <include > name="Subtext.DotTextUpgrader\Subtext.DotTextUpgrader.csproj" /> > <include > name="Subtext.Extensibility\Subtext.Extensibility.csproj" /> > <include > name="Subtext.Framework\Subtext.Framework.csproj" /> > <include > name="Subtext.Installation\Subtext.Installation.csproj" /> > <include > name="Subtext.Scripting\Subtext.Scripting.csproj" /> > <include > name="Subtext.Web\Subtext.Web.csproj" /> > <include > name="Subtext.Web.Controls\Subtext.Web.Controls.csproj" /> > </referenceprojects> > </solution> > </target> > > > Is it possibile to do the same using the exec external task > with MSBuild? > > Simo > > ------------------------- > Simone Chiaretta > www.piyosailing.com/S > Any sufficiently advanced technology is indistinguishable > from magic "Life is short, play hard" > > > > -----Messaggio originale----- > > Da: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Per conto di Karl > > Palsson > > Inviato: venerdì 30 giugno 2006 17.58 > > A: [EMAIL PROTECTED] > > Oggetto: Re: [Ccnet-user] Solution --> Cannont find one ormore > > components.Please reinstall the application. > > > > > > > > > > No. It doesn't. But this really belongs on the nant list.... > > > > Vs 2003 solutions... > > > > <solution solutionfile="${this-soln-file}" > > configuration="${build.config}" > > verbose="${verbose}" outputdir="${bindir}"> > > </solution> > > > > Vs2005 solutions... > > > > <exec program="${msbuild}"> > > <arg value="${this-soln-file}"/> > > <arg value="/t:Build"/> > > <arg value="/p:Configuration=${build.config}"/> > > </exec> > > > > The solutions are just the plain vanilla solutions that the > developers > > open up when they want to work on the project in question. > > > > You can still do all the nanty nant stuff in the nant > script, you're > > just using msbuild to the do compilation. Just like in > 2003, you were > > using the solution task to do the compilation. Presumably > you have a > > lot more to your world than just compilation. > > > > Cheers, > > Karl P > > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On Behalf Of > > > Simone-dev > > > Sent: Friday, June 30, 2006 3:23 PM > > > To: [EMAIL PROTECTED] > > > Subject: Re: [Ccnet-user] Solution --> Cannont find one or more > > > components.Please reinstall the application. > > > > > > But that means porting the NAnt script to a MSBuild project > > script :-) > > > > > > Simo > > > > > > Andy Johnstone wrote: > > > > Alternately, you could just call out to Msbuild, which wouldn't > > > > require a VS license for your build server. > > > > > > > > Andy > > > > > > > > -----Original Message----- > > > > From: Duncan Woods [mailto:[EMAIL PROTECTED] > > > > Sent: Friday, June 30, 2006 7:48 AM > > > > To: [EMAIL PROTECTED] > > > > Subject: Re: [Ccnet-user] Solution --> Cannont find one or more > > > > components.Please reinstall the application. > > > > > > > >>> So, u have to move (as I'm trying to do right now) to MSBuild > > > > > > > > Why come you couldn't just shell execute msdev.com? Porting > > > my lengthy > > > > NAnt to 2005 just involved changing a path. > > > > > > > > Cheers, > > > > Duncan > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: [EMAIL PROTECTED] > > > > [mailto:[EMAIL PROTECTED] On Behalf Of > > > > Simone-dev > > > > Sent: 30 June 2006 09:20 > > > > To: [EMAIL PROTECTED] > > > > Subject: Re: [Ccnet-user] Solution --> Cannont find one or > > > more components. > > > > Please reinstall the application. > > > > > > > > If you are using NAnt to automate the build... NAnt > > doesn't support > > > > VS2005 solutions and projects... So, u have to move (as > > I'm trying > > > > to do right now) to MSBuild.... > > > > > > > > and that really sucks, because I have tons of build file > > > with tons of > > > > tasks, and MSBuild is not as well documented as NAnt is > > > > > > > > I still have to understand why the guys are NAnt made NAnt > > > compatible > > > > with NET 2.0, but didn't update their solution task to > > > support the new > > > > format of project files used by VS2005... this is going to > > > be a huge marketing error. > > > > People are forced to move to MSBuild if they use VS2005 > > > > > > > > Simo > > > > > > > > > > > > [EMAIL PROTECTED] wrote: > > > >> To be clear, I mean reinstall Visual Studio 2005. > > > >> > > > >> [EMAIL PROTECTED] wrote: > > > >>> As obvious as this may sound now ... > > > >>> > > > >>> If when CC runs a Visual Studio 2005 solution file > the next log > > > >>> entry > > > > is > > > >>> "Cannont find one or more components. Please reinstall the > > > > application." > > > >>> You need to re-install it to fix this problem > > > >>> > > > >>> tags: wont build broken failed > > > >>> > > > >>> > > > >> > > > >> Using Tomcat but need to do more? Need to support web services, > > > > security? > > > >> Get stuff done quickly with pre-integrated technology to > > make your > > > >> job > > > > easier > > > >> Download IBM WebSphere Application Server v.1.0.1 > based on Apache > > > > Geronimo > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 > > > > 42 > > > >> _______________________________________________ > > > >> Ccnet-user mailing list > > > >> [EMAIL PROTECTED] > > > >> https://lists.sourceforge.net/lists/listinfo/ccnet-user > > > >> > > > > > > > > > > > > Using Tomcat but need to do more? Need to support web > > > services, security? > > > > Get stuff done quickly with pre-integrated technology to > > > make your job > > > > easier Download IBM WebSphere Application Server > v.1.0.1 based on > > > > Apache Geronimo > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 > > > > 42 _______________________________________________ > > > > Ccnet-user mailing list > > > > [EMAIL PROTECTED] > > > > https://lists.sourceforge.net/lists/listinfo/ccnet-user > > > > > > > > Using Tomcat but need to do more? Need to support web > > > services, security? > > > > Get stuff done quickly with pre-integrated technology to > > > make your job > > > > easier Download IBM WebSphere Application Server > v.1.0.1 based on > > > > Apache Geronimo > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 > > > > 42 _______________________________________________ > > > > Ccnet-user mailing list > > > > [EMAIL PROTECTED] > > > > https://lists.sourceforge.net/lists/listinfo/ccnet-user > > > > > > > > > > > > > > > > Using Tomcat but need to do more? Need to support web > > > services, security? > > > > Get stuff done quickly with pre-integrated technology to > > > make your job > > > > easier Download IBM WebSphere Application Server > v.1.0.1 based on > > > > Apache Geronimo > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=> > 120709&bid=263057&dat=1216 > > > > 42 _______________________________________________ > > > > Ccnet-user mailing list > > > > [EMAIL PROTECTED] > > > > https://lists.sourceforge.net/lists/listinfo/ccnet-user > > > > > > > > > > > > > Using Tomcat but need to do more? Need to support web services, > > > security? > > > Get stuff done quickly with pre-integrated technology to > make your > > > job easier Download IBM WebSphere Application Server > > > v.1.0.1 based on Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > > > dat=121642 > > > _______________________________________________ > > > Ccnet-user mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/ccnet-user > > > > > > > Using Tomcat but need to do more? Need to support web services, > > security? > > Get stuff done quickly with pre-integrated technology to > make your job > > easier Download IBM WebSphere Application Server v.1.0.1 based on > > Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Ccnet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/ccnet-user > > > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier Download IBM WebSphere Application Server > v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Ccnet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/ccnet-user > Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users