快速创建GAE/J项目
2010-01-30

在Google App Engine for Java推出后,样例的代码都是基于Ant的,但是Java开发中更多的是基于Maven的,于是也Mawei搞了一个GAE/J Maven archetype,同时将GAE/J相关的开发包上传到http://www.mvnsearch.org/maven2 的Maven Repository中。当然开源社区也做了不少GAE和Maven整合的例子,其中比较突出的就是Maven GAE Plugin,可以管理GAE/J涉及到各种任务。本文就是介绍如何快速创建一个整合了GAE Plugin的GAE项目,其实也非常简单,3个步骤。 本文假设你已经安装了Maven,而且了解Maven的基本用法。
1 首先根据Maven GAE Archetype创建一个新的工程:
     > mvn archetype:generate -DarchetypeCatalog=http://www.mvnsearch.org/maven2
2 进入到新建目录,下载Google App Engine SDK。 GAE Plugin一个好处就是在你们没有下载SDK的时候,自动帮你下载一个,个人建议你还是选择这种方式。当如下面这个步骤只要执行一次即可:
     > mvn gae:unpack
3 运行GAE项目,项目创建完毕后,你可能马上向看到一个Demo页面,没有关系,执行下述命令,然后在浏览中打开 http://localhost:81即可
     > mvn gae:run

总结:整个项目创建还是非常流畅的,甚至你都不需要下载SDK。当然项目创建,你可能需要使用IDE打开进行开发,这个前面有文章介绍过如何在IDEA下开发GAE/J应用,你可以参考一下。有了GAE Plugin,同时将将GAE/J的jar上传到Maven Repository中,项目管理会方便很多,同时相关的CI、项目管理都能很多好地进行,如果没有什么特殊要求,个人建议还是尝试一下这种方式,会有不少便捷。

 
在IDEA 9下开发Gaelyk
2010-01-06

