摘要: 代码结构: 1>>>>>> demoHello.thrift: namespace java xdg.luozhonghua.thrift.service /* struct UserProfile { 1: i32 uid = 1, 2: string name ... 阅读全文
posted @ 2015-03-22 23:08 172257861 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 代码结构: 1>>>>>> demoHello.thrift: namespace java xdg.luozhonghua.thrift.service /* struct UserProfile { 1: i32 uid = 1, 2: string name ... 阅读全文
posted @ 2015-03-22 23:08 172257861 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 代码结构: 1>>>>>> demoHello.thrift: namespace java xdg.luozhonghua.thrift.service /* struct UserProfile { 1: i32 uid = 1, 2: string name ... 阅读全文
posted @ 2015-03-22 23:08 172257861 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 1下载:http://www.apache.org/dyn/closer.cgi?path=/thrift/0.9.2/thrift-0.9.2.exe 2 创建 :demoHello.thrift namespace java xdg.luozhonghua.thrift.demo s... 阅读全文
posted @ 2015-03-22 14:29 172257861 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 1下载:http://www.apache.org/dyn/closer.cgi?path=/thrift/0.9.2/thrift-0.9.2.exe 2 创建 :demoHello.thrift namespace java xdg.luozhonghua.thrift.demo s... 阅读全文
posted @ 2015-03-22 14:29 172257861 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 1下载:http://www.apache.org/dyn/closer.cgi?path=/thrift/0.9.2/thrift-0.9.2.exe 2 创建 :demoHello.thrift namespace java xdg.luozhonghua.thrift.demo s... 阅读全文
posted @ 2015-03-22 14:29 172257861 阅读(469) 评论(0) 推荐(0) 编辑
摘要: 在eclipse下构建maven项目,该项目由多个子模块组成。 1.创建一个父项目 NEW -->project-->maven-->maven Project,点击下一步,进入new maven Project的Select project name and location界面 ... 阅读全文
posted @ 2015-03-22 13:58 172257861 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 1 window 一、安装ant 到官方主页http://ant.apache.org下载新版(目前为Ant1.8.1)的ant,得到的是一个apache-ant-1.8.1-bin.zip的压缩包。将其解压到你的硬盘上,例如:C:\apache-ant-1.8.1。 二、配置环境... 阅读全文
posted @ 2015-03-22 12:38 172257861 阅读(979) 评论(0) 推荐(0) 编辑