Contents |
We are using Github.com to track our releases.
We have restructured the repository for DTRules. Now all the components for DTRules are kept in one repository, so downloading and setup is easier. In addition, we are putting our releases into maven. This has been a bit more difficult than expected, but we will keep you posted.
You need to install Java if you have not already.
You may also wish to install Eclipse (though if you are the type of Java programmer that doesn't use an IDE, you do not have to use Eclipse).
It is a good idea to install Git. This serves a couple of purposes. First of all, it gets you access to Git. Secondly, under Windows, installing Git in this fashion will also get you a Bash shell. You need this to build DTRules using maven.
Then you need to install maven. Once you have unzipped maven, follow the instructions in the README file. You have to set the path up properly, and set an environment variable JAVA_HOME to point to your JDK. Exactly what you need to do for maven is in the README file, so read it!
Git clone git://github.com/DTRules/DTRules.git
Once you have the source in place, open up a Bash Shell (Git provides this for you, Windows Users!) and cd to the DTRules directory. Type:
mvn clean install
This should build cleanly. Then if you are going to use Eclipse, type:
mvn eclipse:eclipse
then fire up eclipse, and click:
File->import->General->Existing Projects into Workspace
You may need to define M2_REPO in eclipse. Pick one of the projects,
DTRules 4.3 is available in the maven repo1 repositories. You can download binaries directly from the maven repository by selecting the dtrules jar and the compileutil jar.
This section assumes that you just want to download the source for DTRules. Obviously you can use Git to clone the repository and go to town with whatever branch or tag you wish. However, many people just want to look at the examples and poke around with DTRules without messing with git. Luckily Github supports this sort of thing.
The Decision Tables are maintained in spreadsheets, so any one of a number of spreadsheet programs will be necessary. (Excel, Google Docs, Open Office, etc. all work fine).
You may also want to use an XML editor. Under windows, I am fond of XML Marker as it makes nice tables of the XML without any effort on my part.
You will need Java. And for most of our examples, we assume you are working from Eclipse. In fact, Eclipse isn't really necessary, as we have not released any Eclipse plug-ins as of yet.
The Rules Engine runtime has no dependencies. This means you can deploy Decision Table based rules in your application using only the DTRules.jar. Nothing else is needed unless you intend to support modifying and compiling your Rules as part of your application.
For development, DTRules uses the following libraries:
Of course, Maven handles the dependencies for you, but if you are setting up your application by hand, your list of dependencies is pretty small.