构建 SharpKeeper(.NET 的 ZooKeeper 客户端)

发布于 2024-10-01 10:14:40 字数 473 浏览 0 评论 0原文

我一直在寻找 .NET 版本的 ZooKeeper 客户端,并找到了一个。 https://github.com/ewhauser/zookeeper/tree/trunk/ src/dotnet/SharpKeeper/

我非常兴奋,并下载了源文件来构建客户端程序集文件。 但是当我打开解决方案文件并尝试构建所有文件时,我发现缺少一些本应位于“生成”命名空间/文件夹下的文件。

当然,github 存储库上没有名为“Generate”的文件夹。 我不知道发生了什么事。

该文件夹的名称为“生成”,看起来我应该向解决方案添加一些构建事件。但我在任何地方都看不到任何描述说明我需要拥有什么样的东西或做什么。

有人建造过同样的东西吗? 我需要你的双手。 谢谢。

I've been looking for .NET version of the ZooKeeper client and I found one.
https://github.com/ewhauser/zookeeper/tree/trunk/src/dotnet/SharpKeeper/

I was so thrilled and downloaded the source files to build a client assembly file.
but when I opened up the solution file and tried to build them all, I found some files were missing which should have been under "Generated" namespace/folder.

of course, there's no folder named "Generated" on the github repository.
I don't know what's going on.

the name of the folder, which is "Generated", looks like that I should add some build event to the solution. but nowhere I could see any description saying what kind of stuff I need to have or do.

anybody ever built the same thing?
I need your hands.
thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

雨落星ぅ辰 2024-10-08 10:14:40

ZooKeeper 的 jute 代码生成器支持 csharp 生成。您需要运行此命令来生成缺少的文件:

org.apache.jute.compiler. generated.Rcc

有关如何执行此操作的详细信息,请参阅 Zk 的顶级 build.xml。

ZooKeeper's jute code generator supports csharp generation. You need to run this to generate the missing files:

org.apache.jute.compiler.generated.Rcc

See Zk's toplevel build.xml for details on how to do this.

岁月如刀 2024-10-08 10:14:40

只需使用 ant 构建 java 项目,它就会在生成的文件夹中创建缺少的 C# 文件。这是一步一步的。
1)下载ant,并将其解压到一个文件夹中。
2)打开命令行并导航到kafka中build.xml所在的文件夹。
3) 运行以下命令 [ant 的路径]\ant.bat

现在 C# 文件就在那里了。

Just build the java project using ant, and it will create the missing C# files in the generated folder. here are step by step.
1) download ant, and extract it into a folder.
2) open command line and navigate to the folder in kafka where build.xml is.
3) run the following command [path to ant]\ant.bat

That's it now the C# files will be there.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文