You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2018/09/03 18:23:47 UTC

[royale-asjs] branch feature/new_merge updated: Fixed asconfigc on JewelExample

This is an automated email from the ASF dual-hosted git repository.

harbs pushed a commit to branch feature/new_merge
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/feature/new_merge by this push:
     new e41adca  Fixed asconfigc on JewelExample
e41adca is described below

commit e41adca4714b350d61cea961aadac3bdb492aecc
Author: Harbs <ha...@in-tools.com>
AuthorDate: Mon Sep 3 21:23:37 2018 +0300

    Fixed asconfigc on JewelExample
---
 examples/royale/JewelExample/asconfig.json | 26 +++-----------------------
 1 file changed, 3 insertions(+), 23 deletions(-)

diff --git a/examples/royale/JewelExample/asconfig.json b/examples/royale/JewelExample/asconfig.json
index bae08c2..a13ec1f 100644
--- a/examples/royale/JewelExample/asconfig.json
+++ b/examples/royale/JewelExample/asconfig.json
@@ -1,30 +1,10 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
 {
     "config": "royale",
     "compilerOptions": {
         "debug": false,
-        "targets": [
-            "SWF", 
-            "JSRoyale"
-        ],
-        "source-map": true
+        "targets": ["JSRoyale"],
+        "html-template": "src/main/resources/jewel-example-index-template.html",
+        "theme": "${royalelib}/themes/JewelTheme/src/main/resources/defaults.css"
     },
     "additionalOptions": "-remove-circulars -js-output-optimization=skipAsCoercions",
     "files":


Re: [royale-asjs] branch feature/new_merge updated: Fixed asconfigc on JewelExample

Posted by Carlos Rovira <ca...@apache.org>.
Hi,
I tried to fix Jewel library asconfig to work with build maven distribution
to get code intelligence.
I get JewelExample working ok, but instead Jewel has a problem with SWF
target. I opened an issue with Josh.
This was the reason I modified the tokens in some distribution xml
I suppose you get VSCode with AS3 extension running ok, even for libs? are
Jewel library working ok for you guys?
If so, let me know since my problems is that Royale classes are recognized
ok, but Flash classes are not.
And I have playerglobal.swc (20.0) deployed in the right folder (the one
tokens was setting up)

Thanks

El lun., 3 sept. 2018 a las 20:25, Piotr Zarzycki (<
piotrzarzycki21@gmail.com>) escribió:

> Wonderful! <3 :) Thank you!
>
> pon., 3 wrz 2018 o 20:23 <ha...@apache.org> napisał(a):
>
> > This is an automated email from the ASF dual-hosted git repository.
> >
> > harbs pushed a commit to branch feature/new_merge
> > in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
> >
> >
> > The following commit(s) were added to refs/heads/feature/new_merge by
> this
> > push:
> >      new e41adca  Fixed asconfigc on JewelExample
> > e41adca is described below
> >
> > commit e41adca4714b350d61cea961aadac3bdb492aecc
> > Author: Harbs <ha...@in-tools.com>
> > AuthorDate: Mon Sep 3 21:23:37 2018 +0300
> >
> >     Fixed asconfigc on JewelExample
> > ---
> >  examples/royale/JewelExample/asconfig.json | 26
> +++-----------------------
> >  1 file changed, 3 insertions(+), 23 deletions(-)
> >
> > diff --git a/examples/royale/JewelExample/asconfig.json
> > b/examples/royale/JewelExample/asconfig.json
> > index bae08c2..a13ec1f 100644
> > --- a/examples/royale/JewelExample/asconfig.json
> > +++ b/examples/royale/JewelExample/asconfig.json
> > @@ -1,30 +1,10 @@
> >
> >
> -////////////////////////////////////////////////////////////////////////////////
> > -//
> > -//  Licensed to the Apache Software Foundation (ASF) under one or more
> > -//  contributor license agreements.  See the NOTICE file distributed
> with
> > -//  this work for additional information regarding copyright ownership.
> > -//  The ASF licenses this file to You under the Apache License, Version
> > 2.0
> > -//  (the "License"); you may not use this file except in compliance with
> > -//  the License.  You may obtain a copy of the License at
> > -//
> > -//      http://www.apache.org/licenses/LICENSE-2.0
> > -//
> > -//  Unless required by applicable law or agreed to in writing, software
> > -//  distributed under the License is distributed on an "AS IS" BASIS,
> > -//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
> > implied.
> > -//  See the License for the specific language governing permissions and
> > -//  limitations under the License.
> > -//
> >
> >
> -////////////////////////////////////////////////////////////////////////////////
> >  {
> >      "config": "royale",
> >      "compilerOptions": {
> >          "debug": false,
> > -        "targets": [
> > -            "SWF",
> > -            "JSRoyale"
> > -        ],
> > -        "source-map": true
> > +        "targets": ["JSRoyale"],
> > +        "html-template":
> > "src/main/resources/jewel-example-index-template.html",
> > +        "theme":
> > "${royalelib}/themes/JewelTheme/src/main/resources/defaults.css"
> >      },
> >      "additionalOptions": "-remove-circulars
> > -js-output-optimization=skipAsCoercions",
> >      "files":
> >
> >
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Re: [royale-asjs] branch feature/new_merge updated: Fixed asconfigc on JewelExample

Posted by Piotr Zarzycki <pi...@gmail.com>.
Wonderful! <3 :) Thank you!

