Java Project

From sselab

(Difference between revisions)
Jump to: navigation, search
(Advanced setup)
 
(2 intermediate revisions not shown)
Line 1: Line 1:
 +
Agile software development needs ever running integrated software. Tool support is essential. We provide the following services and are working on further ones, such as [[nightly build]] and [[automatic deployment of web systems]] that are developed. Coming soon.
 +
== Services involved ==
== Services involved ==
* [[Subversion]]
* [[Subversion]]
* [[Trac]]
* [[Trac]]
 +
* [[Mailing list]]
* [[Mediawiki-internal|MediaWiki (internal)]]
* [[Mediawiki-internal|MediaWiki (internal)]]
 +
 +
A number of additional services are available. Check out what you want to use, e.g. to generate code or tests.
== Initial setup ==
== Initial setup ==
Line 12: Line 17:
== Advanced setup ==
== Advanced setup ==
-
* Continous Integration with Hudson (general installation [http://wiki.hudson-ci.org/display/HUDSON/Installing+Hudson] )
+
* Continous Integration with Jenkins ( [[Setting Up Continuous Integration]] )
-
**Download Hudson Web Archive from Hudson Homepage [http://hudson-ci.org/] and deploy it to your favorite Java Application Server (e.g. Glassfish).
+
-
**Now you can access Hudson via the Homepage (e.g. http://localhost:8080/hudson) configure generall settings and create your first Job. In Hudson a Job is a Softwareproject that should be build by Hudson.
+
-
**Choose for your Job a Name and the "Free-Style" Type of the Job. After that step a new Job is created and you can configure this Job.
+
-
**For "Source-Code-Management" choose Subversion. The Repository URL is something like: sselab.de/lab2/private/svn/<SSELAB-Prjoject-Name>/trunk/.
+
-
**In the next two steps you have to configure when and how the Project should be compiled. For CI you should select "Poll SCM". If you want to compile your Sourcecode with Apache Ant, you can define the Ant targets and files under Build-Invoke Ant.
+
-
**You can define some additional Post-build Actions like: run JUnit, measure Code Quality with Sonar, write some Emails.
+
-
*Codemesurement with Sonar in Hudson (general installation [http://docs.codehaus.org/display/SONAR/Install+Sonar] )
+
-
**To measure your code in Hudson with Sonar you have to install Sonar [http://www.sonarsource.org/].
+
-
**After downloading your copy of Sonar, you have to compile it. Do so with executing the build-war file in /sonar-2.1.13.1/war/ of the downloaded ZIP-Archive. As the next step you have to deploy that WAR-File on your JEE-Server.
+
-
**Now you can browse to your local Sonar installation (on e.g. http://localhost:8080/sonar).
+
-
**In the next step you have to install the Sonar Plugin in your Hudson, configure the Plugin in the global hudson settings (http://localhost:8080/hudson/configure/ ) and activate that plugin for your job in Hudson.
+
-
**it might be neccessary for sonar to increase the available heapspace (see next section Improvements)
+
-
*Improvements
+
-
**increase available Heapspace for Hudson and Sonar in Glassfish
+
-
**configure Sonar with an external Database like Postgres or MySQL to gain more speed during Code measurement
+
-
**secure Hudson and Sonar with username/password access
+
== Send feedback to extend this scenario ==
== Send feedback to extend this scenario ==
Please contact us if you have question concerning the usage of the services. We are also curious about new ideas for additional services and new usage scenarios. [https://sselab.de/lab1/user/messages/send/ Send us a message over the contact form] or [mailto:admin@sselab.de?subject=Scenario%20Java%20Project write us an email]
Please contact us if you have question concerning the usage of the services. We are also curious about new ideas for additional services and new usage scenarios. [https://sselab.de/lab1/user/messages/send/ Send us a message over the contact form] or [mailto:admin@sselab.de?subject=Scenario%20Java%20Project write us an email]

Current revision as of 14:14, 15 March 2012

Agile software development needs ever running integrated software. Tool support is essential. We provide the following services and are working on further ones, such as nightly build and automatic deployment of web systems that are developed. Coming soon.

Contents

Services involved

A number of additional services are available. Check out what you want to use, e.g. to generate code or tests.

Initial setup

  • Use the trac to plan your software project
    • Break your problem into several subproblems and create a ticket for each one of it
    • Create milestones for implementation of new features and releases of your software
  • Calculate various statistics of your implementation and publish it in the internal wiki for your project manager with the wikibot (advanced)

Advanced setup

Send feedback to extend this scenario

Please contact us if you have question concerning the usage of the services. We are also curious about new ideas for additional services and new usage scenarios. Send us a message over the contact form or write us an email


  • This page was last modified on 15 March 2012, at 14:14.
  • This page has been accessed 43,856 times.