上一页 1 2 3 4 5 6 7 ··· 51 下一页
摘要: 上一节讲了maven的安装和配置,这一节我们来学习一下创建一个简单的Maven项目1. 用Maven 命令创建一个简单的Maven项目在cmd中运行如下命令:mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app-simple -Dversion=1.0 -DarchetypeArtifactId=maven-archetype-quickstart即可在当前目录创建一个简单的maven项目,当然创建的时候会从Maven库中下载相关的依赖,耐心等待即可。maven的大致结构如下:my-app|-- pom.x 阅读全文
posted @ 2013-12-17 15:35 GreyWolf 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 1. 简介 Maven是基于项目对象模型(POM),可以通过一小段描述信息来管理项目的构建,报告和文档的软件项目管理工具. 如果你已经有十次输入同样的Ant targets来编译你的代码、jar或者war、生成javadocs,你一定会自问,是否有一个重复性更少却能同样完成该工作的方 法。 Maven便提供了这样一种选择,将你的注意力从作业层转移到项目管理层。Maven项目已经能够知道如何构建和捆绑代码,运行测试,生成文档并宿主项目网页 2.核心价值 * 简单 Maven 暴露了一组一致、简介的操作接口,能帮助团队成员从原来的高度自定义的、复杂的构建系统中解脱出来,使用Maven现有的... 阅读全文
posted @ 2013-12-17 15:31 GreyWolf 阅读(165) 评论(0) 推荐(0) 编辑
摘要: if(navigator.userAgent.match(/Android/i)) { window.location = 'http://apk.hiapk.com/m/downloads?id=com.shixun.sunwaykids&vcode=6'; } if ((navigator.userAgent.indexOf('iPhone') != -1) || (navigator.userAgent.indexOf('iPod') != -1) || (navigator.userAgent.indexOf('iPad& 阅读全文
posted @ 2013-12-16 14:18 GreyWolf 阅读(446) 评论(0) 推荐(0) 编辑
摘要: 1.准备好aps_developer_identity.cer, push.p12这两个证书文件2. 生成证书如下:openssl x509 -in aps_developer_identity.cer -inform der -out PushChatCert.pemopenssl pkcs12 -nocerts -out PushChatKey.pem -in Push.p12Enter Import Password:MAC verified OKEnter PEM pass phrase:Verifying – Enter PEM pass phrase:把私钥和证书整合到一个.pem 阅读全文
posted @ 2013-12-16 13:57 GreyWolf 阅读(363) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.serverdensity.com/how-to-renew-your-apple-push-notification-push-ssl-certificate/It’s coming up to a year since we launch ourserver monitoring iPhone applicationand so our Apple push notification SSL certificate is expiring in a few weeks. It is necessary to renew it and install the 阅读全文
posted @ 2013-12-16 13:56 GreyWolf 阅读(499) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.serverdensity.com/how-to-build-an-apple-push-notification-provider-server-tutorial/One of the widely anticipated features of the newiPhone OS 3.0ispush notificationswhich allow messages to be sent directly to an individual device relevant to the application that has been installed. A 阅读全文
posted @ 2013-12-16 13:55 GreyWolf 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 转自:http://cloudfields.net/blog/ios-push-notifications-encryption/The serious pains of setting up a Remote Push Notification in an iOS app come not from coding the app itself. They mostly relate in making the intermediate environment to connect with the Apple Push Notification Servers (APNS) and the 阅读全文
posted @ 2013-12-16 13:53 GreyWolf 阅读(569) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.raywenderlich.com/32963/apple-push-notification-services-in-ios-6-tutorial-part-2Update 4/12/2013: Fully updated for iOS 6 (original post byMatthijs Hollemans, update byAli Hafizji).This is the second part of a 2-part tutorial series on integrating Apple Push Notification Services (APN 阅读全文
posted @ 2013-12-16 13:52 GreyWolf 阅读(587) 评论(4) 推荐(0) 编辑
摘要: 转自:http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1Update 4/12/2013: Fully updated for iOS 6 (original post byMatthijs Hollemans, update byAli Hafizji).In iOS, apps can’t do a lot in the background. Apps are only allowed to do limited set of activities so 阅读全文
posted @ 2013-12-16 13:46 GreyWolf 阅读(650) 评论(0) 推荐(0) 编辑
摘要: 用途:pkcs12文件工具,能生成和分析pkcs12文件。PKCS#12文件可以被用于多个项目,例如包含Netscape、MSIE和MS Outlook。用法:openssl pkcs12 [-export] [-chain] [-inkey filename] [-certfile filename] [-CApath arg] [-CAfile arg] [-name name] [-caname name] [-in filename] [-out filename] [-noout] [-nomacver] [-nocerts] [-clcerts] [-cacerts] [-noke 阅读全文
posted @ 2013-12-16 13:40 GreyWolf 阅读(732) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 51 下一页