Build Errors

3 views
Skip to first unread message

SteveG

unread,
Aug 25, 2010, 7:39:18 AM8/25/10
to ncqrs-dev
I just pulled down the latests from Github to try out the samples.

I get errors (when it runs the test)

Also, I see two examples - the ones from github, and the ones off
codeplex.

Which sample in the github is the one referred to in the codeplex
sample ?

Any help getting the samples running would be appreciated

(I'm highly interested in the NSB example as well - I've been learning
about NSB and ran across this project that looks fantastic)

Pieter Joost van de Sande

unread,
Aug 25, 2010, 7:54:49 AM8/25/10
to ncqr...@googlegroups.com
Hey Steven,

On Wed, Aug 25, 2010 at 1:39 PM, SteveG <steven....@gmail.com> wrote:
I just pulled down the latests from Github to try out the samples.

I get errors (when it runs the test)

Can you tell us which test fail?
 
Also, I see two examples - the ones from github, and the ones off
codeplex.

Which sample in the github is the one referred to in the codeplex
sample ?

All the code at Codeplex is old. You should only work with the code that is on github. In the github repository you find tree examples:

- MyNotes
- NSBSample
- VersioningSample

The first one is a full very simple website implemented with Ncqrs. NSBSample shows how the integration with NServiceBus works and the VersioningSample was used to test drive event versioning. The last one is not the best one to start.

If you just want to see a simple application implemented with Ncqrs, I advice you to look at the MyNotes example. There is also a article and screencast on top of that, you can find that here: http://ncqrs.org/getting-started/
 
Any help getting the samples running would be appreciated

You say the tests fail, but can you compile and run the examples or do they also give errors? 

(I'm highly interested in the NSB example as well - I've been learning
about NSB and ran across this project that looks fantastic)

NServiceBus can play a nice roll in an CQRS based system. It is definitely worth looking at!

Hope that helps,

PJ

SteveG

unread,
Aug 25, 2010, 8:08:02 AM8/25/10
to ncqrs-dev
I'm not sure, this is what I see at the end:

[nunit2] </results>
[nunit2] </test-suite>
[nunit2] </results>
[nunit2] </test-suite>
[nunit2] </results>
[nunit2] </test-suite>
[nunit2] </results>
[nunit2] </test-suite>
[nunit2] </test-results>
[nunit2]

BUILD FAILED

C:\Projects\NCQRS\ncqrs-ncqrs-74c9eff\MAIN.build(37,6):
Tests Failed.

Total time: 5 seconds.


I see this message near the top:

[nunit2] <message><![CDATA[No connection could be made with SQL
server: Canno
open database "MsSqlServerEventStoreTestEventStore" requested by the
login. Th
login failed.
[nunit2] Login failed for user 'WIN-OOUE7L0H03B\sds'.

Am I suppose to have a database installed to build ?

UPDATE: I removed
<call target="RunTestsForFramework" /> from the build file and it
was able to build

I suspect I'm missing the database from above

On Aug 25, 7:54 am, Pieter Joost van de Sande <p...@born2code.net>
wrote:
> Hey Steven,

Pieter Joost van de Sande

unread,
Aug 25, 2010, 8:16:43 AM8/25/10
to ncqr...@googlegroups.com
Thanks for the details.

You should not have a database installed to build, not even to run the tests. Some tests use a database, but these are skipped when failed. At least, that is what *should* happen, but probebly there is the bug. I will digg into this and try to fix them soon.

For now, you removed the tests step and it builds fine. This should allow you to run one of the examples. Can you confirm this?
Reply all
Reply to author
Forward
0 new messages