关于搭建微信平台的感想

来源:互联网 发布:java maven 命令 编辑:程序博客网 时间:2024/05/23 10:57


    最近想把搭建微信平台的框架搭建起来,中间遇到不少波折。希望读者可以不要像我一样遇到这么多的麻烦事。我的论述风格有点像杂文,文如其人吧。请大家理解。不要以一种读干货的心态来读文章,而是有点干货的杂文。

    首先是关于jquery在eclipse代码提示。其实是想转到intellij的平台开发的,但是对这个平台还不太熟悉。为什么不用myeclipse,好吧,myeclipse太卡饿了。公司那台i3处理器的台式都会卡卡的,尤其是到了下午。其实myeclipse也是基于eclipse开发的。发现关于jquery在eclipse中的代码提示的文章都是2010年这样子的。不知道百度是怎么想的,居然让这么老的文章在前几个。昨天搞到很迟才搞定。主要有两种形式的插件。

    一、spaket。基本上网上的文章是关于1.6.23的。说要破解什么的,破解补丁。好吧,根本就不需要这回事。晚上也有eclipse的Update Site。但那个是老的,不能用。其实只要到官网上找http://www.spket.com/download.html。点击Update Site 会提示你新的地址是http://www.agpad.com/update。然后你选择第一个或者第二个证书就好了,然后就按照教程,就可以得到代码提示了,不过提示好坑爹啊,就一些最简单的提示连click这种都没有。

  二、apatana。这个文章也是很久的。最新的是3的版本,网上很多还是2的版本。但是我按照文章安装了是有问题的,不能安装jquery的代码提示插件。也许你的可以,Update Site是http://d1iwq2e2xrohf.cloudfront.net/tools/studio/plugin/install/studio3/3.6.0.201407100643/。这个比较特别。


还有今天早上的在搭建maven工程的时候发现连不上maven的中央仓库。公司是有私有仓库的,所以体验是比较好的。大天朝怎么这个也要封,是不是有点过了。我就想应该有公司这样的仓库是开放给开发者的,发现是有的。

<repositories>      <repository>        <id>maven-net-cn</id>        <name>Maven China Mirror</name>        <url>http://maven.net.cn/content/groups/public/</url>        <releases>          <enabled>true</enabled>        </releases>        <snapshots>          <enabled>false</enabled>        </snapshots>      </repository>    </repositories>      <pluginRepositories>      <pluginRepository>        <id>maven-net-cn</id>        <name>Maven China Mirror</name>        <url>http://maven.net.cn/content/groups/public/</url>        <releases>          <enabled>true</enabled>        </releases>        <snapshots>          <enabled>false</enabled>        </snapshots>          </pluginRepository>    </pluginRepositories> 


这个是maven的中国镜像,好吧,还是不可以。不甘心,找到比较靠谱的一个是开源中国的,不得不说,这真的是一个好网站。不多说了,贴代码


<repositories><repository><id>nexus</id><name>local private nexus</name><url>http://maven.oschina.net/content/groups/public/</url><releases><enabled>true</enabled></releases><snapshots><enabled>false</enabled></snapshots></repository></repositories><pluginRepositories><pluginRepository><id>nexus</id><name>local private nexus</name><url>http://maven.oschina.net/content/groups/public/</url><releases><enabled>true</enabled></releases><snapshots><enabled>false</enabled></snapshots></pluginRepository></pluginRepositories>

然后就一切都很流畅。所要的包就下载好了。




0 0
原创粉丝点击