Re: Fixing Maven Distribution

2020-01-16 Thread Piotr Zarzycki
I would definitely go with Alex's suggestion.

On Thu, Jan 16, 2020, 7:07 PM Alex Harui  wrote:

> I'm not really paying much attention to this thread so apologies if I am
> off-topic, but remember that we have reproducible binaries in Royale these
> days, so it should be possible to run a diff on an Ant folder vs a Maven
> distribution folder and see the differences (assuming you set the
> compilation flags correctly).
>
> HTH,
> -Alex
>
> On 1/16/20, 2:42 AM, "Piotr Zarzycki"  wrote:
>
> Try with Nightly Build of Moonshine to setup that sdk and create Hello
> World.
>
> czw., 16 sty 2020 o 11:41 Piotr Zarzycki 
> napisał(a):
>
> > This is not an VSCode issue I believe. It's something wrong with SDK
> in my
> > opinion.
> >
> > czw., 16 sty 2020 o 10:19 Carlos Rovira 
> > napisał(a):
> >
> >> Hi Piotr,
> >>
> >> thanks. I open TDJ in VSCode and build with Run Task > "build with
> >> asconfigc"
> >>
> >> This outputs:
> >>
> >> 
> >> > Executing task: asconfigc
> >> --sdk=/Users/carlosrovira/Dev/Royale/Source/royale-asjs <
> >>
> >> Configuration options in asconfig.json require Apache Royale. Path
> to SDK
> >> is not valid: /Users/carlosrovira/Dev/Royale/Source/royale-asjs
> >> El proceso del terminal finalizó con el código de salida: 1
> >>
> >> Las tareas reutilizarán el terminal, presione cualquier tecla para
> >> cerrarlo.
> >> 
> >>
> >> But my maven sdk is in
> >>
> >> {
> >> "as3mxml.sdk.framework":
> >> "/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven"
> >> }
> >>
> >> (this is my configuration from .vscode/settings.json)
> >>
> >> So maybe could be an IDE issue? seems like VSCode is not taking
> right SDK
> >> from settings.xml, and don't know where is getting the old path (
> >> --sdk=/Users/carlosrovira/Dev/Royale/Source/royale-asjs )
> >>
> >> Maybe Josh could give some light here.
> >>
> >> Thanks
> >>
> >> Carlos
> >>
> >>
> >> El jue., 16 ene. 2020 a las 7:23, Piotr Zarzycki (<
> >> piotrzarzyck...@gmail.com>)
> >> escribió:
> >>
> >> > Hi Carlos,
> >> >
> >> > I was talking about most common user scenario, where user open the
> >> project
> >> > and hit Build. - Project is being build using SDK without Maven
> or Ant
> >> > stuff. In order to test what I'm talking about:
> >> >
> >> > Open TourDeJewel (using asconfig.json which is part of the
> example - not
> >> > your custom Maven oriented etc.) and choose Terminal -> Run
> Task...
> >> VSCode
> >> > behind the stage run in console command which is building your
> project,
> >> > based on instructions from asconfig.json. - I bet it will fail
> with SDK
> >> > prepared with Maven.
> >> >
> >> > Thanks,
> >> > Piotr
> >> >
> >> >
> >> > śr., 15 sty 2020 o 23:50 Carlos Rovira 
> >> > napisał(a):
> >> >
> >> > > Hi Piotr,
> >> > >
> >> > > Finally I get some time to get over this issue.
> >> > > I was trying to see what we need to fix maven distribution.
> >> > > I run
> >> > >
> >> > > mvn install -P option-with-swf,with-distribution
> >> > >
> >> > > I get royale-asjs/distribution/target/...
> >> > >
> >> > > and inside I have the Royale Maven SDK generated.
> >> > >
> >> > > Then I copied to my SDKs folder and unpacked it, and point my
> IDE to
> >> it.
> >> > >
> >> > > As you reported recently, I have code intelligence working. So
> it
> >> seems
> >> > the
> >> > > SDK is well formed
> >> > >
> >> > > At this point, since my workflow is "maven driven". I have all
> ok,
> >> since
> >> > my
> >> > > IDE build command run "mvn install", and the I click my button
> for
> >> > running
> >> > > in a browser.
> >> > > So far so good :)
> >> > >
> >> > > I remember you said the SDK was not valid since it was not able
> to run
> >> > from
> >> > > IDE. I'm trying to understand what's the problem. Can you
> elaborate
> >> over
> >> > > that?
> >> > >
> >> > > Thanks
> >> > >
> >> > >
> >> > > --
> >> > > Carlos Rovira
> >> > >
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosroviradata=02%7C01%7Caharui%40adobe.com%7Ceb59c8526d4c4b9db8bd08d79a70c4dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637147681443465770sdata=lSLUJJxXhZnrSxDyqH%2F3OY8ufiCDQrQ0lF8KDvzWXWw%3Dreserved=0
> >> > >
> >> >
> >> >
> >> > --
> >> >
> >> > Piotr Zarzycki
> >> >
> >> > Patreon: *
> 

