Hi,

I found a strange issue trying to build a library: SWC-JS.

If I clean the bin folder, I can't build again.
But if I copy a very small SWC (builded with with a very small project that
targets to SWF + JSRoyale) to the bin folder, I can build the first time
and on the second time is create a .swc.new with ZIPException error.

This is my asconfig.json:
{
"config": "royale",
"type": "lib",
"compilerOptions": {
"source-map": true,
"targets": [
"JSRoyale"
],
"source-path": [
"src"
],
"include-sources": [
"src"
],
"include-namespaces": [
"library://ns.apache.org/royale/community"
],
"output": "bin/RoyaleFramework.swc",
"library-path": [
"${royalelib}/libs"
],
"js-library-path": [
"${royalelib}/js/libs"
]
}
}

Workaround:
Copy a swc to the bin folder to fill with the compiled content.
Works only for the first time.

Desired:
Compile even with the bin folder empty and with targets only for JSRoyale.

Reply via email to