4. Code Generation Tools Installation

Granite Eclipse Builder Installation (with Eclipse Ant Task)

Granite Data Services comes with a Eclipse plugin that runs automatically Gas3, the GDS ActionScript3 code generator. This tool is mainly intended to help you with Hibernate support by generating AS3 bean mirrors of your Java entities, but it may be used for other JavaBeans as well.

Installing this Eclipse builder is just a matter of downloading org.granite.builder_***.jar and dropping it into your Eclipse plugins directory. First, stop and restart Eclipse, making sure you have removed any older version.

You should now be able to use the Add GraniteDS Nature option in the contextual dropdown menu of your Java project.

Furthermore, this plugin automatically install an Eclipse Ant task (called "gas3") you may use into your build.xml files under Eclipse.

The next section will show a complete sample usage. You may also jump to reference documentation here and here.

Standalone Ant Plugin Installation (optional)

Beside this Eclipse integration, you may be able to use the Gas3 Ant task outside of Eclipse, when you need to build a project on an integration server for example.

To install this Eclipse Ant plugin, download org.granite.builder_***.jar (same as above), and unzip it somewhere on your harddrive. All you need is in the lib directory: take these jars and include them in your Ant classpath when you run your build.xml file.


Browse Space

- Pages
- Blog
- Labels
- Attachments
- Bookmarks
- Mail
- Advanced

Explore Confluence

- Popular Labels
- Notation Guide

Your Account

Log In

Other Features

Add Content


Copyright © 2011 Granite Data Services S.A.S. All Rights Reserved.