Hi,

I am still stuck working on migrating the Externs. What I've done so far, is:

- created a set of maven plugins to patch the javascript input files.

- re-wrote the replacement rules (the original ones were a mess in createjs)

- verified that the output was identical to the one of the ant build.


Now I noticed that if you fire up the externc thingy, that it sort of generates 
js files and as files.

For now I made a set of plugins to generate JavaScript from JavaScript and one 
to generate ActionScript from JavaScript. The code is generated to 
"target/generated-sources/externc-js" and "target/generated-sources/externc-as".


When using the pre-defined config.xml files and using the exec-maven-plugin to 
manually invoke the build, most things seem to be working, but I don't quite 
like this approach, I have the config created by the maven plugin and this 
seems to be working quite well.


The problem I am having is that I completely don't understand how EXTERNC 
sometimes generates the AS immediately and for createjs it is invoked twice. 
The first time creating JS output, the second time creating AS output. This is 
really strange as I would like to Build all projects the same way or at least 
know why they are built differently and document this in the pom.


Would be great if you could help me.


Chris

Reply via email to