Openstack 二次开发之:在windows 环境下编译Openstack-java-sdk
2014-09-30 16:52
459 查看
在windows环境下使用maven对openstack-java-sdk进行编译
F:\github\openstack-java-sdk>gpg--list-key 显示为空,因为之前没有创建过gpgkey
在编译的过程中会提示让你输入gpg的密码,数据密码后会继续编译,直到成功
编译源文件
下载源码
git clonehttps://github.com/woorea/openstack-java-sdk.git下载并安装gpg4win http://ftp.gpg4win.org/
本次过程中下载的是 href="http://ftp.gpg4win.org/gpg4win-2.2.2.exe" target=_blank>gpg4win-2.2.2.exe配置gpg
查看
F:\github\openstack-java-sdk>gpg --list-key gpg:C:/Users/Eric.sunah/AppData/Roaming/gnupg/trustdb.gpg: trustdb created
F:\github\openstack-java-sdk>gpg--list-key 显示为空,因为之前没有创建过gpgkey
创建gpg key
F:\github\openstack-java-sdk>gpg --list-key Please select whatkind of key you want: (1) RSAand RSA (default) (2) DSAand Elgamal (3) DSA(sign only) (4) RSA(sign only) Yourselection? =========================》 回车 RSA keys may bebetween 1024 and 4096 bits long. What keysize do youwant? (2048) Requested keysize is2048 bits Please specify howlong the key should be valid. 0 = key does not expire <n> = key expires in n days <n>w = key expires in n weeks <n>m = key expires in n months <n>y = key expires in n years Key isvalid for? (0) ==========================>》回车 Key does not expireat all Is this correct?(y/N) ===========================》 y You need a user IDto identify your key; the software constructs the user ID from the Real Name,Comment and Email Address in this form: "Heinrich Heine (Der Dichter) <heinrichh@duesseldorf.de>" Real name: vipzrx Email address:vipzrx@gmail.com Comment:vipzrx-comment You selected thisUSER-ID: "vipzrx (vipzrx-comment) <vipzrx@gmail.com>" Change (N)ame,(C)omment, (E)mail or (O)kay/(Q)uit? ========================》 o You need aPassphrase to protect your secret key. ====================================================================》这里输入密码 We need to generatea lot of random bytes. It is a good idea to perform 会需要很长很长时间 some other action(type on the keyboard, move the mouse, utilize the disks) during theprime generation; this gives the random number generator a betterchance to gain enough entropy. Not enough randombytes available. Please do some other work to give the OS a chance tocollect more entropy! (Need 268 more bytes) +++++ ....+++++ We need to generatea lot of random bytes. It is a good idea to perform some other action(type on the keyboard, move the mouse, utilize the disks) during theprime generation; this gives the random number generator a betterchance to gain enough entropy. gpg: key ACD99A24marked as ultimately trusted public and secretkey created and signed. gpg: checking thetrustdb gpg: 3 marginal(s)needed, 1 complete(s) needed, PGP trust model gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m,0f, 1u pub 2048R/ACD99A24 2013-11-28 Key fingerprint = 601E E55C 7B9D 9E3C 4A9F 64AA 12FF A237 ACD9 9A24 uid vipzrx (vipzrx-comment) <vipzrx@gmail.com> sub 2048R/41A14E55 2013-11-28
验证
创建gpg key是否成功?F:\github\openstack-java-sdk>gpg--list-key gpg --list-key C:/Users/Eric.sunah/AppData/Roaming/gnupg/pubring.gpg --------------------------- pub 2048R/ACD99A24 2013-11-28 uid vipzrx (vipzrx-comment) <vipzrx@gmail.com> sub 2048R/41A14E55 2013-11-28
编译源码
F:\github\openstack-java-sdk>mvn install在编译的过程中会提示让你输入gpg的密码,数据密码后会继续编译,直到成功
相关文章推荐
- Openstack 二次开发之:在windows 环境下编译Openstack-java-sdk
- JAVA 基础开发环境 vscode 搭建 Windows下VSCode编译运行简单java
- windows 7 操作系统中Java开发环境的设置
- Windows下Java开发环境的配置
- 在Windows上搭建Android的JAVA开发环境图文教程(Eclipse版本)
- Windows下JAVA开发环境的配置(应用Eclipse)
- Android 开发环境搭建---Android 编译需要的sun-java5-jdk在ubuntu10.04以上版本的安装问题
- windows 7 操作系统中Java开发环境的设置
- Windows下Linux开发环境设置(二)--安装Cygwin及交叉编译工具链
- Qt4 SDK(mingw编译版)与VS2008/VS2005的集成开发环境的安装配置
- 基于Windows的iPad/iPhone开发编译环境
- 基于Windows的iPad/iPhone开发编译环境
- Windows下的java串口开发环境配置
- 在Windows上搭建Android的JAVA开发环境图文教程(Eclipse版本)
- Windows下Linux开发环境设置(二)--安装Cygwin及交叉编译工具链
- Windows下的java串口开发环境配置
- Windows下使用VIM,搭建Mainframe开发环境(七)---编译并修改源文件
- Windows 下安装 S60_3rd_sdk_fp1,并在 eclipse 上搭建 Nokia 的 J2ME 开发环境
- Windows下的java串口开发环境配置(2)
- IPhone开发笔记-windows下Object-c编译环境