Building white

Jun 16, 2011 at 2:54 PM

I got the source from github, but the build bat files seem to do nothing. The nant files are not documented. How should we build the latest version of white?

And BTW, what's the state of the github code? Is it usable?

Cheers, mate.

Coordinator
Jun 17, 2011 at 4:51 AM

The code is in working state but I need to perform some testing on 32 bit windows also. Documentation is pending along with few other testing for the release.

If you still want to use it, I use b.bat. Code is the documentation for you. I can help you with any info you need.

Aug 9, 2011 at 3:37 PM

I also tried to compile the code and stumbled over a few problems. Took the following steps to get the project compiled:

Build requirements:

1. git for windows (http://code.google.com/p/msysgit/)
2. Microsoft Visual C# 2008 Express Edition (http://go.microsoft.com/?linkid=7729278)
3. Microsoft Visual Web Developer 2008 Express Edition (http://go.microsoft.com/?linkid=7729281)
4. Microsoft Silverlight 2 SDK (http://www.microsoft.com/downloads/en/details.aspx?FamilyId=8D933343-038F-499C-986C-C3C7E87A60B3&displaylang=en)
5. Microsoft Silverlight 3 SDK (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=1ea49236-0de7-41b1-81c8-a126ff39975b&displaylang=en)
6. Html Help Workshop (http://msdn.microsoft.com/en-us/library/ms669985(VS.85).aspx?ppud=4)

Checking out the sources:

git clone https://github.com/petmongrels/white

Compiling the sources:

b.bat all.compile
:: For running unit tests and ui tests
b.bat all.test
:: Generates the project documentation and generates a compressed release file
b.bat -D:major.version=2 -D:minor.version=1 dist

If all goes well, the zipped release "White_Bin_0.2.1.zip" can be found in the folder "release".

Maybe it would be a good idea to include a little more information about the build-process in http://white.codeplex.com/wikipage?title=Working%20with%20source.

Cheers

Coordinator
Aug 16, 2011 at 5:49 PM

Thanks, would do it

Coordinator
Aug 30, 2011 at 2:05 PM

done

Aug 2, 2012 at 8:47 AM

I pulled the most recent source code from GitHub (7bb6456). Building the sources is no problem. However, when I try to run all of the tests included, some UI tests seem to fail, especially those present in the White.Core.UITests.

Does anybode experience the same problems? Or better - does someone have a solution?