DK,

Actually it depends on which task you run in the ANT build process:

tomcat.build  >> builds a complete tomcat instance for HTTP/HTTPS, deployed 
wars containing compiled jars, swfs, jsp, SSO configuration, all compiled in 
one task.

flex.build >> builds a war file containing all the precompiled flex SWF files 
and typically HTML/JSP

services.build >> builds a war file containing all jars and a completely 
configured AXIS instance.

All these tasks have built in dependencies to one another. Downward it gets 
more fine grained as you can build each SWF individually or in a batch.

1. Checkout /{project}/trunk
2. ant tomcat.build
3. Go to Starbucks! About 3-15 minutes.
4. \tc2\bin\startTomcat.bat

Ready for development or deployment.

It is a seriously a cool process and clients are blown away by it. Basically if 
a physical server goes down, your 15 minutes from having a complete build of 
the entire site and server configured.

Cynergy Systems, Inc.
Theodore Patrick
Sr. Consultant
[EMAIL PROTECTED]
tel: 1.866.CYNERGY
http://www.cynergysystems.com

________________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas 
Knudsen
Sent: Wednesday, April 12, 2006 2:18 PM
To: [email protected]
Subject: Re: [flexcoders] Re: Flex 1.5 apps...deploying

thanks Dave.

got the picture now I think.  Sounds like when these Ant tasks of
yours fire and build a WAR, they include the Flex app in the WAR, eh? 
But the Ant tasks nab the Flex app from the local file system not CVS.
kewl.

by 'Flex app' here I mean the Flex app server, not the mxml, as, jsp
files comprising the 'Flex based' app.

DK

On 4/12/06, Dave Wolf <[EMAIL PROTECTED]> wrote:
> We use ANT, Tomcat, Subversion and the mxmlc compiler.  Effectively we
> do exactly what you are asking about.
>
> We store the Java. JSP. HTML, images, everyhing in source control.  We
> then have multiple ANT tasks to manage doing
>
> -compilation of both Java and the MXML
> -packaging into JARs WAR etc
> -deployment of these collections into the application server
>
> We have tiers of ANT tasks which cascade together into larger units of
> work.  So I might be able to build just one subsection, which then can
> be rolled up into a packaging, which then can be rolled up into a
> deployment, which then can roll up into one uber task that builds
> deploys and configures an entire server.
>
> Today on our projects almost code goes from source control into a
> running server without some well known task doing it.  This is how we
> build our RIAs.
>
> --
> Dave Wolf
> Cynergy Systems, Inc.
> Macromedia Flex Alliance Partner
> http://www.cynergysystems.com
>
> Email:  [EMAIL PROTECTED]
> Office: 866-CYNERGY
>
>
>
> --- In [email protected], "Douglas Knudsen"
> <[EMAIL PROTECTED]> wrote:
> >
> > How are you folks deploying apps for Flex 1.5?    I have been just
> > copying the files out to the server, restarting JRun when needed.  I'd
> > like to crank up Ant and do the WAR or JAR thing.
> >
> > I'm looking at deploying using a WAR file.  I keep code in CVS
> > repository.  I want to use Ant to pull the code from CVS, compile, and
> > build the WAR but I don't want to store the whole Flex app in CVS, eh?
> >  Just my code.  Can one deploy only your app code as a WAR into a Flex
> > app?  Or in this case should I just JAR up my class files and use ANT
> > to copy out the code and JAR.  JRun can hot-load the jar.
> >
> >
> > --
> > Douglas Knudsen
> > http://www.cubicleman.com
> > this is my signature, like it?
> >
>
>
>
>
>
>
> --
> 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
>
>
>
>
>
>
>


--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


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


SPONSORED LINKS 
Web site design development 
Computer software development 
Software design and development 
Macromedia flex 
Software development best practice 


________________________________________
YAHOO! GROUPS LINKS 

*  Visit your group "flexcoders" on the web.
  
*  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
*  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 

________________________________________

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.1/309 - Release Date: 4/11/2006
 


--
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