Deploying Vosao from Eclipse

Deploying Vosao from Eclipse

At last! Java SDK, Eclipse, Maven, SVN... everything in place to finally deploy Vosao from Eclipse. During the configuration of Vosao project inside Eclipse I've found multiple errors and warnings, unfortunately you may find others. However, if you have configured your workspace in a similar or exact way as I did with the "work area", it is very likely that you will find the same errors and warnings, making this post much more helpful to you.

Having Vosao project running on a local server instance will allow us to debug through its source code. To do so, we need the Google Plugin for Eclipse, this plugin installs among other things an embedded version of Jetty Servlet Container which allow us to effortlessly deploy web applications locally.

This post is a bit too long, I know, but I prefer to write long explanations than lack of clarity. Nothing else to say, I'm waiting expectantly to see if that post is a great help to you...

continue reading »

Year/month/post hierarchy on Vosao blog

Aizkolaring the Vosao blog

Blogging is one of the main activities I'm doing with Vosao. If this is your case too, you better start organizing your posts under months and years or you may end up with a bunch of pages hanging from the Blog page. A hierarchy of years and months can be achieved with no effort, just creating a new page for each year inside the Blog and a new page for each month inside every year is enough.

All right, not so easy, it's also necessary to update the code inside those pages. The default Velocity code for the Blog page will try to show up the years pages as the blog articles, without diving into the tree structure and getting to its leaves, where the actual posts are found. Here, I will publish the code I have used to solve this issue. Moreover, the solution provided will allow your visitors to access to the posts filtering by year or month just removing part of the URL. Let's see how...

continue reading »

Installing Subclipse with SVNKit

SVN Merger

Subclipse is an Eclipse plugin that provides to this IDE the ability to interact with a Subversion server (Google code Project Hosting offers this type of service). That way, without leaving Eclipse, programmers can check out the latest version of the code from a repository, make their changes to the code and then commit the files back to the Subversion server.

The Subclipse plugin talks to Subversion via a Java API that requires access to native libraries. To do so, Subclipse uses the JavaHL libraries by default, but Ubuntu does not have those libraries installed, therefore, root privileges would be necessary to installing them. The workaround used this time is to install SVNKit (formerly known as JavaSVN) which is a pure Java implementation of the Subversion API.

continue reading »

Maven integration for Eclipse

A Maven

Now that we have Eclipse installed, we will add Maven to our Java toolbox. Maven will allow us to manage the projects and automate their building processes. The installation will be done inside the user's home folder and afterwards we will plug it into Eclipse. The version installed is the Maven v3.0.3 and the plugin installed to integrate Maven into Eclipse is m2eclipse, provided by Sonatype.

continue reading »

How to manually install and configure Eclipse on Ubuntu

Computer Eclipse

A standard installation of the Eclipse IDE shouldn't  be too much complicated, not so much to write about it, however, the real purpose of this post is to let a trace of everything installed during the set up of the “Work area”, and this requirement makes this post mandatory. The Eclipse version installed is the last stable build available, the 3.6.2, codenamed Helios. Among the different packages available at the official Eclipse website, we will download and install the  “Eclipse IDE for Java EE Developers”, since the main purpose is to work with web application projects. As usual, no root privileges will be need on any step.

continue reading »