Re: Fixing Maven Distribution

2020-01-16 Thread Alex Harui
I'm not really paying much attention to this thread so apologies if I am 
off-topic, but remember that we have reproducible binaries in Royale these 
days, so it should be possible to run a diff on an Ant folder vs a Maven 
distribution folder and see the differences (assuming you set the compilation 
flags correctly).

HTH,
-Alex

On 1/16/20, 2:42 AM, "Piotr Zarzycki"  wrote:

Try with Nightly Build of Moonshine to setup that sdk and create Hello
World.

czw., 16 sty 2020 o 11:41 Piotr Zarzycki 
napisał(a):

> This is not an VSCode issue I believe. It's something wrong with SDK in my
> opinion.
>
> czw., 16 sty 2020 o 10:19 Carlos Rovira 
> napisał(a):
>
>> Hi Piotr,
>>
>> thanks. I open TDJ in VSCode and build with Run Task > "build with
>> asconfigc"
>>
>> This outputs:
>>
>> 
>> > Executing task: asconfigc
>> --sdk=/Users/carlosrovira/Dev/Royale/Source/royale-asjs <
>>
>> Configuration options in asconfig.json require Apache Royale. Path to SDK
>> is not valid: /Users/carlosrovira/Dev/Royale/Source/royale-asjs
>> El proceso del terminal finalizó con el código de salida: 1
>>
>> Las tareas reutilizarán el terminal, presione cualquier tecla para
>> cerrarlo.
>> 
>>
>> But my maven sdk is in
>>
>> {
>> "as3mxml.sdk.framework":
>> "/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven"
>> }
>>
>> (this is my configuration from .vscode/settings.json)
>>
>> So maybe could be an IDE issue? seems like VSCode is not taking right SDK
>> from settings.xml, and don't know where is getting the old path (
>> --sdk=/Users/carlosrovira/Dev/Royale/Source/royale-asjs )
>>
>> Maybe Josh could give some light here.
>>
>> Thanks
>>
>> Carlos
>>
>>
>> El jue., 16 ene. 2020 a las 7:23, Piotr Zarzycki (<
>> piotrzarzyck...@gmail.com>)
>> escribió:
>>
>> > Hi Carlos,
>> >
>> > I was talking about most common user scenario, where user open the
>> project
>> > and hit Build. - Project is being build using SDK without Maven or Ant
>> > stuff. In order to test what I'm talking about:
>> >
>> > Open TourDeJewel (using asconfig.json which is part of the example - 
not
>> > your custom Maven oriented etc.) and choose Terminal -> Run Task...
>> VSCode
>> > behind the stage run in console command which is building your project,
>> > based on instructions from asconfig.json. - I bet it will fail with SDK
>> > prepared with Maven.
>> >
>> > Thanks,
>> > Piotr
>> >
>> >
>> > śr., 15 sty 2020 o 23:50 Carlos Rovira 
>> > napisał(a):
>> >
>> > > Hi Piotr,
>> > >
>> > > Finally I get some time to get over this issue.
>> > > I was trying to see what we need to fix maven distribution.
>> > > I run
>> > >
>> > > mvn install -P option-with-swf,with-distribution
>> > >
>> > > I get royale-asjs/distribution/target/...
>> > >
>> > > and inside I have the Royale Maven SDK generated.
>> > >
>> > > Then I copied to my SDKs folder and unpacked it, and point my IDE to
>> it.
>> > >
>> > > As you reported recently, I have code intelligence working. So it
>> seems
>> > the
>> > > SDK is well formed
>> > >
>> > > At this point, since my workflow is "maven driven". I have all ok,
>> since
>> > my
>> > > IDE build command run "mvn install", and the I click my button for
>> > running
>> > > in a browser.
>> > > So far so good :)
>> > >
>> > > I remember you said the SDK was not valid since it was not able to 
run
>> > from
>> > > IDE. I'm trying to understand what's the problem. Can you elaborate
>> over
>> > > that?
>> > >
>> > > Thanks
>> > >
>> > >
>> > > --
>> > > Carlos Rovira
>> > > 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosroviradata=02%7C01%7Caharui%40adobe.com%7Ceb59c8526d4c4b9db8bd08d79a70c4dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637147681443465770sdata=lSLUJJxXhZnrSxDyqH%2F3OY8ufiCDQrQ0lF8KDvzWXWw%3Dreserved=0
>> > >
>> >
>> >
>> > --
>> >
>> > Piotr Zarzycki
>> >
>> > Patreon: 
*https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzyckidata=02%7C01%7Caharui%40adobe.com%7Ceb59c8526d4c4b9db8bd08d79a70c4dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637147681443465770sdata=DPG8uvu%2FEzN5TN47talQNaAuLKvrM%2FK3whayKs5GBLI%3Dreserved=0
>> > 
*
>> 

