Project

General

Profile

Development Environment » History » Version 4

Luke Murphey, 07/04/2010 09:36 PM

1 1 Luke Murphey
h1. Development Environment
2 1 Luke Murphey
3 1 Luke Murphey
Below is information regarding what you'll need if you want to modify or develop NSIA. You can use whatever IDE you like, or you can use a "preconfigured instance of Eclipse":http://ondemand.yoxos.com/geteclipse/rap?profiles=868129468_1269911860683718583. 
4 1 Luke Murphey
5 1 Luke Murphey
h2. Compiler Requirements
6 1 Luke Murphey
7 1 Luke Murphey
NSIA requires Java JDK 6 (1.6) in order to compile successfully. It will not compile on earlier versions of Java (including Java 1.5).
8 1 Luke Murphey
9 1 Luke Murphey
h2. Libraries
10 1 Luke Murphey
11 1 Luke Murphey
Make sure that the libraries (under the _/lib_ directory) are on the classpath. Additionally, JUnit 3 is required for the unit tests. Note that you will get errors if you link to JUnit 4 as opposed to JUnit 3. 
12 2 Luke Murphey
13 4 Luke Murphey
h2. Local Build Properties
14 4 Luke Murphey
15 4 Luke Murphey
The build script uses a local build properties that sets variables that dictate how the 
16 4 Luke Murphey
17 4 Luke Murphey
|_.Property  |_.Example   |_.Description                                                              |
18 4 Luke Murphey
| version    | 0.9.2      | Current version of the application used when creating the Debian package. |
19 4 Luke Murphey
| dpkgdir    |            |                |
20 4 Luke Murphey
21 4 Luke Murphey
<pre>
22 4 Luke Murphey
version=0.9.2
23 4 Luke Murphey
dpkgdir=java-bin/dpkg
24 4 Luke Murphey
licensekey=
25 4 Luke Murphey
</pre>
26 4 Luke Murphey
27 2 Luke Murphey
h2. "Access restriction: Class is not accessible due to restriction..."
28 2 Luke Murphey
29 2 Luke Murphey
Eclipse may not let NSIA compile giving the message "Access restriction: Class is not accessible due to restriction on required library". This issue is due to an Eclipse setting. To fix it, change the "Forbidden reference" setting to "Ignore"; this setting is under "Errors/Warnings":
30 3 Luke Murphey
31 3 Luke Murphey
!Project_Access_Restriction.png!