NOF

NOF is short for New Object Framework.

Getting NOF

NOF is on Sourceforge. There you can find out how to check it out and also download a distribution. The download of the distribution contains shortcuts to the Model-Editor and the Editor.

State of NOF

NOF is currently in early ALPHA. Especially the serialization mechanism will very likely change. This means that if you Save an object model using the Model-Editor, you will likely not be able to load it in a subsequent version of NOF.

If you nevertheless want to start right away, you should check out the source (Look at "Building NOF from Source" on this page to find out how to build it.) and inspect the nof-modules/nof-example/example-main module for an example of how to programatically create an object model. If you do so, you do not mind if the serialization mechanism changes. And you will notice API changes, because your project will get compile errors. Also the API should be more stable than the serialization.

Learning NOF

Goals of NOF

The short term goal of NOF is provide a toolset to aid developers in rapidly generating application prototypes.

Long term goals are not yet determined.

Current Requirements:

  • When downloading
    • Windows
    • Sun/Oracle Java
    • Java Version 1.5 +
  • When checking out and building yourself, all of the above plus:
    • maven 3.0.x (maven 3.1.x does NOT yet work)

Building NOF from Source

NOF is built using Maven. The NOF Model-Editor and editor components depend on SWT which is unfortunately NOT on maven central.

If you have trouble building or using NOF after checking out the source, please check the following two things:

  • First make sure that your maven settings DO NOT contain:
       ...
       <mirrors>
        <mirror>
          <mirrorOf>*</mirrorOf>
       ...
    

    as this would prevent maven from using any repository other than the one given in your settings. For further information you may consult the maven mirror settings guide.

  • Second insert the following into your maven settings.xml: (use anything inside the id tag that is unique in your environment)
                    <profile>
                            <id>swt-repo</id>
                            <activation>
                                    <activeByDefault>true</activeByDefault>
                            </activation>
                            <repositories>
                                    <repository>
                                            <id>swt-repo</id>
                                            <url>http://swt-repo.googlecode.com/svn/repo/</url>
                                    </repository>
                            </repositories>
                    </profile>
                    ...
            </profiles>
            ...
    </settings>
    

As a side note, you can find out your maven settings by typing:

mvn help:effective-settings

If you are behind a proxy server please consult the maven proxy guide.