> It's VSCode that is complaining that these imports do not exist.

Do you have as3mxml.sdk.editor set in your settings?

> On May 7, 2021, at 4:17 AM, Brian Raymes <brian.ray...@teotech.com> wrote:
> 
> I can compile just fine with Maven, , and have never needed to do anything 
> like that in the past. It's VSCode that is complaining that these imports do 
> not exist.
> 
> Assuming the new royale-sdk I built is missing something? Or my asconfig may 
> need to be adjusted for the new sdk changes?
> 
> I followed what Josh explained below, removed "-DdistributionTargetFolder= 
> (including the path) option" and replaced my previously built royale-sdk with 
> the one from a fresh build:
> 
> royale-asjs\distribution\target\apache-royale-0.9.9-SNAPSHOT-bin.zip
> 
> Simply unzipped the above and replace my previous. After doing so, all mx 
> imports are reporting as missing (squiggly underlines).
> 
> -----Original Message-----
> From: Greg Dove <greg.d...@gmail.com> 
> Sent: Thursday, May 6, 2021 5:59 PM
> To: Apache Royale Development <dev@royale.apache.org>
> Subject: Re: [EXTERNAL] Re: about releasing 0.9.8
> 
> I wonder if you mean the automatic imports....
> 
> with maven I often have something like this:
> 
> -compiler.mxml.imports=
>            mx.resources.ResourceManager,
>            org.apache.royale.events.Event,
>            org.apache.royale.events.EventDispatcher,
>            org.apache.royale.events.IEventDispatcher,
>            mx.events.MouseEvent,
>            mx.events.FocusEvent,
>            mx.events.KeyboardEvent,
>            org.apache.royale.geom.*,
>            org.apache.royale.core.ClassFactory,
>            org.apache.royale.core.IFactory;
> 
> In the <additionalCompilerOptions> nested section of the royale compiler 
> <configuration> tag
> 
> Is it more that, do you think, or more that you are actually missing the 
> MXRoyale dependency?
> 
> 
> On Fri, May 7, 2021 at 12:49 PM Brian Raymes <brian.ray...@teotech.com>
> wrote:
> 
>> I should have mentioned, I use Maven to compile.
>> 
>> -----Original Message-----
>> From: Brian Raymes <brian.ray...@teotech.com>
>> Sent: Thursday, May 6, 2021 5:32 PM
>> To: dev@royale.apache.org
>> Subject: RE: [EXTERNAL] Re: about releasing 0.9.8
>> 
>> Hi Josh,
>> 
>> I've done what you've said, and I can now build successfully, thank you.
>> But.. Now, all MX imports cannot be found in my project. I rely 
>> heavily on AMF with my current project, and now my project within 
>> VSCode is showing hundreds of errors, but can compile successfully.
>> 
>> What could I be missing? I compared the previously built SDK with the 
>> new, and they are definitely structured differently. The MX SWCs are 
>> found within the new.
>> 
>> Thoughts?
>> 
>> Brian
>> 
>> -----Original Message-----
>> From: Josh Tynjala <joshtynj...@bowlerhat.dev>
>> Sent: Thursday, April 29, 2021 9:11 AM
>> To: Apache Royale Development <dev@royale.apache.org>
>> Subject: Re: [EXTERNAL] Re: about releasing 0.9.8
>> 
>> Unfortunately, Adobe no longer provides AIR SDK 20.0. The only version 
>> they still offer is AIR 32.0. On macOS, I believe AIR 32.0 is also 
>> only downloadable in a .dmg format that the Maven plugin doesn't know 
>> how to process, which makes things even harder. Older versions of the 
>> macOS AIR SDK used to be available in a different format, like .tbz2 
>> or .tar.gz or something like that, but Adobe changed to .dmg only at 
>> some point. Anyway, this is why building the distribution is failing. 
>> Those who can still build are lucky enough to have it in their cache 
>> from before Adobe removed all of the files from the servers.
>> 
>> But, there's hope! If you build the distribution without specifying a 
>> target folder, it won't try to include Adobe artifacts. It's only when 
>> you build to a folder that the AIR SDK is used in the build process. 
>> When you don't specify a target folder, the distribution will go into 
>> a zip or tar.gz file instead. When the build completes, you can just 
>> extract that into a folder, and it's basically the same thing. If you 
>> need playerglobal.swc and the AIR SDK, you can merge them manually 
>> (like we used to do with the Adobe Flex SDK before the Apache installer).
>> 
>> Basically, in your distribution build command, just remove the 
>> -DdistributionTargetFolder= (including the path) option, and it should 
>> work without the AIR SDK. I don't know whether there are other issues 
>> on the develop branch that might also cause the Maven distribution 
>> build to fail, but this is how you deal with the AIR SDK part at least.
>> 
>> --
>> Josh Tynjala
>> Bowler Hat LLC <https://bowlerhat.dev>
>> 
>> 
>> On Wed, Apr 28, 2021 at 6:17 PM Brian Raymes 
>> <brian.ray...@teotech.com>
>> wrote:
>> 
>>> +1 for fixing current state of repo.
>>> 
>>> I haven't been able to successfully build with Maven for quite a 
>>> long while now due to what looks to be shifts with this release.
>>> 
>>> For one, it seems to repeat ask to install the AIR SDK, but fails to 
>>> notify something, then fails to download as they can't be found. 
>>> This happens about 20 times.
>>> 
>>> Example:
>>> 
>>> [INFO]  - Installing Adobe AIR SDK 20.0 Your System-Id: ...........
>>> The Adobe SDK license agreement applies to the Adobe AIR SDK. Do you 
>>> want to install the Adobe AIR SDK? Adobe AIR SDK License:
>>> http://www.adobe.com/products/air/sdk-eula.html
>>> (In a non-interactive build such as a CI server build, alternatively 
>>> to typing y or yes you can also set a system property containing 
>>> your system which is interpreted as equivalent to accepting by 
>>> typing y or
>> yes:
>>> 
>> -Dcom.adobe.systemIdsForWhichTheTermsOfTheAdobeLicenseAgreementAreAccepted=...........
>>> )
>>> Do you accept (Yes/No) ? Yes
>>> [WARNING] Failed to notify spy
>>> org.apache.flex.utilities.converter.mavenextension.FlexEventSpy:
>>> Caught exception while downloading and converting artifact.
>>> [INFO] Couldn't find artifact: com.adobe.air:20.0:runtime:pom [INFO] 
>>> ===========================================================
>>> 
>>> Then, it fails to build the distribution because of a potentially 
>>> all of these unresolved artifacts for 0.9.9-SNAPSHOT.
>>> 
>>> -----Original Message-----
>>> From: Piotr Zarzycki <piotrzarzyck...@gmail.com>
>>> Sent: Tuesday, April 27, 2021 6:33 AM
>>> To: Apache Royale Development <dev@royale.apache.org>
>>> Subject: [EXTERNAL] Re: about releasing 0.9.8
>>> 
>>> Hi Yishay,
>>> 
>>> Where are you with release now ? Build is failing on Maven sight for 
>>> several days, cause it was switched to 0.9.9. Are you going to make 
>>> another attempt this week ?
>>> 
>>> Thanks,
>>> Piotr
>>> 
>>> niedz., 21 mar 2021 o 11:00 Harbs <harbs.li...@gmail.com> napisał(a):
>>> 
>>>> I think what I started was reverted.
>>>> 
>>>> Thanks for picking up the slack for me…
>>>> 
>>>> Let me know if you need help from me.
>>>> 
>>>> Harbs
>>>> 
>>>>> On Mar 21, 2021, at 11:00 AM, Yishay Weiss 
>>>>> <yishayj...@hotmail.com>
>>>> wrote:
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> I'd like to start a release again, maybe Harbs will pick this up 
>>>>> later
>>>> when he's less loaded, so if anyone wants to update the release 
>>>> notes this might be a good time.
>>>>> 
>>>>> I'd like to start afresh, so Harbs, let me know if there are RCs 
>>>>> for
>>>> Royale or for compiler-build-tools that need cancelling.
>>>>> 
>>>>> Thanks
>>>>> ________________________________
>>>>> From: Carlos Rovira <carlosrov...@apache.org>
>>>>> Sent: Friday, November 20, 2020 3:51 PM
>>>>> To: Apache Royale Development <dev@royale.apache.org>
>>>>> Subject: Re: about releasing 0.9.8
>>>>> 
>>>>> Hi! just finished my list of updates for 0.9.8
>>>>> 
>>>>> Others are welcome to add to it for upcoming release! :)
>>>>> 
>>>>> El mar., 17 nov. 2020 a las 20:07, Josh Tynjala (<
>>>> joshtynj...@bowlerhat.dev>)
>>>>> escribió:
>>>>> 
>>>>>> I just updated the RELEASE_NOTES.md files in both 
>>>>>> royale-compiler and royale-asjs with my changes for the 0.9.8 
>>>>>> release. Everyone should also
>>>> add
>>>>>> their own changes to these files.
>>>>>> 
>>>>>> --
>>>>>> Josh Tynjala
>>>>>> Bowler Hat LLC <https://bowlerhat.dev>
>>>>>> 
>>>>>> 
>>>>>> On Tue, Nov 17, 2020 at 5:25 AM Carlos Rovira 
>>>>>> <carlosrov...@apache.org>
>>>>>> wrote:
>>>>>> 
>>>>>>> Thanks Harbs!
>>>>>>> 
>>>>>>> @Andrew I think we should all try to add to the list of new 
>>>>>>> features,
>>>>>> fixes
>>>>>>> and more. If you could prepare different place holders for 
>>>>>>> compiler-typedefs-asjs, we can all try to fill it
>>>>>>> 
>>>>>>> thanks
>>>>>>> 
>>>>>>> El lun., 16 nov. 2020 a las 19:47, Andrew Wetmore (<
>>>> cottag...@gmail.com
>>>>>>> )
>>>>>>> escribió:
>>>>>>> 
>>>>>>>> Is there a list of new features and fixes since 0.9.7? I 
>>>>>>>> would like to
>>>>>>> see
>>>>>>>> if i can at least get good documentation in place about those
>>> changes.
>>>>>>>> 
>>>>>>>> a
>>>>>>>> 
>>>>>>>> On Mon, Nov 16, 2020 at 1:23 PM Harbs <harbs.li...@gmail.com>
>>> wrote:
>>>>>>>> 
>>>>>>>>> OK. I’ll start tomorrow.
>>>>>>>>> 
>>>>>>>>> (fingers crossed)
>>>>>>>>> 
>>>>>>>>>> On Nov 16, 2020, at 5:55 PM, Carlos Rovira <
>>>>>> carlosrov...@apache.org>
>>>>>>>>> wrote:
>>>>>>>>>> 
>>>>>>>>>> Hi,
>>>>>>>>>> 
>>>>>>>>>> I think the time zone problems Chris warned are now behind 
>>>>>>>>>> us, and
>>>>>>> want
>>>>>>>>> to
>>>>>>>>>> open this thread about releasing 0.9.8. Many months have 
>>>>>>>>>> passed
>>>>>> and I
>>>>>>>>> think
>>>>>>>>>> we need to push a new release soon, I think before the end 
>>>>>>>>>> of the
>>>>>>> year
>>>>>>>>> will
>>>>>>>>>> be the best for us if possible.
>>>>>>>>>> 
>>>>>>>>>> What do you think? Harbs can we count on you to do the task?
>>>>>>>>>> 
>>>>>>>>>> Thanks in advance
>>>>>>>>>> 
>>>>>>>>>> --
>>>>>>>>>> Carlos Rovira
>>>>>>>>>> Apache Member & Apache Royale PMC *Apache Software
>>>>>>>>>> Foundation* http://about.me/carlosrovira
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>> 
>>>>>>>> --
>>>>>>>> Andrew Wetmore
>>>>>>>> 
>>>>>>>> http://cottage14.blogspot.com/
>>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> --
>>>>>>> Carlos Rovira
>>>>>>> Apache Member & Apache Royale PMC *Apache Software Foundation* 
>>>>>>> http://about.me/carlosrovira
>>>>>>> 
>>>>>> 
>>>>> 
>>>>> 
>>>>> --
>>>>> Carlos Rovira
>>>>> Apache Member & Apache Royale PMC *Apache Software Foundation* 
>>>>> http://about.me/carlosrovira
>>>> 
>>>> 
>>> 
>>> --
>>> 
>>> Piotr Zarzycki
>>> 
>> 

Reply via email to