I can give it a try if Roman hasn't already done so... being useful sometimes doesn't hurt 😝
Hiedra De: Harbs <harbs.li...@gmail.com> Enviado el: miércoles, 5 de enero de 2022 17:39 Para: users@royale.apache.org Asunto: Re: Setting up spectrum Sorry for the trouble. I don’t use Maven, so I don’t have a Maven build in Spectrum. You can feel free to make a PR with a Maven config to build it. Thanks, Harbs On Jan 5, 2022, at 4:33 PM, Roman Isitua <romanisi...@gmail.com<mailto:romanisi...@gmail.com>> wrote: I commented it out. It did not work. I had to comment on another area with a similar message. The current error C:\Users\nyemi\git\spectrum\spectrum-royale\Spectrum>ant Buildfile: C:\Users\nyemi\git\spectrum\spectrum-royale\Spectrum\build.xml [echo] ROYALE_HOME: C:\ROYALE\apache-royale-0.9.8 check-compiler-home: check-transpiler-home: check-compiler: BUILD FAILED C:\Users\nyemi\git\spectrum\spectrum-royale\Spectrum\build.xml:78: C:\Users\nyemi\git\spectrum\spectrum-royale\Spectrum\${ROYALE_COMPILER_HOME}\lib does not exist. Note: I built the royale sdk using maven. I have compared this maven built royale 0.9.8 sdk with the 0.9.7 binary distribution I downloaded months ago when I started learning royale. I noticed the 0.9.7 binary has a lib folder (C:\ROYALE\apache-royale-0.9.7-bin-js-swf\royale-asjs\js\lib) where the compc.jar and mxmlc.jar files are located. But the maven built 0.9.8 does not have a lib folder in that location. (Even after executing mvn clean install) I guess I should consider building the 0.9.8 with ant ? I hope there will be no issues building the same sdk with maven and then ant ? On Wed, Jan 5, 2022 at 7:41 AM Yishay Weiss <yishayj...@hotmail.com<mailto:yishayj...@hotmail.com>> wrote: I don’t know why that check was necessary in the original build, but it seems it isn’t for the spectrum one. Roman, you can just remove this line [1] from build.xml and I think it should work. [1] <fail message="ROYALE_SWF_COMPILER_HOME must be set to a folder with a lib sub-folder containing compiler-mxmlc.jar such as the compiler folder in royale-compiler repo or the root of a Royale SDK" unless="ROYALE_SWF_COMPILER_HOME"/> From: Harbs<mailto:harbs.li...@gmail.com> Sent: Wednesday, January 5, 2022 12:07 AM To: users@royale.apache.org<mailto:users@royale.apache.org> Subject: Re: Setting up spectrum It’s checking for compiler-mxmlc.jar in the lib directory in ROYALE_HOME. Are you missing that for some reason? I’m not sure why it’s checking for that instead of compc.jar which is what it should actually be using. It was copied from the build.xml files used in the framework compile. Maybe Alex or Josh (or Greg?) can comment on that. > On Jan 4, 2022, at 11:54 PM, Roman Isitua > <romanisi...@gmail.com<mailto:romanisi...@gmail.com>> wrote: > > I am trying to build royale spectrum from source using ant. > > I get the below error > > C:\Users\nyemi\git\spectrum\spectrum-royale\Spectrum>ant > Buildfile: C:\Users\nyemi\git\spectrum\spectrum-royale\Spectrum\build.xml > [echo] ROYALE_HOME: C:\ROYALE\apache-royale-0.9.8 > > check-compiler-home: > > BUILD FAILED > C:\Users\nyemi\git\spectrum\spectrum-royale\Spectrum\build.xml:90: > ROYALE_SWF_COMPILER_HOME must be set to a folder with a lib sub-folder > containing compiler-mxmlc.jar such as the compiler folder in royale-compiler > repo or the root of a Royale SDK > > Total time: 0 seconds > > > I have set the ROYALE_HOME correctly. > > How can I set ROYALE_SWF_COMPILER_HOME ? What is the correct path ? > > I built my royale sdk from source. > > Regards, > >