Hi,
I am using maven for both. The source code i modified is under project
"compiler-jx". An the generated jar is : compiler-jx-0.9.4-SNAPSHOT.jar
I colud not be able find the place to put this jar beacuse there is no
jar in royale-asjs\lib or royale-asjs\js\lib containing "compiler-jx" in
name :)
Thanx
Serkan
4.10.2018 20:37 tarihinde Alex Harui yazdı:
If you build the compiler with Maven, it is expected that you will
build the application with Maven as well.
If you build the compiler with Ant, it is expected that you will build
the application with Ant.
That said, in the nightly builds, the compiler Jars are copied into
royale-asjs/lib and royale-asjs/js/lib so you could grab the Maven
artifacts and rename them and overwrite the Ant ones. I haven’t tried
that, but in theory it should work.
HTH,
-Alex
*From: *Serkan Taş <[email protected]>
*Reply-To: *"[email protected]" <[email protected]>
*Date: *Thursday, October 4, 2018 at 4:08 AM
*To: *"[email protected]" <[email protected]>
*Subject: *Using (mxmlc) compiler after modification
Hi,
After searching the codebase, i found that
/org.apache.royale.compiler.internal.codegen.js.jx.BinaryOperatorEmitter
/is using enum /DatePropertiesGetters /and in this class toUpper is
used 3 times. May be it can be changed to toUpperCase(Locale.ENGLISH)
I changed this class in my local path :
apache-royale-0.9.4-bin-js-swf\royale-compiler\compiler-jx and
compiled with maven and finished iwth ssuccess. But i am not sure how
to test new compiler :)
I need to test the compiler after rebuilding with maven
(\apache-royale-0.9.4-bin-js-swf\royale-compiler). How can i do ?
Thanks in advance.
Serkan.