NatTable requires Java 1.5 and SWT.
We use the following tools for NatTable development:
Download and install the development tools listed above.
You should check out the code outside of Eclipse so you can preserve the hierarchical directory structure. Use the following command to check out the code:
svn checkout https://nattable.svn.sourceforge.net/svnroot/nattable/branches/nattable-1.6/
Note: we will refer to the location where you checked out the NatTable code as NATTABLE_HOME
Build using maven:
cd NATTABLE_HOME mvn clean install
In order to prepare the code for import into Eclipse, we run the following command to create Eclipse project files:
mvn pax:clean pax:eclipse eclipse:m2eclipse
Note that whenever you make changes to dependencies in your pom.xml file, you should rerun the above command to regenerate the Eclipse metadata files. Also, you should make sure that your code compiles cleanly before running the pax:eclipse goal, otherwise the OSGi metadata may not be constructed correctly.
And now we can import the NatTable code projects into Eclipse:
All of the projects should compile cleanly*.
* If you are running Eclipse 3.4 you may see the following errors: Bundle symbolic name contains illegal characters (it's compaining about the hyphen). This is benign and can be ignored. Eclipse 3.4 incorrectly assumes that hyphens are invalid characters in OSGi bundle names, but in fact they are legal. These errors are not present in Eclipse 3.4.1.
Please use the Eclipse formatter profile in net.sourceforge.nattable/dev_config/NatTable_style.xml. Import this and set as the active profile in Eclipse in the Java -> Code Style -> Formatter preferences page.
Here's how to set up mylyn to connect to the Jira bug tracker. The URL for the NatTable Jira is: http://nattable.org/jira
If you find you are missing certain bundles in your workspace, you may be able to download them from the Eclipse Orbit Downloads page:
Put the downloaded bundles into your eclipse/dropins folder (Eclipse 3.4) and restart Eclipse.
You can try running 'mvn -Dmaven.test.skip=true clean eclipse:clean install pax:eclipse' under NATTABLE_HOME/nattable, refreshing your workspace, closing all net.sourceforge.nattable* projects, and then opening them one at a time starting with core and ending with examples.
NatTable source is divided into the following projects:
All of these projects are packaged as Eclipse plugins/OSGi bundles. Each of these also has a matching test fragment project. There is also an additional net.sourceforge.nattable.guiautomation project that contains abbot swt based tests.
[ visible | viewable | reordered | model ][ Grid | Body | Corner | ColumnHeader | RowHeader ][ Row | Column | Cell ]
Following are the steps to download and install Abbot for SWT:
Recent comments
33 weeks 2 days ago
47 weeks 1 day ago