[Anthill] Framework around anthill

Eric Minick etm at urbancode.com
Mon Feb 6 17:25:25 CST 2006


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 at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill





More information about the Anthill mailing list