Gaia Framework – Creación y compilacion de un proyecto sin Flash
En los dos artículos anteriores he visto como compilar cada una de las páginas de un proyecto flash, y como crear estas mismas páginas y otras clases necesarias para el proyecto.
En este vamos a juntar todo para crear la estructura basica de un proyecto utilizando el framework de Gaia.
1.- Creación de un proyecto con FDT.
creamos el proyecto y este nos aparece en el entorno:
2.- Descarga GaiaBase.zip:
3.- Copia el directorio build, y el fichero build.xml al raiz del proyecto creado.
4.- Abre el fichero build.xml y edita la propiedad FLEX_HOME, la cual debe contener la ruta a tu framework de flex. Edita el fichero gaia.properties y modifica la propiedad base.url con el dominio donde se alojara el proyecto.
5.- Ejecuta el target main del fichero build.xml.
Una vez terminada la ejecución del target, si todo a ido bien, no habrá aparecido la carpeta bin, con los ficheros necesarios para hacer la publicación.
Añadir Páginas.
Para añadir páginas solo es necesario editar el fichero site.xml del directorio bin, tal y como lo hariamos para Adobe Flash.





Hi
and for use with flashdevelop?
@helder pereira
Hello helder, flashdevelop don’t support ant, you can add ant to the toolbar menu and link with the ant application, like the ANT on Flashdevelop. But you can only execute de default target.
If you has installed ant, copy build folder and build.xml file to the of the project and remove Main.as file created by default, and then press the ant button of your flashdevelop toolbar.
For execute diferent target of the build.xml file edit that and set as default target, the target than you want.
my english is not good, i wish that help you.
panaewa