Development Environment » History » Version 4
« Previous -
Version 4/21
(diff) -
Next » -
Current version
Luke Murphey, 07/04/2010 09:36 PM
Development Environment¶
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.
Compiler Requirements¶
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).
Libraries¶
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.
Local Build Properties¶
The build script uses a local build properties that sets variables that dictate how the
Property | Example | Description |
---|---|---|
version | 0.9.2 | Current version of the application used when creating the Debian package. |
dpkgdir |
version=0.9.2 dpkgdir=java-bin/dpkg licensekey=
"Access restriction: Class is not accessible due to restriction..."¶
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":