From users-return-567-archive-asf-public=cust-asf.ponee.io@royale.apache.org Mon Feb 26 11:40:29 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id D109D18064A for ; Mon, 26 Feb 2018 11:40:28 +0100 (CET) Received: (qmail 56112 invoked by uid 500); 26 Feb 2018 10:40:27 -0000 Mailing-List: contact users-help@royale.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@royale.apache.org Delivered-To: mailing list users@royale.apache.org Received: (qmail 56102 invoked by uid 99); 26 Feb 2018 10:40:27 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Feb 2018 10:40:27 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 76CC7C5FA4 for ; Mon, 26 Feb 2018 10:40:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.33 X-Spam-Level: *** X-Spam-Status: No, score=3.33 tagged_above=-999 required=6.31 tests=[AC_DIV_BONANZA=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, KAM_LINEPADDING=1.2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id gzeAEnDkYUL1 for ; Mon, 26 Feb 2018 10:40:25 +0000 (UTC) Received: from mail-pl0-f46.google.com (mail-pl0-f46.google.com [209.85.160.46]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id B1F125F17D for ; Mon, 26 Feb 2018 10:40:24 +0000 (UTC) Received: by mail-pl0-f46.google.com with SMTP id v3so9031789plg.3 for ; Mon, 26 Feb 2018 02:40:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=f/TEcKqck9wvALGjrctZVfdetuJvysaGJ6epbLVY8s0=; b=P6Cb1GHYR59YlGDahrqwKC1R9J6uHf+u7uDLe8OTuNjQlocsbdfxFqx/vKcdYBkFcV S6ok6NDrT/O4WuYlJBoKgpmQd2vMgNUCqH1zsvvE+J51qDQNcvaoZtRlaFxrQoWt72Er Bg+Y25YPnRj5ytl3h2q0h2QeBOHORHbNKDtzDc0f1zovJPoPc/PkLv6fbsdGfblWVMX9 yIuQPQjK2y1u8CUWAIFEGf1AVmtqy62oSoogkmGUHh57M1zccAE9rSrJybfK+W7DHxIi IRcuVfKxl97b8MKUBLfURzQinV0DFIsfNBErFZa1ItsxB9cihoq7aI86NKWO4yB00gDh Kbdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=f/TEcKqck9wvALGjrctZVfdetuJvysaGJ6epbLVY8s0=; b=lSFABsrzqmvjNizeLpsmRrUX+wHibHPmta52cqj+KtRndYuIeaG2tKvqpFNklWT6TO /RczLz7NErCtpVBlk8RdyR+FhCMrsRtOhLqSCd6PsB9dozYjnFyJ8sEFnmi8iy4pe5tX LqW4BQqy53NGKW+jViBHIgrBT7C+Ya9Ib+l4r7sI/iSCApGx8JSiw0OSgZYBJy4/YwPz P7gGPYggh3wGe9SycdkjzMK+LzRgqaIjuyArjjLGgE1udeXoXEIxDm6RV8LR3V1jApBV b2/HLRMgMSLMbiI93JebXNGW4UvIyviHmcPKElR98Te2DgRApKgGUFdiL8vV2eebLvCK wsxw== X-Gm-Message-State: APf1xPBp7MDfNrHc26uZczqeFzPa75Q8M1qcpad07RUvfMAfvpM05kPU dr/bck4aptOuSaZXMg1s33wn8FpV3xXLvFHEvXQ= X-Google-Smtp-Source: AH8x226HFvQRnpXtYd64XoXcnhvR+CvYL38o3ZJgS7O+bCwfpNMgg10DW2NTtxp2n0l2d9QvfZH/Dt6hi8e7HMEZ8xU= X-Received: by 2002:a17:902:5a0d:: with SMTP id q13-v6mr10178633pli.152.1519641622978; Mon, 26 Feb 2018 02:40:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.100.160.138 with HTTP; Mon, 26 Feb 2018 02:40:22 -0800 (PST) In-Reply-To: <5a93e07f.04e3620a.7d92a.9cfbSMTPIN_ADDED_BROKEN@mx.google.com> References: <1519633080768-0.post@n8.nabble.com> <5a93d79f.1c69fb81.1daba.b790SMTPIN_ADDED_BROKEN@mx.google.com> <5a93e07f.04e3620a.7d92a.9cfbSMTPIN_ADDED_BROKEN@mx.google.com> From: Piotr Zarzycki Date: Mon, 26 Feb 2018 11:40:22 +0100 Message-ID: Subject: Re: library Project in Moonshine IDE To: users@royale.apache.org Content-Type: multipart/alternative; boundary="0000000000001fa44a05661b2307" --0000000000001fa44a05661b2307 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Alina, Understand now. We are mixing two different things. 1) Creating library with Apache Flex SDK usage - everything what I wrote above apply with it. 2) Request from Alex create API report using Royale compiler - (Royale SDK). - Start new thread with that attempt. Maybe in that case it would be better if you do this through the console. Your are attempting to make API report, so let's make it in the console, because this is something not usual and probably Moonshine is not prepared to do such things. I will respond to the Alex email in order to understand what is going on. We need to simple scenario and later go with the harder one. Thanks, Piotr 2018-02-26 11:12 GMT+01:00 Alina Kazi : > Hi Piotr, > > > > Sorry ! > > I am a programmer with 2 years experience. I don=E2=80=99t know much abou= t these > configurations and Settings. > > What I am trying to do is : > > 1. Compiling flex Library App with apache-flex-sdk-4.16.0 > > 2. Compiling flex Library App with royale sdk and > > > > additional config pointed to flex-config.xml due to : > > > > Hi Alina, > > > > Piotr might be better at helping you use Moonshine. The IDEs sort of > expect that the libraries/SWCs that your code needs is in the same folder > as the compiler. That's why it might be easier to work from the command > line. > > > > I remembered this morning that the Royale SWF Compiler doesn't have > embedded font support. However the goal isn't so much to make a runnable > SWF but to have the compilation and linking complete so we can determine > the full set of Flex APIs used in your app. > > > > If your code has two projects, then we will want you to compile both > projects with the Royale compiler and get two API reports. The Library > project would be compiled with js/bin/compc and the main app would be > compiled with js/bin/mxmlc. > > > > I think you will want to use the compiler option: > > -load-config=3D"path to a Flex SDK flex-config.xml" > > and also use > > =E2=80=93compiler.targets=3DSWF > > > > HTH, > > -Alex > > > > *From: *Alex Harui > *Reply-To: *"users@royale.apache.org" > *Date: *Tuesday, February 20, 2018 at 10:30 AM > *To: *"users@royale.apache.org" > *Subject: *Re: Substitutes in Apache Royale > > > > In fact, I went and tried it just now to build a Flex Hello World. > > > > I had Apache Flex 4.16.0 installed in /Users/aharui/ApacheFlex4.16.0. > Then I: > > > > - took the apache-royale-0.9.1-bin-js-swf package from [1] (you must use > the bin-js-swf and not just bin-js). > > - unzipped the package > > - ran in the package's royale-asjs folder: ant =E2=80=93f InstallAdobeSDK= s.xml > > > > That results in a working Royale SDK with SWF Support. > > > > Then I ran from the royale-asjs folder: > > > > bin/mxmlc -load-config=3D/Users/aharui/ > ApacheFlex4.16.0/frameworks/flex-config.xml > > > > The compile finished successfully. I think I'm going to work on the API > report now and deal with the * selector after. If you can get a SWF buil= d > via this technique, this is the technique you will use to generate the AP= I > report. > > > > Thanks, > > -Alex > > > > > > > > I have one more question that the Project is Flex Library Project(in > Moonshine IDE) . Can we compile it with Royale Compiler using Royale Src? > Or It will only work for Flex Source Only? > > > > > > Thanks , > > Alina > > *From:* Piotr Zarzycki [mailto:piotrzarzycki21@gmail.com] > *Sent:* Monday, February 26, 2018 2:59 PM > > *To:* users@royale.apache.org > *Subject:* Re: library Project in Moonshine IDE > > > > Alina, > > > > I don't understand in that case what are you trying to achieve. Why do yo= u > have additional config pointed to flex-config.xml. The things are working > in the following way. If you create project which is using Flex/Adobe AIR > SDK you can "say" to that project which config will be used. > > > > In your case you are seems to create Library project which you wanted to > have inside Adobe Air resources - like manipulation on Files etc. > > > > If in "Additional compiler options" you have +configname=3Dflex - it mean= s > that compiler will automatically search for flex-config.xml and will use > it. > > If in "Additional compiler options" you have +configname=3Dair - it meant= s > that compiler will automatically search air-config.xml and will use it. > > > > Probably there is no need to point directly that flex-config.xml > > > > If you raise an issue on the GitHub other Moonshine Team members will hav= e > view on that. I didn't write support for libraries. > > > > Thanks, Piotr > > > > 2018-02-26 10:34 GMT+01:00 Alina Kazi : > > Hi, > I haven't change the output path in Settings. > > Custom SDK in Setting : > Try 1. Using Apache Flex 4.16 with AIR 16.0 > > Try 2. Using Royale 0.9.0 / 0.9.1 / 0.9.2 > With Additional Compiler Settings: > -config=3DD:/apache-flex-sdk-4.16.0-bin/frameworks/flex-config.xml > > In Both cases When I build (Project->build Project ) compilation to conso= le > output is: > Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=3DUTF8 > And Default SDK Path. > > > -----Original Message----- > From: devsena [mailto:devsena@yahoo.com] > Sent: Monday, February 26, 2018 1:18 PM > To: users@royale.apache.org > Subject: Re: library Project in Moonshine IDE > > Alina Kazi wrote > > I am trying to create and build a sample flex library Project in > Moonshine > > IDE. > > No .swc output file generated and no error occurred. > > > > Settings screenshot: > > > https://www.dropbox.com/s/gz5m8f2t63x625y/libraryProjectbuildissue.png? > dl=3D0 > > Thank you for reporting this, Alina. (on a separate note, you can also > report issues to Moonshine at > https://github.com/prominic/Moonshine-IDE/issues) > > Usually Moonshine compiles the project's SWC file to its 'bin-debug' fold= er > (unless you changed the output path at project/Settings/Run). However, in > sample project run the usual output is different than yours: > > > > There is some differences I'm confused about, though - > 1. The compiler output shown in your image seems using Royale SDK but in > project's custom SDK selection you've shown its Apache Flex 4.16 with AIR > 16.0 > 2. I couldn't seen any reference of attempt compilation to console output= , > either (Project > Build Project) > > Can you share screen of your project's Settings/Paths and Settings/Run > section? > > Thanks! > > > > > -- > Sent from: http://apache-royale-users.20374.n8.nabble.com/ > > > > > > -- > > *Piotr Zarzycki * > > Patreon: *https://www.patreon.com/piotrzarzycki > * > --=20 Piotr Zarzycki Patreon: *https://www.patreon.com/piotrzarzycki * --0000000000001fa44a05661b2307 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Alina,

