DevelopersGuide - OpenESignForms/openesignforms GitHub Wiki
Guide to setting up the development environment for extending and/or customizing Open eSignForms.
This guide is a work in progress! Please visit the GitHub wikis for full instructions. Note that this guide was not written by Yozons.
Introduction
This guide walks you step-by-step to setting up the programming environment for developing Open eSignForms. Updated for Java 8.
This guide assumes you will be developing on a Microsoft Windows operating system.
Setup the Environment
Apache Tomcat
- We recommend using the latest stable version of Tomcat 8.
- Download the windows zip file (not the installer) and extract it to a folder on your computer
 
Eclipse IDE
- We recommend using Eclipse IDE although these instructions should work for other IDE systems (eg. Netbeans) as well.
- Download and Install Eclipse IDE for Java EE Developers. We are using Eclipse Kepler version 4.3.2 (the latest available at this time of writing).
- Unzip all files to C:\Program Files
 
Configure the IDE
- Launch the software from the install directory
- C:\Program Files\eclipse\eclipse.exe
- Set Workspace to C:\project
- Check the box use this as the default and do not ask again
 
Java 8
- Install the latest version of the Java SE Development kit.
- Download Java SE Development Kit 8 (JDK 8) from Oracle's website.
- Download Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files
- Extract the two jar files into C:\Program Files\Java\jdk1.8.0\jre\lib\security folder, overwriting the files presently there.
- Extract the two jar files into C:\Program Files\Java\jre8\lib\security. Overwriting the files presently there.
 
Install IvyDE plugin
- In Eclipse, Click the Help > Install New Software... menu
- In the box Work With: type http://www.apache.org/dist/ant/ivyde/updatesite and click the Add button
- Give it the name Apache Ivy Update Site and click OK.
- Select everything except the Apache IvyDE Resolve Visualizer and click Next
- Accept the license, click Next followed by Finish to complete the installation. (click OK if you receive a warning about installing unsigned software)
- Do NOT restart when prompted as we will install Vaadin next
Install Vaadin
- We will install the latest stable version, Vaadin 7 for the purpose of this guide.
- Click the Help > Install New Software... menu
- In the box Work With: type http://vaadin.com/eclipse
- Give it the name Vaadin Update Site and click OK
- Select the Vaadin Plug-in for Eclipse and click Next
- Review the package and accept the license agreement by clicking Next and then Finish
- Restart the IDE when prompted after the installation is completed
Cygwin
- Perform a fresh install by running the setup program.
- When prompted, choose a download source "Install from Internet"
- We recommend leaving the default install directory C:\cygwin64 if you are installing on a 64-bit system.
- Change the local package directory to C:\packages
- Choose a download site (we recommend staying away from .jp domain names or similar unless you live in that country)
- Click next on the select packages screen
- Let the install process resolve any dependencies and click Next
 
PostgreSQL
- Download the graphical installer
- Leave the default install drectory as C:\Program Files\PostgreSQL\9.3
- Leave the default data directory as C:\Program Files\PostgreSQL\9.3\data
- If you will only be developing Open eSignForms go ahead and type esignforms as the postgres database superuser password.
- Leave the default of 5432 as the port number the server should listen on
- Leave the default locale as [Default locale]
- Uncheck the checkbox to "launch Stack Builder at exit".
 
Check Out the Code
http://i58.tinypic.com/10ok6eh.jpg http://i60.tinypic.com/344cr55.jpg http://i62.tinypic.com/2i8dsts.jpg