Preparations
First, check out the project from Subversion [SVN]. On the console it's simple "svn co https://svn.code.sf.net/p/jaer/code/jAER/trunk/ $JAER_ROOT". In the following text I will use $JAER_ROOT as a notation for the installation folder, there is no need to set it explicitly in a shell (e.g. /opt/jaer). Within Eclipse you can also use an SVN plugin, Subclipse. You may use it if you know how to set the working directory to something else than the checked out root directory.
In the SVN repository there will be two files that represent the Eclipse project. Those are $JAER_ROOT/.project and $JAER_ROOT/.classpath.
Building
After checking out from SVN, import the project into Eclipse, by going to "File -> Import" and selecting "General -> Existing Projects into Workspace". Click on "Next" and select the $JAER_ROOT directory as the root directory for the project. Don't change the project name and click on "Finish". The project will be built automatically now.
Running
Go to "Run - Run", choose "Java Application" and type "JAERViewer". That's it! Be aware that you have to allow access to your USB ports (see below).
Generate Javadoc
Go to "Project - Generate Javadoc", and click Finish.
Wiki: Developer Setup Linux
Wiki: Developer Setup MacOSX
Wiki: Home
Where are instructions to allow access to your USB ports? I don't see anything below. Thanks.
I've updated the Linux and MacOS X pages with references to the driver installation page, which details how to set-up udev to access USB on Linux. Is that what you're referring to? I don't see how Eclipse has anything in particular to do with accessing USB ports.
Hi, I'm new.
Trying to install following instructions using Eclipse.
Turns out that the branch jAER1.5 checked out using SVN does not contain the directory host and host/java.
Should one just use the trunk then?
https://svn.code.sf.net/p/jaer/code/trunk/
do contain host and host/java.
Then later work out of the branch jAER1.5?
and what's the status of jAER2.0 ? Still experimental?
Thanks,
Gus.
The jAER 1.5 branch directory is directly the directory for the Eclipse project. I've updated the above documentation, thanks for reporting this.
jAER 2.0 is still unfinished, we're currently focusing on other parts of the stack.
Last edit: Luca Longinotti 2014-08-01
Yes and no. Trunk by itself does not contain jAER 1.5; that is in a branch folder.
You can of course check out the entire jAER project from the root URL and then you will have the trunk and branches (one folder in branches is jAER 1.5). At the moment the trunk also contains support for other platforms such as matlab, python, etc, as well as the firmware sources and the important drivers folder needed for supporting the most stable windows USB drivers based on the Thesycon driver.
It is a bit confusing at the moment and we are looking for a solution to make it possible to have a reasonable sized checkout that has everything that is currently supported and useful.
Tobi
Last edit: Federico Corradi 2015-07-08