[flexcoders] Re: Cairngorm for Flex 3

2008-03-28 Thread ivan.division40
Hi,

You can always recompile Cairngorm project with Flex 3 SDK to be sure.
It works for us...

Ivan

--- In flexcoders@yahoogroups.com, Todd [EMAIL PROTECTED] wrote:

 Just drop the Cairngorm.swc file into your Flex 3 project lib folder
 and you're good to go.
 
 BTW, I'm pretty sure Cairngorm actually references Flex specific
 things, like the IResponder, so it's not that it's only Actionscript
 3, like the person above suggested.  Its only referencing interfaces
 that haven't changed from Flex 2.
 
 (Someone who knows the innards more can chime in, I'm just using it.)
 
 --- In flexcoders@yahoogroups.com, Leonardo Moreno
 leonardo.moreno@ wrote:
 
  Hi
  
  I want to use Cairngorm for a project we are going to start but in
this 
  site: http://labs.adobe.com/wiki/index.php/Cairngorm I only see
 versions 
  for Flex 2.
  
  I'd like to know if there is a new version for Flex 3 coming soon or 
  what's going to happen with Cairngorm.
  
  Regards
  -- 
  Leonardo Moreno Guzmán
  Ingeniero de sistemas y telemática | Asesor soluciones informáticas
  *cell-phone:*   311-3390386
  *e-mail:*   leonardo.moreno@
  *site:* http://leo.logtar.com/profesional/
 





[flexcoders] Re: flex ant compc include-file tags

2008-03-28 Thread ivan.division40
Hello,

Try to make sense of these posts:
http://tech.groups.yahoo.com/group/flexcoders/message/68068
http://tech.groups.yahoo.com/group/flexcoders/message/94454

Good luck, ;)
Ivan

--- In flexcoders@yahoogroups.com, toofah_gm [EMAIL PROTECTED] wrote:

 Is anyone else using 'compc' and Ant?  How are you including asset
files?
 
 --- In flexcoders@yahoogroups.com, toofah_gm garym@ wrote:
 
  I am creating an Ant script to compile my flex project.
  
  In my compc task is there a way to give a directory for the
  include-file tags instead of listing out each individual asset and
  css file that I want to include?  I have used pathconvert to build
  my 'include-classes' property dynamically. 
  
  There must be a way to do this since it would be very unwieldy to
  always have to update the script every time you add a new resource.
  
  Thanks,
  
  Gary
 





[flexcoders] Re: Flex Builder and Ant

2008-03-28 Thread ivan.division40
Hi,

The easiest way is to install ant on your machine and to configure it
as external tool.

Open External Tool Dialog and press New launch configuration.
Give it a name.
In Main tab:
Location type X:\apache-ant-1.7.0\bin\ant.bat,
Working Directory: X:\apache-ant-1.7.0\bin
Arguments: -buildfile ${project_loc}/build/build.xml

This will work for all of your projects if you put your build file
into build directory which is sitting in root of the project. :D
Note: You can edit arguments as you like, of course. The above will
build your default target.

Hope it helps,
Ivan


--- In flexcoders@yahoogroups.com, Weyert de Boer [EMAIL PROTECTED] wrote:

 Does anyone know how I can combine the use of Flex Builder and Ant to 
 compile Flex/AIR projects?





[flexcoders] Re: Automate build for large apps?

2008-03-26 Thread ivan.division40
Try to peek inside Cairngorm project package.

Cairngorm 2.2.1 - Cairngorm2_2_1-src - Cairngorm

You can find sth like this in build.xml:

xslt in=.flexLibProperties out=${config} style=config.xsl/xslt

Really nice thing... ;)


--- In flexcoders@yahoogroups.com, toofah_gm [EMAIL PROTECTED] wrote:

 Does anyone have an answer for this?
 
 --- In flexcoders@yahoogroups.com, flexinator2 ttonnesen@ wrote:
 
  We have a very large Flex2 application with several hundred classes
  and around a dozen RSL (swc files). We've been using the flex2 eclipse
  IDE to do builds but would like to automate it and throw it in our
  CruiseControl server. I'm using nant to perform the build.
  
  I've been using the command line compilers -- compc.exe to build the
  .swc files. I am using config xml files with the -load-config
 parameter. 
  
  I don't see any other way to build .swc files without having to
  manually tell compc .exe which classes to include (among other
things).
  
  Beyond this being tedious, every time a new class is added, removed or
  renamed, the hard coded build script will blow up or at least won't
  include what it should. Perhaps I'm missing something, but I didn't
  see any way to have the command line compilers read the already
  existing project files such as .actionScriptProperties and
  .flexLibProperties that already have all the information I need to
  build a .swc file.
  
  Now I could build my own executable that reads these project files and
  build new config  xml files on the fly for compc. This way I can make
  a truly automated build that will read any changes made to the flex
  projects.
  
  Is there a better way to accomplish an automated build for large Flex2
  apps?
  
  Thanks,
  Tim