Understand now. We are mixing tw= o different things.=C2=A0

1) Creating library with= Apache Flex SDK usage - everything what I wrote above apply with it.
=
2) Request from Alex create API report using Royale compiler - (Royale= SDK). - Start new thread with that attempt. Maybe in that case it would be= better if you do this through the console.=C2=A0

= Your are attempting to make API report, so let's make it in the console= , because this is something not usual and probably Moonshine is not prepare= d to do such things. I will respond to the Alex email in order to understan= d what is going on. We need to simple scenario and later go with the harder= one.

Thanks, Piotr


<= /div>



2018-02-26 11:12 GMT+01:00 Alina Kazi <alina.kaz= i@d-bz.com>:

Hi Piot= r,

= =C2=A0

Sorry !=

I am a = programmer with 2 years experience. I don=E2=80=99t know much about these configuratio= ns and Settings.

What I = am trying to do is :

1. Comp= iling flex Library App with apache-flex-sdk-4.16.0

2. Comp= iling flex Library App with royale sdk and

= =C2=A0

additional config pointed to flex-config.xml due to :

= =C2=A0

Hi Alin= a,

=C2=A0<= /span>

Piotr m= ight be better at helping you use Moonshine.=C2=A0 The IDEs sort of expect that the libraries/SWCs that your code needs is in the same folder as the compiler. =C2=A0That's why it might be easier to work from the command line.

