Re: Framework around anthill
Eric Minick <[email protected]>
| Newsgroups | gmane.comp.java.anthill |
|---|---|
| Message-ID | <[email protected]> |
This question might be better on the anthill-dev list, but I'll take a crack. What properties are important to set on the ProjectProperties is going to depend on what you are trying to accomplish. At the least, you will probably need to set the repository information so that Anthill knows where to fetch the build script from. The build script path is also going to be pretty important. Otherwise, it really depends on what you are trying to accomplish. Project information is going to be stored in the associated .registry files. They are in essence plain text property files with some added features to make lists function in a reasonable way. Projects (and everything else) are loaded from those registry files at initialization time. Take a look at the Anthill.initialize() method which calls out to the various loading methods. The loading for the project properties isn't terribly sophisticated. Essentially the property names are mapped into the registry files and the ProjectProperties object wraps the registry object that mirrors the file. The loading is done In the ProjectProperties(Anthill, AnthillProject, File) constructor which is somewhat typical. The save methods on the various objects write them back into registries. Good Luck, Eric gnugy wrote: > Hi, I'm trying to build a framework around anthill and I am wondering > what the minimum amount of code I have to write to get an anthill > project running. > > What are the important properties to set in AnthillProjectProperties? > Where is the project information stored? > How is it saved and loaded? > _______________________________________________ > Anthill mailing list > Anthill-IWHQxnLZ/[email protected] > http://lists.urbancode.com/mailman/listinfo/anthill