Re: Fixing Maven Distribution

2020-01-16 Thread Piotr Zarzycki
This is not an VSCode issue I believe. It's something wrong with SDK in my
opinion.

czw., 16 sty 2020 o 10:19 Carlos Rovira 
napisał(a):

> Hi Piotr,
>
> thanks. I open TDJ in VSCode and build with Run Task > "build with
> asconfigc"
>
> This outputs:
>
> 
> > Executing task: asconfigc
> --sdk=/Users/carlosrovira/Dev/Royale/Source/royale-asjs <
>
> Configuration options in asconfig.json require Apache Royale. Path to SDK
> is not valid: /Users/carlosrovira/Dev/Royale/Source/royale-asjs
> El proceso del terminal finalizó con el código de salida: 1
>
> Las tareas reutilizarán el terminal, presione cualquier tecla para
> cerrarlo.
> 
>
> But my maven sdk is in
>
> {
> "as3mxml.sdk.framework":
> "/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven"
> }
>
> (this is my configuration from .vscode/settings.json)
>
> So maybe could be an IDE issue? seems like VSCode is not taking right SDK
> from settings.xml, and don't know where is getting the old path (
> --sdk=/Users/carlosrovira/Dev/Royale/Source/royale-asjs )
>
> Maybe Josh could give some light here.
>
> Thanks
>
> Carlos
>
>
> El jue., 16 ene. 2020 a las 7:23, Piotr Zarzycki (<
> piotrzarzyck...@gmail.com>)
> escribió:
>
> > Hi Carlos,
> >
> > I was talking about most common user scenario, where user open the
> project
> > and hit Build. - Project is being build using SDK without Maven or Ant
> > stuff. In order to test what I'm talking about:
> >
> > Open TourDeJewel (using asconfig.json which is part of the example - not
> > your custom Maven oriented etc.) and choose Terminal -> Run Task...
> VSCode
> > behind the stage run in console command which is building your project,
> > based on instructions from asconfig.json. - I bet it will fail with SDK
> > prepared with Maven.
> >
> > Thanks,
> > Piotr
> >
> >
> > śr., 15 sty 2020 o 23:50 Carlos Rovira 
> > napisał(a):
> >
> > > Hi Piotr,
> > >
> > > Finally I get some time to get over this issue.
> > > I was trying to see what we need to fix maven distribution.
> > > I run
> > >
> > > mvn install -P option-with-swf,with-distribution
> > >
> > > I get royale-asjs/distribution/target/...
> > >
> > > and inside I have the Royale Maven SDK generated.
> > >
> > > Then I copied to my SDKs folder and unpacked it, and point my IDE to
> it.
> > >
> > > As you reported recently, I have code intelligence working. So it seems
> > the
> > > SDK is well formed
> > >
> > > At this point, since my workflow is "maven driven". I have all ok,
> since
> > my
> > > IDE build command run "mvn install", and the I click my button for
> > running
> > > in a browser.
> > > So far so good :)
> > >
> > > I remember you said the SDK was not valid since it was not able to run
> > from
> > > IDE. I'm trying to understand what's the problem. Can you elaborate
> over
> > > that?
> > >
> > > Thanks
> > >
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *https://www.patreon.com/piotrzarzycki
> > *
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>


-- 

Piotr Zarzycki

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


Re: Fixing Maven Distribution

2020-01-16 Thread Piotr Zarzycki
Try with Nightly Build of Moonshine to setup that sdk and create Hello
World.