Gaelyk是一个轻量级的开发Google App Engine的Groovy开发包,如果你打算开发基于Google App Engine,你可以考虑使用Groovy和Gaelyk。本文就介绍如何在IDEA 9下开发Gaelyk应用。本文所使用到得IDEA是指IDEA 9.0 旗舰版,而不是社区版。当然我们首先肯定你已经安装好Google App Engine。
1 首先我们要下载Gaelyk的项目模板,你可以访问 http://gaelyk.appspot.com/download/ 下载,当前版本为0.3.2。下载后请执行解压。
2 打开IDEA,基于解压的目录创建一个新的项目,只需要创建普通的Java Module。
3 项目创建完毕后,我们需要设置项目的classpath,也就是dependencies。这里我们分别创建GAE,Groovy和Gaelyk,这些jar包都在war/WEB-INF/lib下,最后我们再添加一个servlet的jar,主要是方便我们编写gtpl文件。
gaelyk_dependencies.png
4 接下来我们先进行一些设置,然后再进行项目设置。首先添加Google App Engine Server,打开设置面板,然后选择“Application Servers“,然后添加GAE Server即可。然后打开"File Types”选项,选择“Groovy Service Pages”,将"*.gtpl"添加为其类型,这样我们就可以再IDEA下以GSP来编辑gtpl文件啦。
5 接下来我们要为项目设置web facet。打开module,然后添加web facet,请设置正确的路径信息。接下来我们还需要在web facet下添加Google App Engine Server,如下图
gaelyk_webfacet.png
6 由于我们要在IDEA下直接运行Google App Engine Server,所以我们需要设置项目的artifacts,在"project structure"面板中选择artifacts,然后进行下图设置。
gaelyk_artifacets.png
7 接下来我们要在IDEA中启动Google App Engine Server。点击“tool”菜单下的“edit configurations”,然后创建一个Google App Engine Server的运行配置,如下图:
gaelyk_server.png
8 接下就是运行GAE Server,运行后你会看到Gaelyk标准的欢迎页面。
9 回到Google App Engine Web管理页面(http://appengine.google.com) ,创建一个新的项目,如gaelyk-xxx,创建完毕后,会到IDEA中,打开appengine-web.xml,输入app id。
10 上传Gaelyk应用。点击“tools”菜单下的“Upload App Engine Application”,如果第一次上传,会提示你输入email和密码,这样就完成了Google App Engine应用的部署。

总结:本文只是讲述了如何在IDEA 9进行Gaelyk的应用整合,还没有涉及到IDEA的强大的Groovy编辑功能,GSP的编辑功能等,还有就是Gaelyk的各种特性,相信环境搭建完毕后,你能很快进行应用开发啦。

 
IntelliJ IDEA 9.0 Released
2009-12-09

What's New in Version 9

This release delivers many major updates to IntelliJ IDEA including better performance, support for Java EE 6 and other new frameworks, lots of productivity improvements in the editor, a more streamlined user interface and much more.

   

Please visit http://www.jetbrains.com/idea/whatsnew/index.html for detail!

 
TeamCity 5.0 Released!
2009-12-04

The wait is over, ladies and gentlemen! The release build is baked, tested, and put on the shelf. Tastes good, so go and grab it now!

Let us write down a short summary of what was accomplished since the TeamCity 4.5 release.

First of all, here’s the list of most noteworthy features:

  • Support for Amazon EC2: Take advantage of cloud computing with TeamCity by putting build agents on Amazon EC2 cloud with on-demand image starting and on-idle stopping.
  • Issue tracker integration with JetBrains YouTrack, JIRA and Bugzilla - out of the box, plus an API for the integration plugins for other systems.
  • Maven support improvements, including simplified build configuration creation from POM file, and build triggering on Maven artifacts change.
  • Build configuration templates for eliminating redundancy in build configurations settings.
  • Project archiving for putting no-longer-active projects out of sight.
  • Command line tool for running Personal builds on server without IDE integration.
  • Backup & Restore were added to simplify TeamCity maintenance. Also, migration tool was re-implemented.

Other improvements:

  • Now you can view the status of a change across all build configurations on a single page.
  • Failure responsibility feature has been advanced to cover not only builds, but also individual test failures.
  • Various actions performed by TeamCity users are now stored in the Audit log, which can be browsed from the web UI.
  • Code coverage analysis has been significantly improved for both Java (based on IntelliJ IDEA coverage engine) and .NET (support for NCover and PartCover).
  • And many more

New and improved integrations:

  • Git & Mercurial support are now bundled with TeamCity.
  • Remote Run now works for Git from IntelliJ IDEA & Eclipse.
  • New support for Cucumber, Shoulda, Test-Spec in Rake runner.
  • TeamCity IntelliJ IDEA plugin now works with IntelliJ IDEA Community Edition and RubyMine 2.0.

Of course, this is not an exhaustive list, so check What’s New to get a full overview of new features and improvements.

As always, TeamCity 5.0 Professional is available for FREE for all small- and middle-sized development teams and can be downloaded at http://www.jetbrains.com/teamcity/download.

TeamCity 5.0 Enterprise is available for a 60-day free trial download at http://www.jetbrains.com/teamcity/download.

New customers can purchase TeamCity 5.0 online at http://www.jetbrains.com/teamcity/buy/.

Existing customers can upgrade to version 5.0 after purchasing a 1-year subscription for software updates at http://www.jetbrains.com/teamcity/buy/.

TeamCity licenses bought after October 1, 2009, receive a 1-year subscription for software updates for free, and therefore will work fine with TeamCity version 5.0. If you have such licenses, you will soon receive an e-mail with the new keys and certificates.

 
IntelliJ IDEA走向开源
2009-10-16

    为软件开发商提供增效型智能工具的创建商 JetBrains(R) 宣布了其获奖的 Java IDE -- IntelliJ(R) IDEA 免费社区版 (Community Edition) 的首个公开预览。
    从即将推出的9.0版开始,IntelliJ IDEA 将以两个版本提供:社区版,免费且开源;终极版 (Ultimate Edition),今天之前,终极版一直只是指 IntelliJ IDEA。
    最好的消息便是,社区版的推出消除了 IntelliJ IDEA 更广泛用于纯 Java 开发的唯一障碍 -- 价格问题。该版本不仅是免费的,而且 -- 也是特别重要的 -- 它还是完全开源的。
    JetBrains 首席执行官 Sergey Dmitriev 表示:"我们一直通过我们的公共 Early Access Program(简称'EAP')、发行追踪者、论坛等面向社区开放。这使得我们与用户之间形成了紧密而又直接的反馈环,甚至在业界还没广泛认可这一实践时。自那以后,我们通过免费的产品授权为数百个开源计划提供了支持;为 Groovy 和 Scala 等各种开源计划贡献了代码;并为我们自己开发了数个开源 IntelliJ IDEA 插件。因此,您可以明白通过开源授权免费提供 IntelliJ IDEA 体验是如何与我们致力于社区的重心相结合的。开源已经成为了主流,我们继续将其作为一个激动人心的挑战。简单说来,我们并没有改变方向 -- 我们正在向前发展。"
    该全新的社区版建基于 IntelliJ 平台,包括其源代码。JetBrains 通过将大众化 Apache 2.0 授权应用于社区版和 IntelliJ 平台,使得它们源代码的获得和使用变得尽可能简单。
    说实在的,IntelliJ 平台可以看作是 JetBrains 构建智能 IDE 的专门知识。它不仅是 IntelliJ IDEA 本身的基础,而且还是其它众多创新型 JetBrains 工具(旨在用于以特定语言和/或域进行的开发)的基础。这些著名的新工具包括 RubyMine、网络开发 IDE(已经在公开预览中)MPS 以及其它目前正在开发的工具。
    根据非常合理且显而易见的实用原则,IntelliJ IDEA 被分为两个版本:
    -- 社区版 -- 依靠纯 Java/Groovy 应用工作或进行 Swing 开发的人们的完美之选。它拥有 IntelliJ IDEA 的所有优势,包括各种代码重构和代码检查、编码辅助、调试、TestNG 和 JUnit 测试;CVS、Subversion 和 Git 支持以及 Ant 和 Maven 构建整合。
    垂询详情,或下载社区版公开预览,请访问 http://www.jetbrains.com/idea/nextversion/free_java_ide.html
    -- 终极版 -- 一个功能齐全的商业化 IntelliJ IDEA,拥有完整的网络和企业开发工具组合,一贯为最重要的现代技术和框架提供最高质量的支持。9版本的新功能包括:
    -- Java EE 6,拥有 JSF 2.0、JPA 2.0、Servlets 3.0、Bean 验证等。
    -- Android、Google App Engine、GWT
    -- Adobe AIR、FlexUnit
    -- JavaScript 重构和调试
    -- Tapestry、OSGi
    -- PHP,等。
    将 IntelliJ IDEA 终极版区分开的主要功能包括:紧密的 Perforce、Rational ClearCase 和微软 (Microsoft) Team Foundation Server 整合、依存结构矩阵、带有结构搜寻和替换的先进代码管理。这些以及其它诸多性能使得它成为面向 Java 平台上广泛的专业开发的独特工具。
    欲查看 IntelliJ IDEA Ultimate 9 的更多新功能的列表,或下载预览构建,请访问 http://www.jetbrains.com/idea/nextversion/index.html
    阅读社区版和终极版的差异,请访问 http://www.jetbrains.com/idea/nextversion/editions_comparison_matrix.html
    垂询 IntelliJ IDEA 社区版开源计划详情,或下载其源码,请访问 http://www.jetbrains.org
    JetBrains 简介
    JetBrains 是一家技术领先的软件开发公司,专门从事增效型智能软件的开发。该公司因其获奖的创新型 Java(TM) 集成开发环境 IntelliJ(TM) IDEA(详情请见 http://www.jetbrains.com/idea/ )、面向 .NET 开发人员的 ReSharper 和 dotTrace Profiler(请见 http://www.jetbrains.com/resharper/index.htmlhttp://www.jetbrains.com/profiler/index.html )、持续集成和构建管理环境 TeamCity ( http://www.jetbrains.com/teamcity/index.html ) 以及 Ruby 和 Rails 集成开发环境 RubyMine ( http://www.jetbrains.com/ruby ) 而享誉各地。JetBrains 总部位于捷克布拉格,在俄罗斯圣彼得堡和马萨诸塞州波士顿设有研发实验室。垂询详情,请访问 http://www.jetbrains.com/index.html

 
<< 第一页 < 上一页 1 2 3 4 5 6 7 8 9 10 下一页 > 最后一页 >>

第 1 - 5 共 56