Hi all,

I just had a check and indeed the current settings only copy the resources to 
the release directory and not the debug.

So I fixed this by copying them to the js-debug instead and adding the 
maven-resources-plugin to copy all themes from debug to release … with this fix 
it should all work now.
If you update, it should work in debug too.

Please give it a try.

Chris


Von: Carlos Rovira <[email protected]>
Datum: Mittwoch, 21. Oktober 2020 um 16:53
An: "[email protected]" <[email protected]>, Christofer Dutz 
<[email protected]>
Betreff: Re: If I debug build Tour de Jewel with maven, the build will succeed. 
However, when I change the theme, I get error.

Hi,

so you are using a nightly JS/SWF build, and TDJ is building and running ok, 
until you try to switch to other theme at runtime with the dropdowns menus 
right?
And that's because you don't get the themes/folder copied
But since you're using maven (the same as I use), part of the pom.xml is 
copying the themes to that location
So I don't know what could be happen...I'm trying to check what could be but 
I'm run out of ideas.

Maybe @Christofer Dutz<mailto:[email protected]> could have some idea 
about this?

Sorry...

El mié., 21 oct. 2020 a las 12:36, taromae 
(<[email protected]<mailto:[email protected]>>) escribió:
Hello, Carlos

I'm sorry.

I'm not sure if the content is sufficient, but I'll enumerate it.

1 Sources
[apache-royale-0.9.8-bin-js-swf]
royale-asjs/examples/jewel/TourDeJewel/src

2 Build command
mvn clear install -DskipTests

3 target pom.xml
[apache-royale-0.9.8-bin-js-swf]
royale-asjs/examples/jewel/TourDeJewel/pom.xml

4 phenomenon
The folder after the debug build and the folder after the release build are
different
royale-asjs/examples/jewel/TourDeJewel/target/javascript/bin/js-debug/assets
not have themes folder

5 The problem I want to solve
I want to know if I can solve it by setting pom.xml even if I copy it
manually now.


Environment
Windows10
Maven 3.6.0
java version "1.8.0_201"



thank you,

Yushiro



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/


--
Carlos Rovira
Apache Member & Apache Royale PMC
Apache Software Foundation
http://about.me/carlosrovira

Reply via email to