You can call compc from Java (or using the Java task in Ant) via
"flex.compiler.swc.CompCompiler".  This is very similar to how people
use mxmlc with Java/Ant, where you use "flex.tools.Mxmlc".  -Brian

> -----Original Message-----
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
> Sent: Wednesday, December 21, 2005 11:37 AM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Re: Using compc to make SWC from AS
> 
> While I could use Zinc or mProjector, no one would use it.  
> I'd much rather 
> have it in Eclipse, but I don't know Java.  Could compc work 
> with ANT you 
> think?
> 
> ----- Original Message ----- 
> From: "Renaun Erickson" <[EMAIL PROTECTED]>
> To: <flexcoders@yahoogroups.com>
> Sent: Wednesday, December 21, 2005 11:30 AM
> Subject: [flexcoders] Re: Using compc to make SWC from AS
> 
> 
> compc GUI
> 
> Flash with Zinc would be a good use for making a GUI for the command
> line.  If its all local you could do Flex to PHP/ColdFusion which then
> calls the command line, but this is not as portable.
> 
> Depending on your purpose you could setup a external tool in eclipse
> that makes the call also, probably a little more work then you want to
> get it to handle all the parameters you are using nicely.
> 
> Plenty of possibilities, hehe
> 
> --- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
> >
> > Yep, that's exactly what I did, just doing -root 3rd, but apparently
> > parameter order doesn't matter.  Pretty neat... curious how I can
> build a
> > GUI for it.
> >
> > ----- Original Message ----- 
> > From: "Brian Deitte" <[EMAIL PROTECTED]>
> > To: <flexcoders@yahoogroups.com>
> > Sent: Wednesday, December 21, 2005 12:04 AM
> > Subject: RE: [flexcoders] Using compc to make SWC from AS
> >
> >
> > So using root didn't work for you?  If your class is
> > "com.mfgquote.utils.Signature", then you will  want to 
> point it to the
> > flex directory:
> >
> > compc -o Signature.swc -root "c:\Documents and Settings\Syle\My
> > Documents\_Work Projects\Signature\flex" "c:\Documents and
> > Settings\Syle\My Documents\_Work
> > Projects\Signature\flex\com\mfgquote\utils\Signature.as"
> >
> > > -----Original Message-----
> > > From: flexcoders@yahoogroups.com
> > > [mailto:[EMAIL PROTECTED] On Behalf Of JesterXL
> > > Sent: Tuesday, December 20, 2005 6:10 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: Re: [flexcoders] Using compc to make SWC from AS
> > >
> > > ...dude, I'm stumped...
> > >
> > > ----- Original Message ----- 
> > > From: "JesterXL" <[EMAIL PROTECTED]>
> > > To: <flexcoders@yahoogroups.com>
> > > Sent: Tuesday, December 20, 2005 5:57 PM
> > > Subject: Re: [flexcoders] Using compc to make SWC from AS
> > >
> > >
> > > Ok, this works (C:\Program Files\Macromedia\Flex\bin>compc -o
> > > Signature.swc
> > > "c:\Documents and Se
> > > ttings\Syle\My Documents\_Work
> > > Projects\Signature\flex\com\mfgquote\utils\Signature.as"),
> > > but now getting a
> > > "the class doesn't match the imported class".  I used to get
> > > those types of
> > > errors in Flash and knew they were full of it, but trust Flex
> > > more... bleh.
> > >
> > > ----- Original Message ----- 
> > > From: "JesterXL" <[EMAIL PROTECTED]>
> > > To: "Flexcoders" <flexcoders@yahoogroups.com>
> > > Sent: Tuesday, December 20, 2005 5:51 PM
> > > Subject: [flexcoders] Using compc to make SWC from AS
> > >
> > >
> > > I'm having trouble getting compc to work.  I'm not very good
> > > at Command
> > > line, so maybe that's the problem.  How do you escape spaces
> > > on Windows XP?
> > >
> > > Like:
> > >
> > > C:\Documents and settings
> > >
> > > It keeps bitching there isnt' a C:\Documents , and I think I
> > > have to escape
> > > the space.  How do you do that?  Is there an easier way to
> > > make SWC files
> > > from AS files (without using Flash since it won't get the
> > > right classes)?
> > >
> > >
> > >
> > >
> > > --
> > > Flexcoders Mailing List
> > > FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives:
> > > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Flexcoders Mailing List
> > > FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives:
> > > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > ------------------------ Yahoo! Groups Sponsor
> > > --------------------~-->
> > > Get Bzzzy! (real tools to help you find a job). Welcome to
> > > the Sweet Life.
> > > http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
> > > --------------------------------------------------------------
> > > ------~->
> > >
> > > --
> > > Flexcoders Mailing List
> > > FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives:
> > > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> 
> 
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor 
> --------------------~--> 
> Most low income homes are not online. Make a difference this 
> holiday season!
> http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
> --------------------------------------------------------------
> ------~-> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to