-
Notifications
You must be signed in to change notification settings - Fork 51
Developer Guide
Sean Flanigan edited this page Sep 9, 2013
·
28 revisions
- Java Development Kit (JDK) 1.6 - yum install java-1.6.0-openjdk-devel
- GIT - Source code repository
- Eclipse IDE for J2EE (Kepler 4.2)
- MySQL database
- JBoss AS 7.2 (EAP 6.1)
- Maven v3
NB: Please don't reformat existing files: we want to do them all at once to keep the history manageable.
General:
- NO TABS!
- line width: 80 (allows side-by-side diffs) (NB: IDEA formatters use the same length for all file types)
Java, Groovy code:
- 4 space indent
- cuddle braces
JavaScript code:
- 2 space indent
- cuddle braces
XML/XHTML/CSS/XML:
- 2 space indent
- format comments, but don't join lines
- insert whitespace before closing empty end-tags
- don't let IDEA align attributes (Eclipse formatter doesn't have this option)
TODO: find some existing (standard) Eclipse code formatter profiles and link to them.
- install JDK 1.6 (see above)
- install git
- get Zanata source GitHubSetup
- install Maven
- install MySQL client and server
- create database: zanata
- install JBoss
- configure JBoss
- add MySQL JDBC driver to JBoss
- add Zanata datasource to JBoss
- add mysql and JBoss details to maven settings
- install Eclipse
- add Eclipse plugins
- prepare zanata for eclipse import
- import zanata into eclipse
- configure Eclipse
See Architecture