It's nothing Maven-Special I'm talking about. It's just some plain old Java jar 
dependency thing.
I would like to have FlexJS as an addition to Falcon. So assuming a project 
allready has Falcon, by adding the FlexJS jar, the user would be able to use 
FlexJS.

I've tried compiling FlexJS several times now, but it keeps on failling with 
java compile errors.

Oh well ... I really really hope that I get a first running example working in 
the next one or two weeks ... I'm sort of slightly starting to pannic when I'm 
thinking about the ApacheCon. I wouldn't have dreamed that there were so many 
rocks to move before finally being able to build FlexJS applications with 
Flexmojos. But I'm finally seing the finishing line :-)

Chris


-----Ursprüngliche Nachricht-----
Von: Erik de Bruin [mailto:e...@ixsoftware.nl] 
Gesendet: Sonntag, 26. Oktober 2014 17:21
An: dev@flex.apache.org
Betreff: Re: Adding support for FlexJS & FlexJX to Flexmojos

I know nothing about Maven and/or FlexMojos. All I can think of to help you 
along is to look at how FlexJS is set up during installation, and how it uses 
Flash Builder .launch files to do it's thing when publishing a project.

EdB



On Sunday, October 26, 2014, Christofer Dutz <christofer.d...@c-ware.de>
wrote:

> So how would I setup this scenario?
> I have a flexjs-compiler jar artifact that has dependencies on 
> falcon-compiler.jar?
> Would I add an additional flexjs-compiler artifact to the rest and 
> somehow tell Flexmojos which compiler implementation class it should 
> use? Having a look at the code, I think it would be an option to have 
> something like this:
>
>     <build>
>         <sourceDirectory>src/main/flex</sourceDirectory>
>         <plugins>
>             <plugin>
>                 <groupId>net.flexmojos.oss</groupId>
>                 <artifactId>flexmojos-maven-plugin</artifactId>
>                 <version>7.1.0-SNAPSHOT</version>
>                 <extensions>true</extensions>
>                 <dependencies>
>                     <dependency>
>                         <groupId>org.apache.flex.compiler</groupId>
>                         <artifactId>falcon-compiler</artifactId>
>                         <version>0.0.3-SNAPSHOT</version>
>                     </dependency>
>                 </dependencies>
>             </plugin>
>         </plugins>
>     </build>
>
> For normal compilation and something like this for fle
>
>     <build>
>         <sourceDirectory>src/main/flex</sourceDirectory>
>         <plugins>
>             <plugin>
>                 <groupId>net.flexmojos.oss</groupId>
>                 <artifactId>flexmojos-maven-plugin</artifactId>
>                 <version>7.1.0-SNAPSHOT</version>
>                 <extensions>true</extensions>
>                 <configuration>
>                     <compiler>flexjs </sourceFile>
>                 </configuration>
>                 <dependencies>
>                     <dependency>
>                         <groupId>org.apache.flex.compiler</groupId>
>                         <artifactId>falcon-compiler</artifactId>
>                         <version>0.0.3-SNAPSHOT</version>
>                     </dependency>
>                     <dependency>
>                         <groupId>org.apache.flex.compiler</groupId>
>                         <artifactId>falcon-js </artifactId>
>                         <version>0.0.3-SNAPSHOT</version>
>                     </dependency>
>             </plugin>
>         </plugins>
>     </build>
>
> Then I would need some code in Flexmojos to use MXMLJSC instead of MXMLC.
> So it seems there is no change needed to the Framework?
>
> Chris
>
>
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: Erik de Bruin [mailto:e...@ixsoftware.nl <javascript:;>]
> Gesendet: Sonntag, 26. Oktober 2014 16:32
> An: dev@flex.apache.org <javascript:;>
> Betreff: Re: Adding support for FlexJS & FlexJX to Flexmojos
>
> FalconJX takes care of the cross compilation to JS. This is a separate 
> project in the flex-falcon repository. It basically uses Falcon to 
> create the AST and then traverses that to create Javascript. To 
> complicate
> matters: this Javascript is then passed to the Google Closure Compiler 
> for optimalisation and minification ;-)
>
> EdB
>
>
>
> On Sunday, October 26, 2014, Christofer Dutz 
> <christofer.d...@c-ware.de <javascript:;>>
> wrote:
>
> > Hi,
> >
> > well I'll currently treat my work on supporting Flacon as done and 
> > now want to concentrate on supporting the first JavaScript output 
> > support to
> it.
> > I could need a little help getting started with this.
> >
> > Assuming I was building a classic Falcon application, how exactly is 
> > the JavaScript output triggered? Is there a commandline switch for 
> > this? Does the compiler simply need an additional Jar (Or multiple)?
> > What changes in the FDK are needed?
> >
> > Chris
> >
> >
>
> --
> Ix Multimedia Software
>
> Jan Luykenstraat 27
> 3521 VB Utrecht
>
> T. 06-51952295
> I. www.ixsoftware.nl
>


--
Ix Multimedia Software

Jan Luykenstraat 27
3521 VB Utrecht

T. 06-51952295
I. www.ixsoftware.nl

Reply via email to