Roelof initial post was about replacing nant with msbuild, now we have suggestions to use psake, rake, ironruby, phantom, my question is why. What is wrong with nant? It seems to be doing the job, or am I missing something?
I know it is not perfect, and is not a dsl or no xml, but it does the job. >sln/csproj (references and sources) are 'automatically' in sync with > what's on the disk, Yes that is true, but does it really take that long to keep them in sync? And in my case I use VS to do updates to the source code so everything is in sync anyway. > just open a sln and it compiles without running NAnt first(we create a > little exe that creates/updates AssemblyInfo on the PreBuildEvent). Most of the projects if not all are now able to be opened from VS and built by pressing F5 without having to run any prior nant scripts, if you know of any project that is broken please either fix it or let us know and I'll fix it. I do like the idea of being able to build everything with msbuild. I do think it is reasonable to assume that 90% of our user base is using VS and they much rather build our projects from inside VS than any other way. All the build solutions that have been mentioned so far sound pretty good, but what is the benefit to the end user? Any solution that is not double click the sln file and press F5, in my opinion is not worth the effort. Cheers John On Dec 21, 8:45 pm, Julian Birch <[email protected]> wrote: > My 2 pence: > > - I've never seen a csproj-based open source solution that didn't have > reference issues. > - But I may have a solution to that... ;-) > - Not only do we not want to assume PS, we don't want to assume Visual > Studio/Resharper. > > Personally, I really like rake, but setting up ruby on windows is a pain in > the neck. If (big if) we could package it on IronRuby, it might be > workable. Even if it's no longer under active development, it's not like > it's missing features we need. > > J > > 2009/12/21 Ken Egozi <[email protected]> > > > Lets separate *compilation* from *build* > > > whichever build tool we choose, the compilation part should work through > > the csproj files, probably by calling MSBuild/xBuild on them. > > > The rest of the things, scriptable things, ( run tests, tun NCover/NDepend, > > package to zip) should be a *lot* easier to bring from nant and then > > maintain, to any script-based build system (be it PSake, Rake or whatever) > > than in custom MSBuild files. > > > On Mon, Dec 21, 2009 at 4:29 AM, John Simons > > <[email protected]>wrote: > > >> Here are a few things that the current NAnt script does: > >> 1. Pulls version from svn and autogens AssemblyInfos > >> 2. Runs tests via nunit > >> 3. Compiles + packages files into a zip file to be ready to be > >> uploaded to sf.net > >> 4. Runs NCover and NDepend > >> 5. Supports passing of parameters to configure tests (eg database > >> tests are passed NHibernate settings like string connection) > > >> How to handle these in MSBuild: > >> 1. TeamCity 5.1 or custom msbuild task > >> 2. Use Resharper locally, and use TeamCity on the build server > >> 3. Can be done in TC > >> 4. TC v5 now supports NCover out of the box and NDepends can be set to > >> run after a build in TC > >> 5. I was thinking of setting up "Environment Variables" in TC. > > >> Cheers > >> John > > >> On Dec 21, 1:17 am, Roelof Blom <[email protected]> wrote: > >> > Hi, > > >> > Isn't it time to retire NAnt and just simply build projects with > >> MSBuild? > >> > The benefits being: > > >> > - having one build technology, > >> > - sln/csproj (references and sources) are 'automatically' in sync > >> with > >> > what's on the disk, > >> > - just open a sln and it compiles without running NAnt first(we > >> create a > >> > little exe that creates/updates AssemblyInfo on the PreBuildEvent). > > >> > SharpDevelop, being a pretty big project, is entirely being build by > >> MSBuild > >> > so it should be possible for us also, especially now that the projects > >> are > >> > split up. > > >> > On Mono there's xbuild <http://www.mono-project.com/Microsoft.Build>, > >> and > >> > from what I read > >> > here<http://ankitjain.org/blog/2009/10/02/xbuild-and-mono-2-6p1/>it's > >> > very much up to the task on Mono 2.6. > > >> > I am currently investigating, but want to check if there's anything I am > >> > grossly overlooking i.e. what NAnt does and MSBuild can't. For extending > >> > MSBuild I am usinghttp://msbuildtasks.tigris.org/ > > >> > -- Roelof. > > >> -- > > >> You received this message because you are subscribed to the Google Groups > >> "Castle Project Development List" group. > >> To post to this group, send email to > >> [email protected]. > >> To unsubscribe from this group, send email to > >> [email protected]<castle-project-devel%[email protected]> > >> . > >> For more options, visit this group at > >>http://groups.google.com/group/castle-project-devel?hl=en. > > > -- > > Ken Egozi. > >http://www.kenegozi.com/blog > >http://www.delver.com > >http://www.musicglue.com > >http://www.castleproject.org > >http://www.idcc.co.il- הכנס הקהילתי הראשון למפתחי דוטנט - בואו בהמוניכם > > > -- > > You received this message because you are subscribed to the Google Groups > > "Castle Project Development List" group. > > > To post to this group, send email to [email protected] > > . > > To unsubscribe from this group, send email to > > [email protected]<castle-project-devel%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/castle-project-devel?hl=en. -- You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en.
