Both constructs coexist with the code in their respective directories.
Hiedra

De: Roman Isitua <romanisi...@gmail.com>
Enviado el: miércoles, 5 de enero de 2022 17:41
Para: users@royale.apache.org
Asunto: Re: Setting up spectrum

Yes. I use windows that will be nice.

You can send it.  Thanks.

So one question if Build the sdk with maven and I proceed to build with ant 
they won't be any problems ? Where does the ant output go to ?



On Wed, 5 Jan 2022, 17:37 Maria Jose Esteve, 
<mjest...@iest.com<mailto:mjest...@iest.com>> wrote:
Hi, I compile with ant and maven, I found it was the best for debugging, do you 
want me to send you my build bat? Do you use windows?

Hiedra

De: Roman Isitua <romanisi...@gmail.com<mailto:romanisi...@gmail.com>>
Enviado el: miércoles, 5 de enero de 2022 15:34
Para: users@royale.apache.org<mailto:users@royale.apache.org>
Asunto: Re: Setting up spectrum

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,
>
>

Reply via email to