wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes TeamCity and SubVersion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "TeamCity and SubVersion" Watch "TeamCity and SubVersion" New topic
Author

TeamCity and SubVersion

Halcon Guatemala
Ranch Hand

Joined: Sep 06, 2006
Posts: 57
Hi to @ll, sorry I'm recently knowing about TeamCity, does it have any way to share info with SCM tools of another projects such as SubVersion.

Thanks in advance


"La verdadera sabidur´┐Ża viene del temor de Dios"
Kirill Maximov
author
Greenhorn

Joined: Nov 17, 2006
Posts: 18
Hello Halcon,

Surely, TeamCity supports Subversion as a VCS which can be used to obtain project sources for your builds. Moreover, for each build TeamCity shows you which Subversion changesets were used to build specific build, which files were added/removed/changed in the build and (in the EAP build of TeamCity) you can even get web-based diff for changed files.

The configuration of your project (including Subversion part) is made using the web interface with possibility to test connection to your Subversion server.


Kirill Maximov<br />JetBrains, Inc.<br />http://www.jetbrains.com<br />"Develop with pleasure!"
Saulius Sinkunas
Greenhorn

Joined: May 18, 2005
Posts: 20
Hi,

What about Maven2? as i saw teamCity supports Maven2. That's cool. But how strong is this support? Does TeamCity analyse surefire-reports directories? I.e. if I have one project which consists of many modules. And now we have a problem with other tool that if one module fails (i.e. tests fails) we cannot figure out quick the failure and we should use some maven plugins. Maybe TeamCity already has solution for displaying results or even parsing them?

Thanks.
Kirill Maximov
author
Greenhorn

Joined: Nov 17, 2006
Posts: 18
Hello Saulius,

Our support of Maven 2 is really good, and it will be even better in the next release.
The uniqueness of TeamCity is that we don't parse report directories and such. TeamCity add own listeners right to the build process and these listeners send build status information while the build is in progress.
That means, you're getting detailed reports on what's going on with your build, which tests fail, which step is executed _while the build is in progress_. You'll get notification with failed test and stacktrace before build is finished, as soon as the test has failed.
On the web, failed tests are extracted from main build log and shown in a different view (with stacktrace, output and stderr). You can even click on the link "Open in IDE" and this stacktrace will be opened in IDEA for navigation (we're working on Eclipse and Visual Studio support as well).
For Maven 2 we actually use Maven2.1 snapshot, because only this version has appropriate API to hook our listeners. This snapshot is bundled with TeamCity so you don't need to install Maven on build agent machines.
Saulius Sinkunas
Greenhorn

Joined: May 18, 2005
Posts: 20
Hi,

Thank you for reply. It seems that TeamCity will have a real strong support for discovering errors, as normally maven2 doesn't report exact error to build console. It's nice to hear about this feature.

Another killer feature is showing build phases in a real time.

BTW how many resources requites TeamCity? I.e. memory size - 100, 200, 300MB for normal performance.
Kirill Maximov
author
Greenhorn

Joined: Nov 17, 2006
Posts: 18
Hello Saulius,

As usual, it depends. It depends on number of buildAgents, number of TeamCity clients, and size of the projects. We at Jetbrains use Xmx500m on TeamCity server (we have several dozens of developers, dozen of projects and up to 20 build agents).
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: TeamCity and SubVersion
 
Similar Threads
Source Control Software recommendation
A very simple version contol software
TeamCity and Eclipse
TeamCity and Databases
Team Collaboration in intelliJ??