如何安装BND环境以在命令行中使用bnd?
我需要在命令行环境下使用bnd来开发OSGI项目。 我搜索了以下网站: http://www.aqute.biz/Bnd/Download 但有没有关于如何在命令行环境中安装 bnd 的说明。
有人可以给我一些信息吗?我需要详细的说明。
我的目的是在Windows XP中使用bnd
,如下所示:
bnd aQute.tutorial.chat.bnd
I need to use bnd in a command line environment to develop OSGI project.
I searched the following site: http://www.aqute.biz/Bnd/Download But there are no instructions for how to install bnd in a command line environment.
Can anybody can give me some information? I need detailed instructions.
My purpose is to use bnd
in windows XP as follows:
bnd aQute.tutorial.chat.bnd
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
bnd 命令是一个执行以下命令的 shell 脚本:
您必须自己创建该脚本。
(如 http://www.aqute.biz/Bnd/Download 中所述)
The bnd command is a shell script that executes the following command:
You will have to make that script yourself.
(as mentioned on http://www.aqute.biz/Bnd/Download)
下载 bnd 并使用 Java 启动它。您应该从 jpm 下载 bnd (选择最新的 master 或 staging 版本,然后从该修订版页面下载)或从 Cloudbees。
下载后,您应该有一个文件 biz.aQute.bnd-#.#.#.jar。您可以从命令行运行此文件:
您可以将其放入 .bat 文件中,例如:
Download bnd and start it with Java. You should download bnd from jpm (select the latest master or staging version, and download from that revision page) or from Cloudbees.
Once you've downloaded, you should have a file biz.aQute.bnd-#.#.#.jar. You can run this file from the command line line:
You could place this in a .bat file like: