Autoplot from source netbeans
From autoplot.org
Purpose: this document describes the process of checking out and building Autoplot using the Netbeans IDE from Sun.
1 platform
This document assumes you have installed Netbeans 6.5 on your desktop, and have Subversion (svn) configured. Subversion is easily installed on most systems, and Netbeans is configured to use the binary via Tools->Options->Versioning->SVN.
2 procedure
Netbeans out-of-the-box looks something like this.
Use Subversion to checkout the Autoplot source. Versioning->Subversion->Checkout...
https://vxoware.svn.sourceforge.net/svnroot/vxoware/autoplot/trunk
Select "Skip trunk and checkout only its content...
Specify the location for the source on your desktop.
Netbeans detects the projects within. There are many projects, each corresponds to a jar file (similar to a .so or .dll) that provides access to a new data source, implements the GUI, the data model, etc.
Select "VirboAutoplot", or more if you are interested.
VirboAutoplot appears in the projects tab.
The project label is red because it is missing the dasCore library. Das2 is the graphics library that provides interactive 2D graphics, and is maintained by the Plasma Wave Group at The University of Iowa.
Check out dasCore via SVN as well.
from https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot/trunk
"Skip the trunk" again, and be sure to check it out so that it is located in the same directory as the VirboAutoplot project.
Netbeans takes a short while to check out the project...
And the project is detected. Go ahead and open it as well. Netbeans can work with any number of projects simultaneously.
We can verify that everything is in the right place by using a file browser.
Yep, dasCore and all of autoplot's projects are in the same directory. Cancel the file widget since we were just browsing.
VirboAutoplot is still red, so it looks like Netbeans needs a little nudge to check the status of the project.
right-click on the VirboAutoplot project label, and select "Resolve Reference Problems" The resolver comes up and there are no problems to resolve. We should be able to compile now.
right-click on the project and select "Build."
It should take a minute or two to build the first time.
The build was successful.
We can run it by right-clicking on the project and selecting "Run"
Works!
From the Autoplot menubar, select Help->About Autoplot. This will show all the resources the application is using.
Select the "Files" tab to look at the files within each project.
Under the VirboAutoplot project, in the folder "dist," you'll find the jar files the Netbeans build has created.
3 Adding more projects
To add additional projects to the application, for example to add a new data source, right-click on the VirboAutoplot project node and select properties. In the properties dialog, select Libraries to see the list of libraries and third-party jar files used. Scroll to the right (a bug in Netbeans 6.5 which presumably will be fixed) and click on "add Project" to add another project.
