You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@royale.apache.org by taromae <ro...@gmail.com> on 2020/10/21 09:22:39 UTC

If I debug build Tour de Jewel with maven, the build will succeed. However, when I change the theme, I get error.

Hello

If I debug build Tour de Jewel with maven, the build will succeed.
However, when I change the theme, I get the following error.

Refused to apply style from
'http://127.0.0.1:5500/target/javascript/bin/js-debug/assets/themes/Jewel-Light-NoFlat-Secondary-Blue-Theme/defaults.css'
because its MIME type ('text/html') is not a supported stylesheet MIME type,
and strict MIME checking is enabled.



(royale-asjs/examples/jewel/TourDeJewel)

The reason is that assets/*themes* folder don't seem to be copied.

it's likely to be created in release build.

Thank you,

Yushiro



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

Re: If I debug build Tour de Jewel with maven, the build will succeed. However, when I change the theme, I get error.

Posted by Piotr Zarzycki <pi...@gmail.com>.
I'm not sure what do you mean Chris here. I don't have time to do more than
raise Jira issue and in my opinion it should be enough :)

czw., 22 paź 2020 o 09:04 Christofer Dutz <ch...@c-ware.de>
napisał(a):

> Hi Piotr,
>
>
>
> I’ll take over regarding that zombie build … I know some of the Infra
> folks and usually they do direct you to the official path, but sometimes a
> bit of gentle persuasion also helps.
>
>
>
> Chris
>
>
>
>
>
> *Von: *Piotr Zarzycki <pi...@gmail.com>
> *Antworten an: *"users@royale.apache.org" <us...@royale.apache.org>
> *Datum: *Mittwoch, 21. Oktober 2020 um 17:40
> *An: *"users@royale.apache.org" <us...@royale.apache.org>
> *Betreff: *Re: If I debug build Tour de Jewel with maven, the build will
> succeed. However, when I change the theme, I get error.
>
>
>
> Right now our Maven build is not working again :( We are waiting for fix
> from infra again.
>
>
>
> śr., 21 paź 2020 o 17:23 Christofer Dutz <ch...@c-ware.de>
> napisał(a):
>
> 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 <ca...@apache.org>
> *Datum: *Mittwoch, 21. Oktober 2020 um 16:53
> *An: *"users@royale.apache.org" <us...@royale.apache.org>, Christofer
> Dutz <ch...@c-ware.de>
> *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 <ch...@c-ware.de> could have some idea
> about this?
>
>
>
> Sorry...
>
>
>
> El mié., 21 oct. 2020 a las 12:36, taromae (<ro...@gmail.com>)
> 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
>
>
>
>
>
>
> --
>
> *Piotr Zarzycki *
>


-- 

Piotr Zarzycki

Re: If I debug build Tour de Jewel with maven, the build will succeed. However, when I change the theme, I get error.

Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Piotr,

I’ll take over regarding that zombie build … I know some of the Infra folks and usually they do direct you to the official path, but sometimes a bit of gentle persuasion also helps.

Chris


Von: Piotr Zarzycki <pi...@gmail.com>
Antworten an: "users@royale.apache.org" <us...@royale.apache.org>
Datum: Mittwoch, 21. Oktober 2020 um 17:40
An: "users@royale.apache.org" <us...@royale.apache.org>
Betreff: Re: If I debug build Tour de Jewel with maven, the build will succeed. However, when I change the theme, I get error.

Right now our Maven build is not working again :( We are waiting for fix from infra again.

śr., 21 paź 2020 o 17:23 Christofer Dutz <ch...@c-ware.de>> napisał(a):
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 <ca...@apache.org>>
Datum: Mittwoch, 21. Oktober 2020 um 16:53
An: "users@royale.apache.org<ma...@royale.apache.org>" <us...@royale.apache.org>>, Christofer Dutz <ch...@c-ware.de>>
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<ma...@c-ware.de> could have some idea about this?

Sorry...

El mié., 21 oct. 2020 a las 12:36, taromae (<ro...@gmail.com>>) 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



--

Piotr Zarzycki

Re: If I debug build Tour de Jewel with maven, the build will succeed. However, when I change the theme, I get error.

Posted by Piotr Zarzycki <pi...@gmail.com>.
Right now our Maven build is not working again :( We are waiting for fix
from infra again.

śr., 21 paź 2020 o 17:23 Christofer Dutz <ch...@c-ware.de>
napisał(a):

> 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 <ca...@apache.org>
> *Datum: *Mittwoch, 21. Oktober 2020 um 16:53
> *An: *"users@royale.apache.org" <us...@royale.apache.org>, Christofer
> Dutz <ch...@c-ware.de>
> *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 <ch...@c-ware.de> could have some idea
> about this?
>
>
>
> Sorry...
>
>
>
> El mié., 21 oct. 2020 a las 12:36, taromae (<ro...@gmail.com>)
> 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
>
>
>


-- 

Piotr Zarzycki

Re: If I debug build Tour de Jewel with maven, the build will succeed. However, when I change the theme, I get error.

Posted by taromae <ro...@gmail.com>.
Hello, Christofer 

I'm sorry, it was my misunderstanding.
Please, forget about it.

Apparently, when I use Nabble-mail, certain EmailAddress destinations appear
as hiddenMail.

And the 2016 MavenTraining presentation was uploaded to the site.
https://apache.github.io/royale-docs/presentations/presentations.html

I'd like to study.

Tahnk you.

Yushiro



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

Re: If I debug build Tour de Jewel with maven, the build will succeed. However, when I change the theme, I get error.

Posted by Christofer Dutz <ch...@c-ware.de>.
Hi Yushiro,

not sure which hidden email you are referring to?

Chris


Am 22.10.20, 09:28 schrieb "taromae" <ro...@gmail.com>:

    Hello, Carlos, Christofer, Piotr

    Excellent!

    I'm getting the latest one and it worked.
    That's exactly what I wanted to do.

    The point is to use the Maven plug-in to copy the file that was created
    earlier.
    I thought it would be difficult to make two output destinations.

    Thank you for your cooperation.

    I'm going to know one last thing.
     What is this hidden e-mail?
    What is different from a reply?
    It would be helpful if you could tell me if you don't mind.

    Yushiro



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


Re: If I debug build Tour de Jewel with maven, the build will succeed. However, when I change the theme, I get error.

Posted by taromae <ro...@gmail.com>.
Hello, Carlos, Christofer, Piotr

Excellent!

I'm getting the latest one and it worked.
That's exactly what I wanted to do.

The point is to use the Maven plug-in to copy the file that was created
earlier.
I thought it would be difficult to make two output destinations.

Thank you for your cooperation.

I'm going to know one last thing.
 What is this hidden e-mail?
What is different from a reply?
It would be helpful if you could tell me if you don't mind.

Yushiro



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

Re: If I debug build Tour de Jewel with maven, the build will succeed. However, when I change the theme, I get error.

Posted by Christofer Dutz <ch...@c-ware.de>.
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 <ca...@apache.org>
Datum: Mittwoch, 21. Oktober 2020 um 16:53
An: "users@royale.apache.org" <us...@royale.apache.org>, Christofer Dutz <ch...@c-ware.de>
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<ma...@c-ware.de> could have some idea about this?

Sorry...

El mié., 21 oct. 2020 a las 12:36, taromae (<ro...@gmail.com>>) 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


Re: If I debug build Tour de Jewel with maven, the build will succeed. However, when I change the theme, I get error.

Posted by Carlos Rovira <ca...@apache.org>.
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 <ch...@c-ware.de> could have some idea
about this?

Sorry...

El mié., 21 oct. 2020 a las 12:36, taromae (<ro...@gmail.com>)
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

Re: If I debug build Tour de Jewel with maven, the build will succeed. However, when I change the theme, I get error.

Posted by taromae <ro...@gmail.com>.
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/

Re: If I debug build Tour de Jewel with maven, the build will succeed. However, when I change the theme, I get error.

Posted by Carlos Rovira <ca...@apache.org>.
Hi Yushiro,

is important to provide info about how you are building. we can't know if
is maven, ant, using SDK...
so can't help you without providing sufficient information.
thanks

El mié., 21 oct. 2020 a las 11:22, taromae (<ro...@gmail.com>)
escribió:

> Hello
>
> If I debug build Tour de Jewel with maven, the build will succeed.
> However, when I change the theme, I get the following error.
>
> Refused to apply style from
> '
> http://127.0.0.1:5500/target/javascript/bin/js-debug/assets/themes/Jewel-Light-NoFlat-Secondary-Blue-Theme/defaults.css
> '
> because its MIME type ('text/html') is not a supported stylesheet MIME
> type,
> and strict MIME checking is enabled.
>
>
>
> (royale-asjs/examples/jewel/TourDeJewel)
>
> The reason is that assets/*themes* folder don't seem to be copied.
>
> it's likely to be created in release build.
>
> 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