=C2=A0<= /span>

I remem= bered this morning that the Royale SWF Compiler doesn't have embedded font support= . =C2=A0However the goal isn't so much to make a runnable SWF but to have= the compilation and linking complete so we can determine the full set of Flex A= PIs used in your app.

=C2=A0<= /span>

If your= code has two projects, then we will want you to compile both projects with the Royal= e compiler and get two API reports.=C2=A0 The Library project would be compil= ed with js/bin/compc and the main app would be compiled with js/bin/mxmlc.

=C2=A0<= /span>

I think= you will want to use the compiler option:<= u>

=C2=A0 =C2=A0-load-config=3D"path to a Flex SDK flex-config.xml"=C2=A0

and als= o use

=C2=A0 =E2=80=93compiler.targets=3DSWF

=C2=A0<= /span>

HTH,

-Alex

=C2=A0

From: Alex Harui <aharui@adobe.com>
Reply-To: "users@royale.apache.org" <users@roya= le.apache.org>
Date: Tuesday, February 20, 2018 at 10:30 AM
To: "users@royale.apache.org" <users@roya= le.apache.org>
Subject: Re: Substitutes in Apache Royale

=C2=A0<= /span>

In fact= , I went and tried it just now to build a Flex Hello World.

=C2=A0<= /span>

I had A= pache Flex 4.16.0 installed in /Users/aharui/ApacheFlex4.16.0.=C2=A0 Then I:

=C2=A0<= /span>

- took = the apache-royale-0.9.1-bin-js-swf package from [1] =C2=A0(you must use the bin-js-swf and not just bin-js).<= u>

