RE: [flexcoders] Re: How to compile a library using Ant and mxmlc.jar

2008-01-31 Thread Gregor Kiddie
mailto:[EMAIL PROTECTED] On Behalf Of Robert Csiki Sent: 30 January 2008 21:51 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to compile a library using Ant and mxmlc.jar Thanks, it will really help, one more question, hopefully the last one: is there anything specific to set in "

[flexcoders] Re: How to compile a library using Ant and mxmlc.jar

2008-01-30 Thread Gaurav Jain
You can not use compc to generate a swf file directly. You can generate a .swc or output to the directory. The directory contains the library.swf or you can also extract the library.swf from the .swc file. See this link for more details. http://livedocs.adobe.com/labs/flex3/html/help.html?conte

[flexcoders] Re: How to compile a library using Ant and mxmlc.jar

2008-01-30 Thread Robert Csiki
Thanks, it will really help, one more question, hopefully the last one: is there anything specific to set in "compc" to indicate the SWC that's being built is a RSL? I have fear this is a dumb question. Can't I rather use "compc" to generate a RSL directly (SWF file) to be used by the main applica

[flexcoders] Re: How to compile a library using Ant and mxmlc.jar

2008-01-30 Thread Gaurav Jain
Lets say you compiled the swc (SwcOutput) to directory instead of a .swc You can use it as rsl in the mxmlc compilation. Here is the example: Thanks, Gaurav

[flexcoders] Re: How to compile a library using Ant and mxmlc.jar

2008-01-30 Thread Robert Csiki
Thank you, how will I use a library as RSL when building (using Ant task mxmlc), what's the syntax here? --- In flexcoders@yahoogroups.com, "Gaurav Jain" <[EMAIL PROTECTED]> wrote: > > You can use the flexTasks that ship with the Flex SDK to achieve this. > > The flexTasks.jar is /ant/lib folde

[flexcoders] Re: How to compile a library using Ant and mxmlc.jar

2008-01-30 Thread Gaurav Jain
You can use the flexTasks that ship with the Flex SDK to achieve this. The flexTasks.jar is /ant/lib folder. For the reference doc, see here http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks#Using_the_compc_task Thanks, Gaurav