czw., 16 sty 2020 o 11:41 Piotr Zarzycki 
napisał(a):

> This is not an VSCode issue I believe. It's something wrong with SDK in my
> opinion.
>
> czw., 16 sty 2020 o 10:19 Carlos Rovira 
> napisał(a):
>
>> Hi Piotr,
>>
>> thanks. I open TDJ in VSCode and build with Run Task > "build with
>> asconfigc"
>>
>> This outputs:
>>
>> 
>> > Executing task: asconfigc
>> --sdk=/Users/carlosrovira/Dev/Royale/Source/royale-asjs <
>>
>> Configuration options in asconfig.json require Apache Royale. Path to SDK
>> is not valid: /Users/carlosrovira/Dev/Royale/Source/royale-asjs
>> El proceso del terminal finalizó con el código de salida: 1
>>
>> Las tareas reutilizarán el terminal, presione cualquier tecla para
>> cerrarlo.
>> 
>>
>> But my maven sdk is in
>>
>> {
>> "as3mxml.sdk.framework":
>> "/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven"
>> }
>>
>> (this is my configuration from .vscode/settings.json)
>>
>> So maybe could be an IDE issue? seems like VSCode is not taking right SDK
>> from settings.xml, and don't know where is getting the old path (
>> --sdk=/Users/carlosrovira/Dev/Royale/Source/royale-asjs )
>>
>> Maybe Josh could give some light here.
>>
>> Thanks
>>
>> Carlos
>>
>>
>> El jue., 16 ene. 2020 a las 7:23, Piotr Zarzycki (<
>> piotrzarzyck...@gmail.com>)
>> escribió:
>>
>> > Hi Carlos,
>> >
>> > I was talking about most common user scenario, where user open the
>> project
>> > and hit Build. - Project is being build using SDK without Maven or Ant
>> > stuff. In order to test what I'm talking about:
>> >
>> > Open TourDeJewel (using asconfig.json which is part of the example - not
>> > your custom Maven oriented etc.) and choose Terminal -> Run Task...
>> VSCode
>> > behind the stage run in console command which is building your project,
>> > based on instructions from asconfig.json. - I bet it will fail with SDK
>> > prepared with Maven.
>> >
>> > Thanks,
>> > Piotr
>> >
>> >
>> > śr., 15 sty 2020 o 23:50 Carlos Rovira 
>> > napisał(a):
>> >
>> > > Hi Piotr,
>> > >
>> > > Finally I get some time to get over this issue.
>> > > I was trying to see what we need to fix maven distribution.
>> > > I run
>> > >
>> > > mvn install -P option-with-swf,with-distribution
>> > >
>> > > I get royale-asjs/distribution/target/...
>> > >
>> > > and inside I have the Royale Maven SDK generated.
>> > >
>> > > Then I copied to my SDKs folder and unpacked it, and point my IDE to
>> it.
>> > >
>> > > As you reported recently, I have code intelligence working. So it
>> seems
>> > the
>> > > SDK is well formed
>> > >
>> > > At this point, since my workflow is "maven driven". I have all ok,
>> since
>> > my
>> > > IDE build command run "mvn install", and the I click my button for
>> > running
>> > > in a browser.
>> > > So far so good :)
>> > >
>> > > I remember you said the SDK was not valid since it was not able to run
>> > from
>> > > IDE. I'm trying to understand what's the problem. Can you elaborate
>> over
>> > > that?
>> > >
>> > > Thanks
>> > >
>> > >
>> > > --
>> > > Carlos Rovira
>> > > http://about.me/carlosrovira
>> > >
>> >
>> >
>> > --
>> >
>> > Piotr Zarzycki
>> >
>> > Patreon: *https://www.patreon.com/piotrzarzycki
>> > *
>> >
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> *
>


-- 

Piotr Zarzycki

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


Re: Fixing Maven Distribution

2020-01-16 Thread Carlos Rovira
Hi Piotr,

thanks. I open TDJ in VSCode and build with Run Task > "build with
asconfigc"

This outputs:


> Executing task: asconfigc
--sdk=/Users/carlosrovira/Dev/Royale/Source/royale-asjs <

Configuration options in asconfig.json require Apache Royale. Path to SDK
is not valid: /Users/carlosrovira/Dev/Royale/Source/royale-asjs
El proceso del terminal finalizó con el código de salida: 1

