Build instructions

Instructions on how to successfully build and run Specview from Sourceforge CVS source, using the FOSS Netbeans Java IDE

Author: Roger H. French

To begin with, there are some libraries and other support APIs that he has
not yet included in the SourceForge repository.

http://www.stsci.edu/resources/software_hardware/specview/developers

Download and extract them to a directory you will be able to find easily.

1.
Launch NetBeans 5 and perform a CVS update to make sure you have the latest
files.

2.
From the Tools menu select Java Platform Manager and make sure that the Java
Library jdk1.5.x is displayed.

3.
From the Tools menu select Server Manager, go to the Platform tab and make
sure that Java 1.5 is the default.

4.
From the Tools menu select Library Manager, select CopyLibs Task and make
sure that your local repository directory is listed. This is the directory
which contains the spv, misc, and resources directories. In my case, it is
c:\javadev\specview.

5.
From the Tools menu select Options, click on Manage ClassPath and make sure
that the directory where you downloaded and extracted the libraries is
listed. This is the file I posted to the web link listed above.

6.
In the NetBeans environment, under Projects right click on SpecView and
select Properties.

7.
Under Sources, make sure that the Source Package Folders list includes all three of the
misc, resources and spv folders from your local repository. If not, you can
add them by clicking on the Add Folder button.

8.
Under Sources, make sure that the Source Level is set to 1.5.

9.
Under Libraries, make sure that the compile time libraries list includes the
following:

a. Your local source folder (one containing spv, resources and misc)
b. Your library folder where you downloaded and extracted from my site
c. All of the libraries listed in that folder.

I am quite sure that this needs to be cleaned up, but when set as described
above, this works.

10.
Under Libraries, make sure that the Run Time Libraries, Compile Test and Run
Tests include the folder where you downloaded and extracted the libraries
from my site.

11.
Under Libraries, make sure that the Java Platform is set to 1.5.

12.
Under Libraries, make sure that Build Projects on Classpath is checked.

13.
Under Run, make sure that spv.specview is listed as the main class.

14.
Try performing a Clean and Build Project. It should build with only 2
warnings.

Posted by Ivo Busko 2006-10-04

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks