如何获取并构建最新版本的 NHibernate.Search?
这很愚蠢,但我不明白该怎么做。
尝试了 HornGet,但它显示“构建工具 Horn.Core.NAntBuildTool 构建 nhibernate.search 包失败”错误)
尝试重建 \branches\NHibernate.Search-NH3.x \NHibernate.Search.csproj - 项目找不到一些引用。
尝试从 \trunk\lib、\branches\lib\net\3.5 添加它们,但很少 “FullTextSessionImpl 没有实现某些东西”和其他一些 错误,所以 - 我想我没有找到合适的 dll。
我做错了什么?
基本上 - 我只想获得 NHibernate.Search 版本 包含NHSR-25补丁。有什么技巧可以做到这一点吗?
在 NHusers 上发布了同样的内容,
这令人难以置信地令人沮丧。现在我完全困惑了。
都尝试过 - NHS 主干版本和NHS 3.x 版本带有新构建的 NH 主干组件 - 仍然什么都没有。
构建 NH 时运行 NAnt -D:with.core.only=true
命令。
我只是不明白我错过了什么。
原来我是从 nhcontrib svn 中 svn co
nhibernate 来的。 -_-
不...这也没有帮助。
This is silly, but i can't understand how to do it.
Checked out from svn (https://nhcontrib.svn.sourceforge.net/svnroot/nhcontrib) source, but when i try to build it, there's bunch of errors about FullTextSessionImpl which does not implement ISession interface members.
Tried hornGet, but it shows "The build tool Horn.Core.NAntBuildTool
failed building the nhibernate.search package" error)
Tried to rebuild \branches\NHibernate.Search-NH3.x
\NHibernate.Search.csproj - project can't find some references.
Tried to add them from \trunk\lib, \branches\lib\net\3.5, got few
"FullTextSessionImpl does not implement something" and some other
errors, so - i guess i didn't find appropriate dll's.
What am i doing wrong?
Basically - I just want to get NHibernate.Search version that has
NHSR-25 patch included. Any tips how to do that?
Posted the same on NHusers
This is getting unbelievably frustrating. Now I'm completely confused.
Tried both - NHS trunk version & NHS 3.x version with freshly built NH trunk assemblies - still nothing.
Ran NAnt -D:with.core.only=true
command when building NH.
I just don't understand what I'm missing.
Turns out i svn co
nhibernate from nhcontrib svn. -_-
Nah... that didn't help either.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
NHibernate.Search 的主干版本是针对 NH2.1 构建的,对于 NH 的主干构建,您需要分支版本 NHibernate.Search-NH3.x
我刚刚通过执行以下操作从当前 svn 构建了它:
更新:NHSR-25 仅应用于主干。您需要自己添加补丁,使用 JIRA 中两个补丁中较小的一个。
The trunk version of NHibernate.Search builds against NH2.1, for a trunk build of NH you want the branch version NHibernate.Search-NH3.x
I just built this from current svn by doing the following:
Update: NHSR-25 has only been applied to trunk. You will need to add the patch yourself, use the smaller of the two from the JIRA.
您可以可靠地从 hornget 中提取构建:
http://hornget.net/packages/ orm/nhcontrib/nhibernate.search/
这将包括搜索及其所有依赖项:)
You can reliably pull a build from hornget:
http://hornget.net/packages/orm/nhcontrib/nhibernate.search/
this will include search and all its dependancies :)
事实证明——这很简单!当然!太直观了! :D
无论如何 - 这是......
nhibernate.search.csproj=>
必须更改为,
因为像这样的语句
Turns out - it's simple! Of course! So intuitive! :D
Anyway - here it is...
nhibernate.search.csproj=>
must be changed to
because of statements like