- unzip= ped the package

- ran i= n the package's royale-asjs folder: ant =E2=80=93f InstallAdobeSDKs.xml

=C2=A0<= /span>

That re= sults in a working Royale SDK with SWF Support.<= /u>

=C2=A0<= /span>

Then I = ran from the royale-asjs folder:

=C2=A0<= /span>

=C2=A0 = bin/mxmlc <path to app's .mxml file> -load-config=3D/Users/aharui/ApacheFlex4.16.0/frameworks/flex-con= fig.xml

=C2=A0<= /span>

The com= pile finished successfully.=C2=A0 I think I'm going to work on the API repor= t now and deal with the * selector after.=C2=A0 If you can get a SWF build via th= is technique, this is the technique you will use to generate the API report.

=C2=A0<= /span>

Thanks,=

-Alex

=C2=A0<= /span>

=C2=A0

=C2=A0

I have one more question = that the Project is Flex Library Project(in Moonshine IDE) . Can we compile it with Royale Compiler using Ro= yale Src? Or It will only work for Flex Source Only?

=C2=A0

=C2=A0

Thanks ,

Alina

From: Piotr Za= rzycki [mailto:piot= rzarzycki21@gmail.com]
Sent: Monday, February 26, 2018 2:59 PM


To: use= rs@royale.apache.org
Subject: Re: library Project in Moonshine IDE

=C2=A0

Alina,

=C2=A0

I don't understand in that case what are you try= ing to achieve. Why do you have additional config pointed to flex-config.xml. The things are working in the following way. If you create project which is using Flex/Adobe AIR SDK you can "say" to that project which conf= ig will be used.=C2=A0

=C2=A0

In your cas= e you are seems to create Library project which you wanted to have inside Adobe Air resources - like manipula= tion on Files etc.

=C2=A0

If in "= ;Additional compiler options" you have +configname=3Dflex - it means that compiler will automatically sea= rch for flex-config.xml and will use it.=C2=A0

If in "= ;Additional compiler options" you have +configname=3Dair - it meants that compiler will automatically sea= rch air-config.xml and will use it.=C2=A0

=C2=A0

Probably th= ere is no need to point directly that flex-config.xml

=C2=A0

If you rais= e an issue on the GitHub other Moonshine Team members will have view on that. I didn't write support f= or libraries.

=C2=A0

Thanks, Pio= tr

=C2=A0

2018-02-26 10:34 GMT+01:00 Alina Kazi <alina.kazi@d-bz.com>:=

Hi,
I haven't change the output path in Settings.

Custom SDK in Setting :
Try 1. Using Apache Flex 4.16 with AIR 16.0

Try 2. Using Royale 0.9.0 / 0.9.1 / 0.9.2
With Additional Compiler Settings:
-config=3DD:/apache-flex-sdk-4.16.0-bin/frameworks/flex-config.xm= l

In Both cases When I build (Project->build Project ) compilation to cons= ole
output is:
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=3DUTF8
And Default SDK Path.


-----Original Message-----
From: devsena [mailto:devsena@yahoo.com]
Sent: Monday, February 26, 2018 1:18 PM
To: users@roya= le.apache.org
Subject: Re: library Project in Moonshine IDE

Alina Kazi wrote
> I am trying to create and build a sample flex library Project in Moons= hine
> IDE.
> No .swc output file generated and no error occurred.
>
> Settings screenshot:
>
https://www.dropbox.com/s/gz5m8f2t63x= 625y/libraryProjectbuildissue.png?dl=3D0

Thank you for reporting this, Alina. (on a separate note, you can also
report issues to Moonshine at
https://github.com/prominic/Moonshine-IDE/issues)

Usually Moonshine compiles the project's SWC file to its 'bin-debug= ' folder
(unless you changed the output path at project/Settings/Run). However, in sample project run the usual output is different than yours:

<http://apache-royale-users.20374.n8.nabble= .com/file/t32/Untitled.png>

There is some differences I'm confused about, though -
1. The compiler output shown in your image seems using Royale SDK but in project's custom SDK selection you've shown its Apache Flex 4.16 wi= th AIR
16.0
2. I couldn't seen any reference of attempt compilation to console outp= ut,
either (Project > Build Project)

Can you share screen of your project's Settings/Paths and Settings/Run<= br> section?

Thanks!




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



=C2=A0

--

Piotr Zarzycki=C2=A0

Patreon:=C2=A0https://www.patreon.com/piotrzarzycki




--

Piotr Zarzycki=C2=A0

Patreon:=C2=A0https://www.patreon.com/p= iotrzarzycki

<= /div>
--0000000000001fa44a05661b2307--