pon., 3 wrz 2018 o 20:23 <ha...@apache.org> napisał(a):

> This is an automated email from the ASF dual-hosted git repository.
>
> harbs pushed a commit to branch feature/new_merge
> in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
>
>
> The following commit(s) were added to refs/heads/feature/new_merge by this
> push:
>      new e41adca  Fixed asconfigc on JewelExample
> e41adca is described below
>
> commit e41adca4714b350d61cea961aadac3bdb492aecc
> Author: Harbs <ha...@in-tools.com>
> AuthorDate: Mon Sep 3 21:23:37 2018 +0300
>
>     Fixed asconfigc on JewelExample
> ---
>  examples/royale/JewelExample/asconfig.json | 26 +++-----------------------
>  1 file changed, 3 insertions(+), 23 deletions(-)
>
> diff --git a/examples/royale/JewelExample/asconfig.json
> b/examples/royale/JewelExample/asconfig.json
> index bae08c2..a13ec1f 100644
> --- a/examples/royale/JewelExample/asconfig.json
> +++ b/examples/royale/JewelExample/asconfig.json
> @@ -1,30 +1,10 @@
>
> -////////////////////////////////////////////////////////////////////////////////
> -//
> -//  Licensed to the Apache Software Foundation (ASF) under one or more
> -//  contributor license agreements.  See the NOTICE file distributed with
> -//  this work for additional information regarding copyright ownership.
> -//  The ASF licenses this file to You under the Apache License, Version
> 2.0
> -//  (the "License"); you may not use this file except in compliance with
> -//  the License.  You may obtain a copy of the License at
> -//
> -//      http://www.apache.org/licenses/LICENSE-2.0
> -//
> -//  Unless required by applicable law or agreed to in writing, software
> -//  distributed under the License is distributed on an "AS IS" BASIS,
> -//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
> implied.
> -//  See the License for the specific language governing permissions and
> -//  limitations under the License.
> -//
>
> -////////////////////////////////////////////////////////////////////////////////
>  {
>      "config": "royale",
>      "compilerOptions": {
>          "debug": false,
> -        "targets": [
> -            "SWF",
> -            "JSRoyale"
> -        ],
> -        "source-map": true
> +        "targets": ["JSRoyale"],
> +        "html-template":
> "src/main/resources/jewel-example-index-template.html",
> +        "theme":
> "${royalelib}/themes/JewelTheme/src/main/resources/defaults.css"
>      },
>      "additionalOptions": "-remove-circulars
> -js-output-optimization=skipAsCoercions",
>      "files":
>
>

-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*