Hello Chris,
"I know" I don't see a direct relationship either BUT, maybe it was a 
coincidence, I was working and from one compilation to another it gave me the 
error; coinciding with the daily unloading of artifacts.

Regarding what you ask me ...
For a few weeks I have been compiling the SDK with both Maven and Ant (I have a 
bat adapted from Carlos broyale.sh's script [1]) using ANT's in vsCode (so as 
not to have the spark.css compilation error? remember?).
My idea was to reuse the Maven SDK build since you fixed this point.

BUT I have to tell you, the error occurs to me regardless of the SDK I use: 
MAVEN, ANT, JENKINS and only in "library" projects, which I discovered last 
night.

Right now we are comparing the pom's to see if we see anything, but it is a 
task that costs us a lot because we have never worked with maven, ant, 
dependencies, artifacts before now ... ahahahaha FOR ME everything was 
encapsulated and managed by FlashBuilder (I am a complete illiterate with all 
this)

[1] https://gist.github.com/carlosrovira/200753108de263fa43e80d3228213509

Thank you very much for your interest and help Chris.
Hiedra

-----Mensaje original-----
De: Christofer Dutz <christofer.d...@c-ware.de> 
Enviado el: martes, 23 de febrero de 2021 10:41
Para: dev@royale.apache.org
Asunto: AW: Library compilation with asconfigc produces an error

Hmmm ... actually all changes I did recently should have only had effects on 
the Maven build SDK.

So if you are using maven to build, we should probably dig deeper, but I 
wouldn't assume that the issues are related to that work.

But reading your email in more detail ... you are building the distribution 
with maven and using it in VSCode or alike?

Chris

-----Ursprüngliche Nachricht-----
Von: Maria Jose Esteve <mjest...@iest.com> 
Gesendet: Dienstag, 23. Februar 2021 10:01
An: dev@royale.apache.org
Betreff: Library compilation with asconfigc produces an error

Hello, let's see if someone can give me a clue ...
I always compile my app projects and libraries with mvn.
In the last few days, with all this from the sdk, I am getting a very strange 
error when compiling my libraries ... it does not recognize the tag "<fx: 
Array>".
I wanted to do a test: compile with asconfigc but I get a different error:

> Executing task in folder royale-library: asconfigc 
> --sdk=D:\Apache\apache-royale-0.9.8-maven <

args:
+royalelib=D:\Apache\apache-royale-0.9.8-maven\frameworks
+configname=royale
--debug=true
--targets=JSRoyale
--source-path+=src/main/royale
--include-namespaces+=library://ns.mjesteve.com/royalecharting/library
--namespace+=library://ns.mjesteve.com/royalecharting/library,src/main/resources/library-manifest.xml
--include-classes=LibraryClasses.as
--include-sources+=src/main/royale
--library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
--js-library-path+=${royalelib}/js/libs/MXRoyaleJS.swc
--define+=COMPILE::JS,true
--define+=COMPILE::SWF,false
--source-map=true
--output=target/royale-library-1.0-SNAPSHOT-js.swc
-remove-circulars
-js-output-optimization=skipAsCoercions
target:JSRoyale
COMPCJSCRoyale
Could not find source for class LibraryClasses.as.

This is my asconfig.json file:

 {
    "config": "royale",
    "type": "lib",
    "compilerOptions": {
        "debug": true,
        "targets": [
            "JSRoyale"
        ],
        "source-path": [
            "src/main/royale"
        ],
        "include-namespaces": [
            "library://ns.mjesteve.com/royalecharting/library"
        ],
        "namespace": [
            {
                "uri": "library://ns.mjesteve.com/royalecharting/library",
                "manifest": "src/main/resources/library-manifest.xml"
            }
        ],
        "include-classes": [
            "LibraryClasses.as"
        ],
        "include-sources": [
            "src/main/royale"
        ],
        "library-path": [
            "${royalelib}/js/libs/MXRoyaleJS.swc"
        ],
        "js-library-path": [
            "${royalelib}/js/libs/MXRoyaleJS.swc"
        ],
        "define": [
            {
                "name": "COMPILE::JS",
                "value": true
            },
            {
                "name": "COMPILE::SWF",
                "value": false
            }
        ],
        "source-map": true,
        "output": "target/royale-library-1.0-SNAPSHOT-js.swc"
    }
}

Any clues to the "Could not find source for class LibraryClasses.as" error?

Thank you all.
Hiedra

Reply via email to