Maybe in your pom you are trying to use swf dependency. Show us your whole pom - best would be some link to file if possible. Be careful with sensitive info cause it’s a public list.
Maria, He is using Maven so SDK and build is the one which he indicates trough dependencies. On Fri, 24 Dec 2021 at 10:35, Maria Jose Esteve <[email protected]> wrote: > Hi, > > This error tells me that you have dependencies to swf artifacts but your > SDK "surely" is JS Only can it be? > > Hiedra > > > > *De:* Roman Isitua <[email protected]> > *Enviado el:* viernes, 24 de diciembre de 2021 9:59 > *Para:* [email protected] > *Asunto:* Re: Load time is very slow > > > > I have started the upgrade to 0.9.9-SNAPSHOT > > > > I am getting the following error > > > > Could not resolve dependencies for project com.spacio:spacio_as3:swc:1.0: > The following artifacts could not be resolved: > org.apache.royale.framework:Core:swc:swf:0.9.9-SNAPSHOT, > org.apache.royale.framework:Reflection:swc:swf:0.9.9-SNAPSHOT, > org.apache.royale.framework:Network:swc:swf:0.9.9-SNAPSHOT: > org.apache.royale.framework:Core:swc:swf:0.9.9-SNAPSHOT was not found in > https://repository.apache.org/content/repositories/snapshots during a > previous attempt. This failure was cached in the local repository and > resolution is not reattempted until the update interval of apache-snapshots > has elapsed or updates are forced > > > > > > > > > > > > > > On Thu, Dec 23, 2021 at 8:48 PM Maria Jose Esteve <[email protected]> > wrote: > > Roman, I see you use mx. In version 0.9.9-SNAPSHOT MX has been separated > into two different projects: MXRoyaleBase and MXRoyale (The first contains > all the classes that are not visual, and the second the visuals). > > You say you are using Materials, so I guess you are not using the MX > visual controls; you will have to change MXRoyale to MXRoyaleBase and also > remove > "<royale.mxroyale.css>-compiler.exclude-defaults-css-files=MXRoyale-0.9.7-js.swc:defaults.css;</royale.mxroyale.css>" > because you don't need it anymore. > > > > Let us know how it works for you. > > Hiedra > > > > *De:* Roman Isitua <[email protected]> > *Enviado el:* jueves, 23 de diciembre de 2021 18:36 > *Para:* [email protected] > *Asunto:* Re: Load time is very slow > > > > Thanks. I will update my pom with this. > > I will try the 0.9.9-snapshot and revert. > > > > > > Regards, > > > > > > On Thu, 23 Dec 2021, 18:30 Maria Jose Esteve, <[email protected]> wrote: > > I have like this the artifact download, when I want to force it I change > "updatePolicy" to "always": > > > > > > <repositories> > > <repository> > > <id>apache-release</id> > > <url> > https://repository.apache.org/content/repositories/releases</url> > > <releases> > > <enabled>true</enabled> > > *<!--<updatePolicy>always</updatePolicy>-->* > > <updatePolicy>daily</updatePolicy> > > </releases> > > <snapshots> > > <enabled>false</enabled> > > </snapshots> > > </repository> > > <repository> > > <id>apache-snapshots</id> > > <url> > https://repository.apache.org/content/repositories/snapshots</url> > > <releases> > > <enabled>false</enabled> > > </releases> > > <snapshots> > > <enabled>true</enabled> > > <updatePolicy>daily</updatePolicy> > > </snapshots> > > </repository> > > </repositories> > > > > <updatePolicy>always > > <updatePolicy>daily > > <updatePolicy>newer > > > > > > Hiedra > > > > *De:* Piotr Zarzycki <[email protected]> > *Enviado el:* jueves, 23 de diciembre de 2021 18:10 > *Para:* [email protected] > *Asunto:* Re: Load time is very slow > > > > 0.9.8 - is official stable release > > 0.9.9-SNAPSHOT - is nightly build > > > > You do not have to build out of sources in order to have maven artifacts - > they are stored in maven apache central. It means if you set version in pom > to 0.9.9-SNAPSHOT - artifacts will be downloaded once a day during first > build. > > > > There is a way of forcing downloading artifacts on every build, but I have > never used that option. Usually that first build and downloaded artifacts > once is enough. > > > > > > > > czw., 23 gru 2021 o 17:57 Roman Isitua <[email protected]> napisał(a): > > I have downloaded 0.9.8 sdk though I am yet to switch to it. I pulled the > source from git then built it using maven. > > > > So how can I access the latest sdk ? i.e. 0.9.9 is it in the official > distribution ? > > > > > > > > > > On Thu, Dec 23, 2021 at 5:37 PM Maria Jose Esteve <[email protected]> > wrote: > > I have recorded a gif for you to see it yourself [1], about 6 seconds, it > is not very fast but considering that you are using js-debug, I see it > acceptable. > > > > Regarding the sdk change... in principle where you have the literal > "0.9.7" you should put "0.9.8" are you using the official distribution? > > There are many changes from 0.9.7 to 0.9.8 and even more in 0.9.9 which is > the current one. I advise you to change it to 0.9.9.9 I can help you to > debug the bugs you get, I also use Maven. > > > > [1] > https://drive.google.com/file/d/1Fqr77QN0CEYB6c2KGuvhaliuUtDeR8Ov/view?usp=sharing > > Hiedra > > > > *De:* Roman Isitua <[email protected]> > *Enviado el:* jueves, 23 de diciembre de 2021 17:23 > *Para:* [email protected] > *Asunto:* Re: Load time is very slow > > > > Thanks. My team is very new to royale. We have no prior adobe flex > experience. We are using royale material design. > > > > How many seconds does it take to load at your end ? > > > > I will check my internet access speed but I have to get the app to load > with the internet access speed I am using. Most users will likely be using > similar internet > > connections. > > > > > > I am using maven. To perform an upgrade to version 0.9.8 is it as simple > as changing the version number in my pom to 0.9.8 ? > > > > Also, is there a major performance improvement in load time in the newer > version ? > > > > > > > > > > > > > > On Thu, Dec 23, 2021 at 5:10 PM Maria Jose Esteve <[email protected]> > wrote: > > Hi Roman, I like the design you have chosen, it looks great. > > It doesn't take me 20 seconds to load, are you sure it's not a question of > your access? > > > > I see you are still connected to SDK 0.9.7, couldn't you get it to work > with the latest one? > > > > Hiedra > > > > *De:* Roman Isitua <[email protected]> > *Enviado el:* jueves, 23 de diciembre de 2021 16:22 > *Para:* [email protected] > *Asunto:* Load time is very slow > > > > Hi Everyone, > > > > I am currently working on an app. The app is still in development. I have > deployed it to a test server online. > > > > The app can be access on this url below > > > > http://140.238.127.236:8081/spaciofm/js-debug/index.html > > > > I noticed that the app loading time is slow. It takes up to 20 seconds to > load the application. I have checked to see other royale apps > > e.g the adobe spectrum demo, jewel tour de jewel demo and the mdl example > demo. Those apps load much faster. > > > > > > > > My maven compilation settings is as follows > > > > <royale.showbindingWarnings>-compiler.show-binding-warnings=false;</ > royale.showbindingWarnings> > > <royale.sourceMapSettings>-source-map=true;</ > royale.sourceMapSettings> > > <royale.jsDefaultInitializers>-js-default-initializers=true;</ > royale.jsDefaultInitializers> > > <royale.jsDynamicAccessUnknownMembers> > -js-dynamic-access-unknown-members=true;</ > royale.jsDynamicAccessUnknownMembers> > > <royale.targets>JSRoyale</royale.targets> > > <royale.debug>true</royale.debug> > > <royale.mxroyale.css> > -compiler.exclude-defaults-css-files=MXRoyale-0.9.7-js.swc:defaults.css;</ > royale.mxroyale.css> > > > > > > I will like to ask what could be the reason for the slow load times ? > > > > As the app is currently in development is there a need to compile to > release mode to get fast load times ? > > > > The file size of the debug version is currently 7mb. I am deploying it in > a spring boot embedded tomcat server. > > > > > > Any ideas ? I would like to tackle this early in the development phase. > > > > Regards, > > > > Roman, > > > > > > > > > -- > > *Piotr Zarzycki * > > -- Piotr Zarzycki
