views:

220

answers:

4

is there such a thing in a standard manner?

including

Java Source Code - Test Code - Ant or Maven JUnit Continuous Integration (possibly Cruise Control) ClearCase Versioning Tool Deploy to Application Server

in the end I 'd like to have an automatic Build and Integration Environment.

+4  A: 

Sounds like a job for Hudson.

Esko
+1 and "java -jar hudson.war" rocks :)
mjustin
Hudson integrates very nicely with maven. Maven integrates well with JUnit. Maven is also pretty agnostic about your exact version control system. You'll also want to consider a managed Maven repository like Artifactory or Nexus, and adding Sonar into the mix for build metrics isn't a bad idea either.For integration tests you'll want to look at something like selenium, but setting up Hudson for more than unit testing is a subject for another question...
Kevin Wright
A: 

Take a look at Apache Continuum.

Yuval F
+1  A: 

There are no end of possible solutions. Take a look at the continuous integration matrix, which details common solutions, and their associated features. Hopefully you should be able to make a decision based on that.

Brian Agnew
A: 

A tool set could be

IntelliJ

Ant

  • The ant files can be generated by intellij
  • Then you need to write some ant to run your tests!
  • Then you need to write some ant to package your application
  • Then you need to write some ant to deploy your application
    • including configuring queues, databases etc (dbdeploy might work for this)

TeamCity

Subversion - Its nice and easy. ClearCase is shocking don't go near.

If you're doing JEE, then you'll probably have a web site, if so, you might want to use WebDriver, possibly in conjunction with WindowLicker

If you have a database or jms broker, make sure each developer HAS THEIR OWN! This is very important - makes sure everybody has a copy that they can do what they like with, and obviously the continuous integration (CI) environment must have its own copy too!

The pay back for such an environment can be huge. On my current project, we have a two-click-to-production automation coming straight out of TeamCity.

time4tea