Hi Piotr, I don't think that change was right. I think both the SWF SWC and the JS SWC need to run both targets. The SWF target builds the library.swf that is used in downstream compiles, and the JSFlex target generates the JS files for the SWC.
If you only want a JS SWC, I think you set skipAS=true in the POM similar to how many POM files set skipExtern. HTH, -Alex On 7/7/17, 3:32 PM, "piotrz" <piotrzarzyck...@gmail.com> wrote: >Hi, > >Some time ago I was trying to make build of PureMVC framework. I did >create >successfully pom and today I noticed that my build producing only -js type >swc. Whole project you can find here [1] > >I just commit my very first fix to maven-plugin - thanks to that I can >configure compiler.targets for builds where there are produced swc only. > >If I set in my pom following combination I got >"FlexJSPureMVC-0.1.0-SNAPSHOT-swf.swc" - js compilation is skipped: > ><targets>SWF</targets> ><skipJS>true</skipJS> > >If I set in pom, I'm getting an error [2] > ><targets>JSFlex</targets> ><skipAS>true</skipAS> > >I've tried analyze the code farther but I don't see any obvious thing. If >someone could take a look - maybe it's not the problem in maven plugin. > >[1] >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgoo.gl%2F >TZwiQ3&data=02%7C01%7C%7Cc1efd7d787654f5a44af08d4c58ab6d8%7Cfa7b1b5a7b3443 >8794aed2c178decee1%7C0%7C0%7C636350646946533950&sdata=Dz3Q%2FndXjqeSMN%2Bu >ZFg81PZXyaYf4vFz8IvUQHkBAYU%3D&reserved=0 >[2] >https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpaste.apa >che.org%2FiBNm&data=02%7C01%7C%7Cc1efd7d787654f5a44af08d4c58ab6d8%7Cfa7b1b >5a7b34438794aed2c178decee1%7C0%7C0%7C636350646946533950&sdata=ZIYQaMuWp%2B >p7OtSVHWKj7ZprMw0t62CSTTQ%2BQbJi%2BNM%3D&reserved=0 > >Thanks, >Piotr > > > >----- >Apache Flex PMC >piotrzarzyck...@gmail.com >-- >View this message in context: >https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle >x-development.2333347.n4.nabble.com%2FFlexJS-Maven-Building-swc-library-an >d-problems-with-compiler-targets-tp62949.html&data=02%7C01%7C%7Cc1efd7d787 >654f5a44af08d4c58ab6d8%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636350 >646946533950&sdata=oEpyZbK8ehRFS4y%2FH48hJtYmWPZIEZL6gdGk7tIAV0k%3D&reserv >ed=0 >Sent from the Apache Flex Development mailing list archive at Nabble.com.