Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Getting StartedGetting StartedDNN + CI (Using SVN, MSBuild and Hudson)DNN + CI (Using SVN, MSBuild and Hudson)
Previous
 
Next
New Post
8/3/2011 8:49 AM
 
I am just getting started with DNN in a new position and want to set up a Continuous Intergration server.

I was wondering if there are others that mostly does Module development and their thoughts on CI.

Right now I'm thinking about 1 build per module.

Anyone mind throwing around some ideas.  This is  also my first time with Hudson (partly because I want to try sth new, partly because it's free for an unlimited number of projects).

Cheers,
Krok
 
New Post
8/4/2011 6:03 AM
 
theres a million different ways to set up CI so I cant give you any definitive answer, but i can recommend you take a look at Phil Beadles blogs at http://www.dotnetnuke.com/Resources/Blogs/BlogID/20.aspx , as he often covers useful CI/msbuild etc. info.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
8/4/2011 3:01 PM
 
Thanks for the link Cathal.  I'm about to go search around there.

For starters I'm just very curious about what would one's repository setup be for dnn modules.

I'm used to a single solution with several projects (asp.net mvc that was) and one build script per solution.  (Fairly basic script I must add, since I'm not *that* experienced with MsBuild...just strongly believe in CI).

However with DNN each module seems to be a solution of it's own you have to create in the DesktopModules folder.
So far I could not create a working build script for that module itself, since it fail when I check it in, due to the DotNetNuke.dll being missing.

dont know if the above make sense?
 
New Post
8/4/2011 5:03 PM
 
sure -BTW your best option IMO is to take a look at the source build of dotnetnuke and you'll see the project structure we use, and the post-build tasks e.g. switch to release mode and notice the projects build and deploy to the website. Also I recommend looking as Chris's templates which use MSbuild (http://christoctemplate.codeplex.com/ and a related video http://www.dotnetnuke.com/Resources/Video-Library/Viewer/VideoId/107/Module-Development-Template-Installation.aspx )

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
8/7/2011 5:34 PM
 
Ok, I found a "temporary" solution, which is not to use a build script at all, but just building the solution.

Running from the command line this works just fine : msbuild .\CITestModule.sln /p:Configuration=Release

However, I want Hudson to run this (hell, I'm a hudson n00b as well) where I set the MsBuild Build File to CITestModule.sln and Command Line Arguments to /p:Configuration=Release.

However when I run a build I get an error as follows:

c:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3245: Could not resolve this reference. Could not locate the assembly "DotNetNuke". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [C:\Hudson\jobs\CITestModule\workspace\CITestModule.csproj]
For SearchPath "{HintPathFromItem}".
Considered "..\..\..\bin\DotNetNuke.dll", but it didn't exist.
...and it considered a lot of other locations too long to mention here.

Anyone successfully set up a hudson build like this?
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedDNN + CI (Using SVN, MSBuild and Hudson)DNN + CI (Using SVN, MSBuild and Hudson)


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out