Version 4 (modified by vegasm, 10 years ago) (diff)


Thredds development with eclipse

We have to follow some steps to develop Thredds project with Eclipse IDE and Java Environment. Thredds is a project that uses Maven so we will configurate Maven in our pc too.

Setting up java envionment in our pc:

1- Download JDK (Java Development Kit) latest release 1.7, Maven and eclipse

JDK: MAVEN: Eclipse Juno for Java EE Developers:

JDK is necessary to install and the others only unzip the folders where you prefer.

2- Configuration of Java Environtment variables in our system

PATH = C:\Program Files\Java\jdk1.7.0\bin (Necessary to exec javac command) JAVA_HOME = C:\Program Files\Java\jdk1.7.0

3- Configuration of Apache Maven Environment variables

MAVEN_HOME = C:\Program Files\apache-maven-3.0.4 PATH = C:\Program Files\Java\jdk1.7.0\bin;%MAVEN_HOME%\bin; (Necessary to exec mvn command)

4- Check if your configuration is OK

Go to Start menu => execute => type cmd Type mvn-version and you should see something like this:

Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100) Maven home: C:\Program Files\apache-maven-3.0.4\bin\.. Java version: 1.7.0, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.7.0\jre Default locale: es_ES, platform encoding: Cp1252 OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"

How to download thredds project and include in Eclipse

Dirección subversion del proyecto de ejemplo:

1- (Creación de un proyecto sencillo) 2- (Añadir dependencias)