flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christofer Dutz <christofer.d...@codecentric.de>
Subject [FlexJS] MXMLFlexJSPublisher cleanup
Date Tue, 01 Nov 2016 11:09:10 GMT


so I cleaned up the MXMLFlexJSPublisher class greatly. Currently I’m trying to figgure out
why the release output of 3 modules doesn’t seem to work. The thing is that I never tested
the release versions of the original build, so I’ll probably be comparing the new to the
old output first. But I did encounter some things I have questions about:

1.       I think it would be a good idea to omit this „marmotinini“ conditional code.
What needs to be done differently for a marmotini run should be passed in by configuration

2.       The default for outputting stuff if no ouput-directory is specified is the directory
containing the main class ... I would prefer it to be the current working directory

3.       All (image) resources need to be located relative to the main application class.
I think they should be relative to the/any source directories (Would like to have a separate
source and a resource directory)

4.       The extern.js files seem to be dumped to the intermediate „debug-js“ directory.
I think they should be dumped somewhere outsite (they should not be needed in the output)


There’s one part I didn’t quite understand:


if (!googConfiguration.getSkipTranspile()) {
    appendEncodedCSS(projectIntermediateMainFile, projectName);


What does this do? Also I don’t understand the conditional of only requiring this if transpilation
is not skipped (isn’t transpilation all the JS output is about ... so what’s the use of
skiping transpilation?) Wouldn’t it be better to simply do a 


if (googConfiguration.getSkipTranspile()) {



at the start?






Mit freundlichen Grüßen | Best regards

Christofer Dutz | Senior IT Consultant


codecentric AG | Kreuznacher Straße 30 | 60486 Frankfurt am Main | Deutschland 
mobil: +49 (0) 1525.3057806 | fax: +49 (0) 69.7593-8200
www.codecentric.de | blog.codecentric.de | www.meettheexperts.de | www.more4fi.de    

Sitz der Gesellschaft: Solingen | HRB 25917| Amtsgericht Wuppertal

Vorstand: Michael Hochgürtel . Mirko Novakovic . Rainer Vehns
Aufsichtsrat: Patric Fedlmeier (Vorsitzender) . Klaus Jäger . Jürgen Schütz

Diese E-Mail einschließlich evtl. beigefügter Dateien enthält vertrauliche und/oder rechtlich
geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
erhalten haben, informieren Sie bitte sofort den Absender und löschen Sie diese E-Mail und
evtl. beigefügter Dateien umgehend. Das unerlaubte Kopieren, Nutzen oder Öffnen evtl. beigefügter
Dateien sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message