Update site.xml (Gaia Framework) with ANT

I put a small change in the build.xml file, to update the parameters seoBytes and bytes in site.xml file, now only updates the tag page, I’ve also updated the gaia framework to version 3.2.0.

To update the site.xml file is only necessary to run the new target refresh-site-xml and automatically update the xml file. It overwrites the file site.xml, below shows the code for the target and other macros.

Gaia Framework – ANT – Part 2

After making a couple of websites with their respective facebook’s applications, I managed to take a little time to create this post.

In the previous article we saw how to compile a project using ANT gaia, in this we will create the various pages of the site and the creation of Pages.as class, which contains a static reference to the various pages.

To create pages for gaia have to read the xml file as we saw in the previous article, and for each of the tags page, copy the file in the folder templates provided in the file downloads. This template is new and is a copy of which appears in the Gaia project, but is modified so that the substitution patterns matches the passed as parameters, besides the class has been included TransitionController, which will be in charge of managing transitions pages.

Gaia Framework – ANT

Gaia, is a framework for creating Flash pages, which is open source and we can adapt to our needs.
Greatly facilitates the development of flash pages, and significantly reduces the time of development. It also has very good documentation which is very easy to start using it. It provides a panel (for the Adobe Flash) that is installed through an extension of the Adobe Extension Manager application. In version 3.1.9, has introduced the option of creating a draft FlashDevelop or Flex Builder. Once created you can import into Flex and everything working.
You can also import the project in Flex Builder Eclipse with FDT, which is our case.

Normally we create the project from the panel gives us the extent of Gaia, and compile the files. Fla, the aim of this paper is to compile the project without the need for a Flash application itself, so that only necessary for the creation the project.

Ant for flash developers – Task copy (part 3)

In this part of introduction to ANT, I will use the copy task. For this example I need to create a template of a generic class that inherits from Sprite to flex, which will be the main application class, on this template and using the copy task some patterns are replaced by values that have previously been assigned to property, also will see how tasks include libraries developed by others or by ourselves, using taskdef, as compiled the class created using the flex ant tasks, especially the mxmlc task.