I've started using velo's mojos to build with Maven. Working great so far
and he seems to be working on it quite a bit.

http://code.google.com/p/flex-mojos/

On Wed, Jul 9, 2008 at 3:49 PM, pankajtandon2003 <[EMAIL PROTECTED]>
wrote:

>   Thanks Douglas and Tracy!
> That was good information.
> Any idea if the Apache/IIS plugin is also as slow as LCDS is supposed
> to be (as per Doug's posting).
> I clearly ignored the ant task to do this step. I do agree it may be
> the better way to go instead of forking out the $$ for LCDS.
>
> Any suggestions for a good maven-plugin *that works* for doing this..
> that compiles .mxmls to .swfs. I'm trying to avoid the antrun plugin
> if possible.
>
> Thanks guys! I'm warming to this flex thing :)
>
> Pankaj
>
>
> --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, "Tracy
> Spratt" <[EMAIL PROTECTED]> wrote:
> >
> > I also seem to recall an Apache thing, hold on, ... yes,
> >
> > http://labs.adobe.com/wiki/index.php/Flex_Module_for_Apache_and_IIS
> <http://labs.adobe.com/wiki/index.php/Flex_Module_for_Apache_and_IIS>
> >
> >
> >
> > See if that is what you are looking for.
> >
> >
> >
> > Tracy
> >
> >
> >
> > ________________________________
> >
> > From: flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com> [mailto:
> flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>]
> On Behalf Of Douglas Knudsen
> > Sent: Wednesday, July 09, 2008 4:22 PM
> > To: flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>
> > Subject: Re: [flexcoders] Re: mxml to swf on a J2EE server
> >
> >
> >
> > On Wed, Jul 9, 2008 at 4:14 PM, pankajtandon2003 <[EMAIL PROTECTED]
> <mailto:pankajtandon%40gmail.com <pankajtandon%2540gmail.com>> > wrote:
> > > Thanks for the response Dimitrios.
> > >
> > > I guess I need to be more specific.
> > > I'm drawing a parallel between mxml file and a jsp file and I am
> > > trying to get the mxml file to compile *like* a jsp file.
> > >
> > > In a J2EE environment (say Tomcat), I write a jsp using custom jsp
> > > tags, ensure that the jar files that contain the TagLibs and the
> > > corresponding classes are in the class path of the server and when my
> > > server encounters a URL ending in .jsp, it knows to compile the .jsp
> > > into a servlet that then sends HTML in the response to the server.
> > >
> > > I am looking for a similar way to achieve this behavior when I write a
> > > .mxml file. Using Flex Builder as an eclipse plugin is great for unit
> > > testing where I can see the results of the swf in a browser launched
> > > from my IDE. However, how can I achieve this when I am using Tomcat. I
> > > thought LCDS was the way to achieve this.
> > >
> > > You have stated that that is not the case.
> > >
> > > In other words how can I get from a .mxml to a .swf (that my browser
> > > can display) in one step. OR.. is it necessary to do a two-step
> > > process, where I compile into a .swf and then bundle the swf with my
> > > J2EE artifact for deployment. If this is the case, then how can I
> > > supply a filename to my swf dynamically.
> > >
> >
> > The accepted way is to do this, yes. Use Ant to build your jars,
> > swfs, etc ball them up and deploy away. Alternatively, you can use
> > LCDS to 'compile on the fly' like a jsp, php, or cfm does. Flex 1.5
> > and earlier worked this way. It is *horribly* slow on first request
> > though. Its called web-tier-compiler IIRC. Heck of a lot of cash to
> > outlay just for this when you can compile in your standard build
> > process.
> >
> > DK
> >
> > > I hope I am clear..er now :)
> > > Thanks for your responses and patience!
> > >
> > > Pankaj
> > >
> > > --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>
> <mailto:flexcoders%40yahoogroups.com <flexcoders%2540yahoogroups.com>> ,
> "Dimitrios Gianninas"
> > >
> > > <dimitrios.gianninas@> wrote:
> > >>
> > >> Hi,
> > >>
> > >> 1) You don't LCDS to compile stuff, you can pre-compile your Flex
> > > application by simply using the Flex SDK. It comes with the compiler.
> > > You can read about it here:
> > > http://livedocs.adobe.com/flex/3/html/compilers_01.html
> <http://livedocs.adobe.com/flex/3/html/compilers_01.html>
> > >>
> > >> 2) I dont completly understand this question.... is that in your
> > > Flex app you are trying to communicate with an HTTPService and you
> > > want to pass it the URL?
> > >>
> > >> Dimitrios Gianninas
> > >> RIA Developer and Team Lead
> > >> Optimal Payments Inc.
> > >>
> > >>
> > >> ________________________________
> > >>
> > >> From: flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>
> <mailto:flexcoders%40yahoogroups.com <flexcoders%2540yahoogroups.com>>
> [mailto:flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com> <mailto:
> flexcoders%40yahoogroups.com <flexcoders%2540yahoogroups.com>> ]
> > > On Behalf Of pankajtandon2003
> > >> Sent: Wednesday, July 09, 2008 2:01 PM
> > >> To: flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com><mailto:
> flexcoders%40yahoogroups.com <flexcoders%2540yahoogroups.com>>
> > >> Subject: [flexcoders] mxml to swf on a J2EE server
> > >>
> > >>
> > >>
> > >> Hello,
> > >> I'm trying to integrate a Flex app with a J2EE app. After reading
> up a
> > >> little I determined that LifeCycle Data ES is what I would need to
> > >> effect this. LifeCycle Data ES is what allows me to get data from the
> > >> server and save data etc. However I really don't need that level of
> > >> integration. All I need is the ability to compile my .mxml file
> on the
> > >> server so that it is rendered as a .swf file on the client. LifeCycle
> > >> Data ES seems like overkill for just this.
> > >>
> > >> How can I achieve above.
> > >>
> > >> Secondly, I need to pass in a file name to my .mxml file dynamically.
> > >> Traditionally, since the mxml file is executing on the client, I
> would
> > >> expect a HTTPService call to get the file name. However, if my .mxml
> > >> file is dynamically compiled on the server into an .swf (like a .jsp
> > >> into a servlet), then I can really place the file name dynamically in
> > >> the source code of the mxml file. How can I do so specifically?
> > >>
> > >> So there are two questions:
> > >> 1. How can I compile .mxml files into .swfs on a J2EE server without
> > >> using LifeCycle Data ES.
> > >> 2. How can I specify a filename dynamically in a .mxml file so
> that it
> > >> compiles int a .swf with the right filename (and executes on the
> > >> client as usual)
> > >>
> > >> Thanks in advance,
> > >> Pankaj
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> --
> > >> WARNING
> > >> -------
> > >> This electronic message and its attachments may contain
> > > confidential, proprietary or legally privileged information, which is
> > > solely for the use of the intended recipient. No privilege or other
> > > rights are waived by any unintended transmission or unauthorized
> > > retransmission of this message. If you are not the intended recipient
> > > of this message, or if you have received it in error, you should
> > > immediately stop reading this message and delete it and all
> > > attachments from your system. The reading, distribution, copying or
> > > other use of this message or its attachments by unintended recipients
> > > is unauthorized and may be unlawful. If you have received this e-mail
> > > in error, please notify the sender.
> > >>
> > >> AVIS IMPORTANT
> > >> --------------
> > >> Ce message électronique et ses pièces jointes peuvent contenir des
> > > renseignements confidentiels, exclusifs ou légalement privilégiés
> > > destinés au seul usage du destinataire visé. L'expéditeur original ne
> > > renonce à aucun privilège ou à aucun autre droit si le présent message
> > > a été transmis involontairement ou s'il est retransmis sans son
> > > autorisation. Si vous n'êtes pas le destinataire visé du présent
> > > message ou si vous l'avez reçu par erreur, veuillez cesser
> > > immédiatement de le lire et le supprimer, ainsi que toutes ses pièces
> > > jointes, de votre système. La lecture, la distribution, la copie ou
> > > tout autre usage du présent message ou de ses pièces jointes par des
> > > personnes autres que le destinataire visé ne sont pas autorisés et
> > > pourraient être illégaux. Si vous avez reçu ce courrier électronique
> > > par erreur, veuillez en aviser l'expéditeur.
> > >>
> > >
> > >
> >
> > --
> > Douglas Knudsen
> > http://www.cubicleman.com <http://www.cubicleman.com>
> > this is my signature, like it?
> >
>
>  
>

Reply via email to