Las tareas reutilizarán el terminal, presione cualquier tecla para cerrarlo.


But my maven sdk is in

{
"as3mxml.sdk.framework":
"/Users/carlosrovira/Dev/Royale/Sdks/apache-royale-maven"
}

(this is my configuration from .vscode/settings.json)

So maybe could be an IDE issue? seems like VSCode is not taking right SDK
from settings.xml, and don't know where is getting the old path (
--sdk=/Users/carlosrovira/Dev/Royale/Source/royale-asjs )

Maybe Josh could give some light here.

Thanks

Carlos


El jue., 16 ene. 2020 a las 7:23, Piotr Zarzycki ()
escribió:

> Hi Carlos,
>
> I was talking about most common user scenario, where user open the project
> and hit Build. - Project is being build using SDK without Maven or Ant
> stuff. In order to test what I'm talking about:
>
> Open TourDeJewel (using asconfig.json which is part of the example - not
> your custom Maven oriented etc.) and choose Terminal -> Run Task... VSCode
> behind the stage run in console command which is building your project,
> based on instructions from asconfig.json. - I bet it will fail with SDK
> prepared with Maven.
>
> Thanks,
> Piotr
>
>
> śr., 15 sty 2020 o 23:50 Carlos Rovira 
> napisał(a):
>
> > Hi Piotr,
> >
> > Finally I get some time to get over this issue.
> > I was trying to see what we need to fix maven distribution.
> > I run
> >
> > mvn install -P option-with-swf,with-distribution
> >
> > I get royale-asjs/distribution/target/...
> >
> > and inside I have the Royale Maven SDK generated.
> >
> > Then I copied to my SDKs folder and unpacked it, and point my IDE to it.
> >
> > As you reported recently, I have code intelligence working. So it seems
> the
> > SDK is well formed
> >
> > At this point, since my workflow is "maven driven". I have all ok, since
> my
> > IDE build command run "mvn install", and the I click my button for
> running
> > in a browser.
> > So far so good :)
> >
> > I remember you said the SDK was not valid since it was not able to run
> from
> > IDE. I'm trying to understand what's the problem. Can you elaborate over
> > that?
> >
> > Thanks
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> *
>


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


Re: Fixing Maven Distribution

2020-01-15 Thread Piotr Zarzycki
Hi Carlos,

I was talking about most common user scenario, where user open the project
and hit Build. - Project is being build using SDK without Maven or Ant
stuff. In order to test what I'm talking about:

Open TourDeJewel (using asconfig.json which is part of the example - not
your custom Maven oriented etc.) and choose Terminal -> Run Task... VSCode
behind the stage run in console command which is building your project,
based on instructions from asconfig.json. - I bet it will fail with SDK
prepared with Maven.

Thanks,
Piotr


śr., 15 sty 2020 o 23:50 Carlos Rovira  napisał(a):

> Hi Piotr,
>
> Finally I get some time to get over this issue.
> I was trying to see what we need to fix maven distribution.
> I run
>
> mvn install -P option-with-swf,with-distribution
>
> I get royale-asjs/distribution/target/...
>
> and inside I have the Royale Maven SDK generated.
>
> Then I copied to my SDKs folder and unpacked it, and point my IDE to it.
>
> As you reported recently, I have code intelligence working. So it seems the
> SDK is well formed
>
> At this point, since my workflow is "maven driven". I have all ok, since my
> IDE build command run "mvn install", and the I click my button for running
> in a browser.
> So far so good :)
>
> I remember you said the SDK was not valid since it was not able to run from
> IDE. I'm trying to understand what's the problem. Can you elaborate over
> that?
>
> Thanks
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>


-- 

Piotr Zarzycki

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


Fixing Maven Distribution

2020-01-15 Thread Carlos Rovira
Hi Piotr,

Finally I get some time to get over this issue.
I was trying to see what we need to fix maven distribution.
I run

mvn install -P option-with-swf,with-distribution

I get royale-asjs/distribution/target/...

and inside I have the Royale Maven SDK generated.

Then I copied to my SDKs folder and unpacked it, and point my IDE to it.

As you reported recently, I have code intelligence working. So it seems the
SDK is well formed

At this point, since my workflow is "maven driven". I have all ok, since my
IDE build command run "mvn install", and the I click my button for running
in a browser.
So far so good :)

I remember you said the SDK was not valid since it was not able to run from
IDE. I'm trying to understand what's the problem. Can you elaborate over
that?

Thanks


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