Hi Hepzy,

Welcome to Royale. 

This (see link below) [1] is the smallest pom.xml I could come up with to run 
an MX example with Maven. There may be redundancies, so anyone with more maven 
experience is welcome to comment on it. 

If you want to add spark components you should replace 

<artifactId>MXRoyale</artifactId>
with
<artifactId>SparkRoyale</artifactId>

SparkRoyale itself depends on MXRoyale so I think that's sufficient for both 
libs.

>combine mx components with basic , express or Jewel

MX behavior will likely break in runtime if you mix in components sets but I 
think you should be able to compile with these components sets if you add them 
as dependencies, same wat I added MXRoyale.

Hope this helps.

[1]  https://paste.apache.org/fze86

On 2021/10/28 13:23:10, "Hepzy X, Anto (CW) (E)" <anto_hep...@mcafee.com> 
wrote: 
> Hi,
> I am pretty much new to Royale and I am trying to compile with Maven and my 
> query is how to set the pom.xml to combine mx components with basic , express 
> or Jewel.
> There is an error which says the tag is not recognized if I add mx tags in 
> basic, I have worked in moonshine ide where we can set the additional config 
> as, +configname=flex which eliminates the error.
> 
> Just wanted to know how it is set in the Maven.
> 
> Appreciate your response.
> 
> Regards,
> Anto Hepzy
> 

Reply via email to