Hi Carlos,

Why repository need to be build if we want to build example only ? I'm
curious why you suggesting that ?

Piotr

śr., 14 lis 2018 o 16:23 Carlos Rovira <carlosrov...@apache.org> napisał(a):

> Hi Alina,
>
> I have the following script in the folder that parent the three repo
> (compiler, typedefs and asjs). This script (for Mac but if you use windows
> can adapt easily) updates from git the there repos, then build each repo
> with maven and build the SDK in the same repo (and before all of that
> cleans ant files in each repo). So I just one execution I have all build:
>
> #!/bin/bash
> cd $ROYALE_COMPILER_HOME
> git pull -v --progress "origin"
> echo Royale Compiler updated from repo
>
> cd $ROYALE_TYPEDEFS_HOME
> git pull -v --progress "origin"
> echo Royale TypeDefs  updated from repo
>
> cd $ROYALE_HOME
> git pull -v --progress "origin"
> echo Royale AsJs  updated from repo
>
> #set JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8 -Xmx1024m
> cd $ROYALE_COMPILER_HOME
> mvn clean install -DskipTests
> echo Royale Compiler built with Maven
>
> cd $ROYALE_TYPEDEFS_HOME
> ant wipe
> mvn clean install
> echo Royale TypeDefs built with Maven
>
> cd $ROYALE_HOME
> ant super-clean
> mvn clean install -DskipTests
> #-Drat.skip=true
> echo Royale AsJs built with Maven
>
> ant all -Dbuild.noprompt=true -Drelease.target=true
> echo Royale SDK built with Ant
>
>
> if this not works for you, you must to check your environment vars and the
> rest of configuration to check where things are going wrong.
>
> HTH,
>
> Carlos
>
>
>
>
> El mié., 14 nov. 2018 a las 13:15, Alina Kazi (<alina.k...@d-bz.com>)
> escribió:
>
> > Hi Carlos,
> >
> > It's not first time I try to run maven. I run that last year with
> > successful build.
> > But after that I started to work using ant.
> > Now, I need maven to run this example:
> >
> >
> https://github.com/apache/royale-asjs/tree/develop/examples/amf/SampleAmfWebApp
> >
> > Thanks,
> > Alina
> >
> > -----Original Message-----
> > From: Carlos Rovira [mailto:carlosrov...@apache.org]
> > Sent: Wednesday, November 14, 2018 4:46 PM
> > To: dev@royale.apache.org
> > Subject: Re: Getting An Emulation Component To Run
> >
> > Hi Alina, is the first time you run try maven? until now you was using
> ant?
> >
> >
> > El mié., 14 nov. 2018 a las 12:24, Alina Kazi (<alina.k...@d-bz.com>)
> > escribió:
> >
> > >
> > > Both of you suggest me to run the existing Apache Royale RemoteObject
> > > Example.
> > > But We are unable to download dependencies for maven build.
> > > Steps given in below given link are followed:
> > > https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Ma
> > > ven Tried to download nightly build but link not working:
> > >
> > > https://apacheroyaleci.westus2.cloudapp.azure.com:8080/job/royale-asjs
> > > /lastSuccessfulBuild/artifact/out/
> > >
> > > Executing task in folder SampleAmfWebApp :
> > > Error : https://paste.apache.org/JU0N
> > >
> > > Thanks
> > > Alina
> > >
> > > --
> > > Carlos Rovira
> > > http://about.me/carlosrovira
> > >
> > >
> > >
> > >
> >
> >
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>


-- 

Piotr Zarzycki

Patreon: *https://www.patreon.com/piotrzarzycki
<https://www.patreon.com/piotrzarzycki>*

Reply via email to