You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Carlos Rovira <ca...@apache.org> on 2020/01/15 22:50:39 UTC
Fixing Maven Distribution
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
Re: Fixing Maven Distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
I would definitely go with Alex's suggestion.
On Thu, Jan 16, 2020, 7:07 PM Alex Harui <ah...@adobe.com.invalid> 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" <pi...@gmail.com> wrote:
>
> Try with Nightly Build of Moonshine to setup that sdk and create Hello
> World.
>
> czw., 16 sty 2020 o 11:41 Piotr Zarzycki <pi...@gmail.com>
> 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 <ca...@apache.org>
> > 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 (<
> >> piotrzarzycki21@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 <ca...@apache.org>
> >> > 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%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Ceb59c8526d4c4b9db8bd08d79a70c4dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637147681443465770&sdata=lSLUJJxXhZnrSxDyqH%2F3OY8ufiCDQrQ0lF8KDvzWXWw%3D&reserved=0
> >> > >
> >> >
> >> >
> >> > --
> >> >
> >> > Piotr Zarzycki
> >> >
> >> > Patreon: *
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ceb59c8526d4c4b9db8bd08d79a70c4dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637147681443465770&sdata=DPG8uvu%2FEzN5TN47talQNaAuLKvrM%2FK3whayKs5GBLI%3D&reserved=0
> >> > <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ceb59c8526d4c4b9db8bd08d79a70c4dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637147681443465770&sdata=DPG8uvu%2FEzN5TN47talQNaAuLKvrM%2FK3whayKs5GBLI%3D&reserved=0
> >*
> >> >
> >>
> >>
> >> --
> >> Carlos Rovira
> >>
> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Ceb59c8526d4c4b9db8bd08d79a70c4dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637147681443465770&sdata=lSLUJJxXhZnrSxDyqH%2F3OY8ufiCDQrQ0lF8KDvzWXWw%3D&reserved=0
> >>
> >
> >
> > --
> >
> > Piotr Zarzycki
> >
> > Patreon: *
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ceb59c8526d4c4b9db8bd08d79a70c4dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637147681443465770&sdata=DPG8uvu%2FEzN5TN47talQNaAuLKvrM%2FK3whayKs5GBLI%3D&reserved=0
> > <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ceb59c8526d4c4b9db8bd08d79a70c4dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637147681443465770&sdata=DPG8uvu%2FEzN5TN47talQNaAuLKvrM%2FK3whayKs5GBLI%3D&reserved=0
> >*
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ceb59c8526d4c4b9db8bd08d79a70c4dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637147681443465770&sdata=DPG8uvu%2FEzN5TN47talQNaAuLKvrM%2FK3whayKs5GBLI%3D&reserved=0
> <
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ceb59c8526d4c4b9db8bd08d79a70c4dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637147681443475760&sdata=54DjHeBNZRqVGmyWSLNmE5NVkmnG0vq4Jo8JAkyx82w%3D&reserved=0
> >*
>
>
>
Re: Fixing Maven Distribution
Posted by Alex Harui <ah...@adobe.com.INVALID>.
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" <pi...@gmail.com> wrote:
Try with Nightly Build of Moonshine to setup that sdk and create Hello
World.
czw., 16 sty 2020 o 11:41 Piotr Zarzycki <pi...@gmail.com>
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 <ca...@apache.org>
> 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 (<
>> piotrzarzycki21@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 <ca...@apache.org>
>> > 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%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Ceb59c8526d4c4b9db8bd08d79a70c4dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637147681443465770&sdata=lSLUJJxXhZnrSxDyqH%2F3OY8ufiCDQrQ0lF8KDvzWXWw%3D&reserved=0
>> > >
>> >
>> >
>> > --
>> >
>> > Piotr Zarzycki
>> >
>> > Patreon: *https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ceb59c8526d4c4b9db8bd08d79a70c4dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637147681443465770&sdata=DPG8uvu%2FEzN5TN47talQNaAuLKvrM%2FK3whayKs5GBLI%3D&reserved=0
>> > <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ceb59c8526d4c4b9db8bd08d79a70c4dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637147681443465770&sdata=DPG8uvu%2FEzN5TN47talQNaAuLKvrM%2FK3whayKs5GBLI%3D&reserved=0>*
>> >
>>
>>
>> --
>> Carlos Rovira
>> https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Ceb59c8526d4c4b9db8bd08d79a70c4dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637147681443465770&sdata=lSLUJJxXhZnrSxDyqH%2F3OY8ufiCDQrQ0lF8KDvzWXWw%3D&reserved=0
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ceb59c8526d4c4b9db8bd08d79a70c4dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637147681443465770&sdata=DPG8uvu%2FEzN5TN47talQNaAuLKvrM%2FK3whayKs5GBLI%3D&reserved=0
> <https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ceb59c8526d4c4b9db8bd08d79a70c4dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637147681443465770&sdata=DPG8uvu%2FEzN5TN47talQNaAuLKvrM%2FK3whayKs5GBLI%3D&reserved=0>*
>
--
Piotr Zarzycki
Patreon: *https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ceb59c8526d4c4b9db8bd08d79a70c4dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637147681443465770&sdata=DPG8uvu%2FEzN5TN47talQNaAuLKvrM%2FK3whayKs5GBLI%3D&reserved=0
<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Ceb59c8526d4c4b9db8bd08d79a70c4dc%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637147681443475760&sdata=54DjHeBNZRqVGmyWSLNmE5NVkmnG0vq4Jo8JAkyx82w%3D&reserved=0>*
Re: Fixing Maven Distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
Try with Nightly Build of Moonshine to setup that sdk and create Hello
World.
czw., 16 sty 2020 o 11:41 Piotr Zarzycki <pi...@gmail.com>
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 <ca...@apache.org>
> 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 (<
>> piotrzarzycki21@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 <ca...@apache.org>
>> > 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
>> > <https://www.patreon.com/piotrzarzycki>*
>> >
>>
>>
>> --
>> Carlos Rovira
>> http://about.me/carlosrovira
>>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>
--
Piotr Zarzycki
Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
Re: Fixing Maven Distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
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 <ca...@apache.org>
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 (<
> piotrzarzycki21@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 <ca...@apache.org>
> > 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
> > <https://www.patreon.com/piotrzarzycki>*
> >
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>
--
Piotr Zarzycki
Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*
Re: Fixing Maven Distribution
Posted by Carlos Rovira <ca...@apache.org>.
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 (<pi...@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 <ca...@apache.org>
> 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
> <https://www.patreon.com/piotrzarzycki>*
>
--
Carlos Rovira
http://about.me/carlosrovira
Re: Fixing Maven Distribution
Posted by Piotr Zarzycki <pi...@gmail.com>.
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 <ca...@apache.org> 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
<https://www.patreon.com/piotrzarzycki>*