Apache - Continuum - Installation

Apache Continuum is a continuous integration tool. You can download a copy on the official webpage of Apache Continuum:http://continuum.apache.org/ Or with one of mirrors with this Apache mirrors’ page: http://www.apache.org/dyn/closer.cgi Installation of Apache Continuum on Windows We will take the apache-continuum-1.4.0-bin.zip version. It will be installed by the console with the JVM. And of course, you need a JDK, who do not have it? I extracted all files, from the .ZIP, in this directory: C:\soft\apache\continuum-1.4.0. ...

November 30, 2011

Apache - Maven - What is Maven?

Maven is a tool, mainly developed for Java developments. This is a complete software so it is not so easy to understand when you start developing, even with the official website of Maven: http://maven.apache.org/. But I will try to reduce the explanation of what is Maven with some examples. You can start by following this tiny installation tutorial of Maven for Windows. OK, let’s see in details what Maven is. First of all, every project with Maven has a pom.xml file. POM means Project Object Model. With this XML file, a team manager can configure a project and how Maven will interact with this project. It means that if a project contains subprojects, we will have more than one pom.xml. In fact, one for each project. The POM into sub projects will inherite from the Super POM and so on for others child projects. ...

November 29, 2011

Apache - Archiva - Installation

To download the last stable Archiva release, let’s go on the official website: http://archiva.apache.org/ For this Archiva installation tutorial, we will install the Archiva 1.3.5 Standalone version. Do not hesitate to test the MD5 checksum. Installation of Archiva on Windows OK, extract the files into a directory, I chose this one: C:\soft\artefact-manager\apache-archiva-1.3.5. Now open this file: C:\soft\artefact-manager\apache-archiva-1.3.5\conf\jetty.xml. And go until the line 66. You will have something like that: Just change the 8080 by 8082. You are probably wondering why? This is because the default port, in our case 8080, is often already taken by another device or software. So to be sure it works, we change this for 8082. ...

November 28, 2011

Eclipse - CppUnit - Installation

It is a bit complex to know how to install CppUnit and how to use it with Eclipse. That’s why I make this tutorial about CppUnit and Eclipse. I hope it will be easy enough even for beginners, if not, do not hesitate to post a comment, I will help if I can. This installation will be done on Windows OS, I am sure if you are a Linux addict or a Mac fan, this explanation will help you as well. ...

November 23, 2011

Eclipse - Tips'n Tricks - Adding flags to the GCC compiler

You may want to add some commands to your GCC flag settings. No problem, Eclipse can allow you this. Right click on your project > Properties > C/C++ Build > Settings > Tool Settings > GCC C++ Compiler > Miscellaneous. On the right, there is an input with the name Other flags. Enter your command there. For example, if when you compiling you have this error: deprecated conversion from string constant to ‘char’ [-Wwrite-strings]* You can add this command to remove it: ...

November 19, 2011

Eclipse - Java - Source attachment

It’s really annoying when you want to browse throw a javadoc but Eclipse doesn’t know where to find these sources. The more difficult thing is to find these source files. But with the JDK7 it is now easy. Go until your directory where you have installed it. For example, let’s assume it is C:/soft/java32/jdk1.7.0. You will find a src.zip file. This is the file to open all classes present in your, for example, rt.jar file. ...

November 14, 2011

Eclipse - JUnit - Installation

It’s time for you to play with Unit testing, especially with JUnit. OK, let’s see how to install it on Eclipse. First of all, you need a version of JUnit. Let’s go on the official website to download it: http://www.junit.org/ In the last version, for our example, the junit4.10 one. Open the .zip. Inside there is a junit-4.10.jar file. In Eclipse, select a project then > Project > Properties > Java Build Path > Libraries tab > Add Jars > Select the junit-4.10.jar > OK ...

November 14, 2011

Eclipse - SDL (Simple Directmedia Layer) - Installation

You like C and C++ but you need some help to access audio, joystick, keyboard, video framebuffer, etc. That’s why you would like to use the SDL library. But, there is still a problem, you don’t know how to install it with Eclipse. OK, let’s try it with this tutorial installation. 1. Installation of SDL with Eclipse on Windows A. Outside Eclipse We assume that you have already installed MinGW in this directory: C:\soft\mingw. ...

November 11, 2011

Apache - Maven - Installation

Maven is a great tool that can really help you to manage a project. Its main goal is to building projects, publishing project information and a sharing JARs across several projects. We will see, in this tutorial, the installation of Maven 3 on Windows. Installation of Maven 3 on Windows operating system Let’s first download the latest version from the official website of Apache Maven: http://maven.apache.org/download.html Then extract files in the directory of your choice. For our example, we will assume this one: C:\soft\apache\maven-3 ...

November 8, 2011

UML - Diagram class - Relationships

This is not so easy to know which relationships and graphic to use to describe a situation. But what we know for sure, is that the classes are linked. Let’s see this in details. Association An association is graphically represented by a simple line. This is a weak link between two or more classes. For example a customer can make an order. In this case, the customer is linked by this order, and the order as well by the customer. ...

October 26, 2011