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 <carlosrov...@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 (< > 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 <carlosrov...@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>*