Professional Documents
Culture Documents
eGP DevEnvSetUp
eGP DevEnvSetUp
Setup
E-PROUREMENT TECHNOLOGIES LIMITED
Table of Contents
1.
Introduction........................................................................................................4
2. Development Environment.......................................................................................4
2.1
2.1.1
Pre-Requisites.........................................................................................4
2.1.2
Folder Structure.......................................................................................4
2.1.3
Path Variables:........................................................................................4
2.2
JAVA.............................................................................................................5
2.2.1
Download................................................................................................5
2.2.2
Installation..............................................................................................5
2.3
NetBeans IDE................................................................................................5
2.3.1
Download................................................................................................5
2.3.2
Installation..............................................................................................5
2.4
2.4.1
Download................................................................................................6
2.4.2
Installation..............................................................................................6
2.4.3
2.5
MS SQL 2008................................................................................................6
2.5.1
Download................................................................................................6
2.5.2
Installation..............................................................................................6
2.5.3
2.6
2.6.1
Download................................................................................................7
2.6.2
Installation:............................................................................................7
2.6.3
Maven Repository.....................................................................................7
SVN Server...................................................................................................8
2.7.1
Download................................................................................................8
2.7.2
Installation..............................................................................................8
2.8
SVN Client.....................................................................................................8
2
2.8.1
Download................................................................................................8
2.8.2
Installation..............................................................................................8
2.8.3
2.8.4
2.9
2.9.1
Download................................................................................................9
2.9.2
Installation..............................................................................................9
1. Introduction
This document should be considered as the initial setup step for the development
environment infrastructure for the e-GP project. The document describes the components
necessary for the development environment. There are several steps required to install and
configure these components.
Steps to install/configure the development environment:
Copy package from server to C:\workarea (NetBeans IDE, NetBeans Plugins, JBoss
Application server, Java, Maven Repository, SVN Repository).
Install JDK. Set Class Path to Environment variables.
Install/Configure Database.
Install/Configure Maven.
Install/Configure SVN.
After executing all the steps above, the development environment should be ready to use.
2. Development Environment
a. Setup the environment
2.1.1 Pre-Requisites
1. Minimum Hardware Configuration: 50GB hard disk, 1GB Ram, P 4
2. Operating Systems: Windows XP or higher
b. JAVA
The e-GP Application requires Java 1.5.x or higher can be used. For building the e-GP
application from the sources. It is preferable to use JDK 1.6.x.
2.2.1 Download
JDK can be downloaded from the Java site:
http://www.oracle.com/technetwork/java/javase/downloads/jdk6-jsp-136632.html
2.2.2 Installation
Please refer to installation guide provided on Java site:
http://www.oracle.com/technetwork/java/javase/index-137561.html#windows
c. NetBeans IDE
NetBeans IDE provides all the functionalities required for creating e-GP Infrastructure. It
also allows various other tools to be integrated to IDE.
e-GP system development will be carried on NetBeans IDE 6.8. The higher versions can
also be helpful.
2.3.1 Download
NetBeans IDE can be downloaded from:
http://netbeans.org/downloads/6.8/index.html
Note:
For e-GP implementation NetBeans for Java bundle is preferable (includes j2SE, J2EE, SDK
support, Application Servers). The All Bundle can also be used. But, certain features of the
same are not required.
2.3.2 Installation
Please refer to Installation guidelines on:
http://netbeans.org/community/releases/68/install.html
Note:
Installation provides all basic functionalities for the project development life cycle. The
required tools and plug-ins can be managed by Options section under Tools menu.
Development Note:
Creating project on NetBeans IDE for Java Web provides various selections of frameworks
and servers, upon selection the required libraries are imported automatically with basic
project structure created at specified location.
2.4
2.4.1 Download
http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.0.1.GA
2.4.2 Installation
Please refer to the installation notes that come with JBoss Application Server. You will
need to configure and customize your JBoss Application Server after installation. We will
refer to the installation directory as ${jboss.dir} in the following.
The detailed guideline can be found at:
http://docs.jboss.org/jbossas/docs/Installation_And_Getting_Started_Guide/5/html/index.h
tml
NOTE:
According to various other tools running on the system, application server port might need
to be changed from configuration file of the server. The default port would be 8080.
2.5
MS SQL 2008
MS SQL 2008 server Enterprise edition will be used as the Database Server for the e-GP
system.
More details can be found on: http://www.microsoft.com/sqlserver/2008/en/us/
2.5.1 Download
MS SQL 2008 is a licensed project with Microsoft copyrights. It needs to be purchased with
licensing with various terms.
2.5.2 Installation
Microsoft Corporation provides default support for the installation and configuration
maintenance.
2. Select driver.
3. Provide connection parameters.
http://netbeans.dzone.com/articles/netbeans-69-java-microsoft-sql explains about
NetBeans- MS SQL 2005 connection. The similar way the connection can be established.
2.6
Apache Maven is a software project management and comprehension tool. Based on the
concept of a project object model (POM), Maven can manage a project's build, reporting and
documentation from a central piece of information.
e-GP infrastructure will use Maven 2.0.11.
2.6.1 Download
Maven can be downloaded from:
http://maven.apache.org/download.html
2.6.2 Installation:
Please refer to instillation guidelines provided with bundle.
Jar Name
7
JSF Facelets
RichFaces
Log4j
sqljdbc4.jar
aspectjweaver.jar
spring-security.jar
hibernate-validator-3.0.0.ga.jar
ehcache-1.2.3.jar
common-dbcp-1.3.jar
commons-collections-2.1.1.jar
commons-logging-1.0.4.jar
commons-pool.jar
commons-beanutils-1.8.0.jar
jsf-facelets-1.1.15.jar
richfaces-api-3.3.3-SNAPSHOT.jar
richfaces-impl-jsf2-3.3.3-SNAPSHOT.jar
richfaces-ui-3.3.3-SNAPSHOT.jar
log4j-1.2.16.jar
Table 1: External Libraries
Note:
After project import from SVN, the user will need to build the project which will also import
all the artifacts into the local repository via synchronization as required.
2.7
SVN Server
2.7.1 Download
VisualSVN can be downloaded from:
http://www.visualsvn.com/server/download/
2.7.2 Installation
VisualSVN installation guide can be found on:
http://accidentaltechnologist.com/programming/simple-subverison-repository-setup-withvisualsvn-server/
2.8
SVN Client
2.8.1 Download
TortoiseSVN can be downloaded from:
http://tortoisesvn.net/downloads
2.8.2 Installation
Please refer installation guidelines on :
http://www.shokhirev.com/nikolai/programs/SVN/svn.html#SubversionInstallation
2.9
The Apache HTTP Server Project is a robust, commercial-grade and freely-available source
code implementation of an HTTP (Web) server.
For establishment of e-GP system Apache 2.2.16 will be used as the web server.
2.9.1 Download
Apache Web Server can be downloaded from:
http://httpd.apache.org/download.cgi#apache22
2.9.2 Installation
Please refer installation guidelines on:
http://httpd.apache.org/docs/current/install.html