Hi Piotr,

I want to try now. To try this xml with Approve xml workflow:

1.- should I put it in my .m2 folder (and remove mine)? or there's another
way?
2.- should I remove all my env vars in my .bash_profile?
3.- I assume I must run the command: "ant -e -f ApproveRoyale.xml
-Drelease.version=0.9.6 -Drc=2" inside the folder I created with the
Approve xml file in it.

thanks


El lun., 23 sept. 2019 a las 10:20, Piotr Zarzycki (<
piotrzarzyck...@gmail.com>) escribió:

> Hi Carlos,
>
> Here you have settings.xml which I'm using. Please try this one with
> Approve script [1]. Pay attention in it that I have put there staging
> artifacts link, so you know what I'm talking about in the next release.
> According to what Josh is saying this settings with staging artifacts
> shouldn't be required, but still I would like to try that idea.
>
> Don't forget in approve script modify target build_maven and change exec
> which is starting royale-asjs build to:
>
> <exec executable="${mvn}"
> dir="${basedir}/${maven.package.url.name}/royale-asjs"
> failonerror="true" >
> <arg value="-P"/>
> <arg value="generate-swcs-for-swf,main"/>
>             <arg value="clean" />
>             <arg value="install" />
> </exec>
>
> Let me know if it helps.
>
> [1] https://paste.apache.org/gfift
>
> Thanks,
> Piotr
>
> niedz., 22 wrz 2019 o 19:24 Carlos Rovira <carlosrov...@apache.org>
> napisał(a):
>
> > Hi,
> >
> > yes, I was not able to build even using -s settings-template.xml.
> > I tried adding it in the Approve xml workflow code and trying to build
> > directly with maven with a clean .m2
> > In exchange, If I try to build in my usual royale repo folder as usual
> from
> > clean, it works all ok
> > As well I tried commenting/uncommenting environment vars in my
> > .bash_profile
> >
> > thanks
> >
> >
> >
> >
> > El dom., 22 sept. 2019 a las 16:10, Josh Tynjala (<
> > joshtynj...@bowlerhat.dev>)
> > escribió:
> >
> > > That was my original assumption, but it sounds like Carlos had issues
> > > trying that.
> > >
> > > - Josh
> > >
> > > On Sunday, September 22, 2019, Piotr Zarzycki <
> piotrzarzyck...@gmail.com
> > >
> > > wrote:
> > > > Josh,
> > > >
> > > > Are you saying that settings-template from repository should be
> enough
> > to
> > > > get stuff working for Carlos? I'm confused right now.
> > > >
> > > > Thanks,
> > > > Piotr
> > > >
> > > > On Sun, Sep 22, 2019, 1:43 AM Josh Tynjala <
> joshtynj...@bowlerhat.dev>
> > > > wrote:
> > > >
> > > >> I'm guessing that the settings template isn't supposed to be
> required
> > > for
> > > >> JS-only builds, similar to the other things discussed in this thread
> > (or
> > > >> the previous RC thread).
> > > >>
> > > >> I know that this file is needed to download the proprietary Adobe
> bits
> > > >> (since Maven doesn't know where to find them by default), and that
> > > seemed
> > > >> to be where your build failed.
> > > >>
> > > >> - Josh
> > > >>
> > > >> On Saturday, September 21, 2019, Carlos Rovira <
> > carlosrov...@apache.org
> > > >
> > > >> wrote:
> > > >> > Thanks Josh,
> > > >> >
> > > >> > I just tried with Approve xml and get similar results (I copy
> here)
> > > >> > I'll try using the setting, I forgot completely about it.. But
> this
> > > means
> > > >> > the instructions to build are wrong right?
> > > >> >
> > > >> >
> > > >> > Here's my console output after try with the Approve xml script
> > (mostly
> > > >> the
> > > >> > same as trying to build with maven):
> > > >> >
> > > >> > [INFO] --- maven-install-plugin:2.5.2:install (default-install) @
> > > >> > compiler-externc ---
> > > >> >
> > > >> > [INFO] Installing
> > > >> >
> > > >>
> > > >>
> > >
> > >
> >
> /Users/carlosrovira/Downloads/testrc2/apache-royale-0.9.6-maven-src/royale-compiler/compiler-externc/target/compiler-externc-0.9.6.jar
> > > >> > to
> > > >> >
> > > >>
> > > >>
> > >
> > >
> >
> /Users/carlosrovira/.m2/repository/org/apache/royale/compiler/compiler-externc/0.9.6/compiler-externc-0.9.6.jar
> > > >> >
> > > >> > [INFO] Installing
> > > >> >
> > > >>
> > > >>
> > >
> > >
> >
> /Users/carlosrovira/Downloads/testrc2/apache-royale-0.9.6-maven-src/royale-compiler/compiler-externc/pom.xml
> > > >> > to
> > > >> >
> > > >>
> > > >>
> > >
> > >
> >
> /Users/carlosrovira/.m2/repository/org/apache/royale/compiler/compiler-externc/0.9.6/compiler-externc-0.9.6.pom
> > > >> >
> > > >> > [INFO] Installing
> > > >> >
> > > >>
> > > >>
> > >
> > >
> >
> /Users/carlosrovira/Downloads/testrc2/apache-royale-0.9.6-maven-src/royale-compiler/compiler-externc/target/compiler-externc-0.9.6-tests.jar
> > > >> > to
> > > >> >
> > > >>
> > > >>
> > >
> > >
> >
> /Users/carlosrovira/.m2/repository/org/apache/royale/compiler/compiler-externc/0.9.6/compiler-externc-0.9.6-tests.jar
> > > >> >
> > > >> > [INFO]
> > > >> >
> > > >> > [INFO] ----------------< org.apache.royale.compiler:compiler
> > > >> >>-----------------
> > > >> >
> > > >> > [INFO] Building Apache Royale: Compiler: Compiler 0.9.6
> > > >> > [5/12]
> > > >> >
> > > >> > [INFO] --------------------------------[ jar
> > > >> > ]---------------------------------
> > > >> >
> > > >> > [WARNING] The POM for
> > com.adobe.flash.framework:playerglobal:swc:20.0
> > > is
> > > >> > missing, no dependency information available
> > > >> >
> > > >> > [INFO]
> > > >> >
> > >
> ------------------------------------------------------------------------
> > > >> >
> > > >> > [INFO] Reactor Summary for Apache Royale: Compiler: Parent 0.9.6:
> > > >> >
> > > >> > [INFO]
> > > >> >
> > > >> > [INFO] Apache Royale: Compiler: Parent ....................
> SUCCESS
> > [
> > > >> > 2.102 s]
> > > >> >
> > > >> > [INFO] Apache Royale: Compiler: Compiler-Common ...........
> SUCCESS
> > [
> > > >> > 4.555 s]
> > > >> >
> > > >> > [INFO] Apache Royale: Compiler: Test Utils ................
> SUCCESS
> > [
> > > >> > 0.431 s]
> > > >> >
> > > >> > [INFO] Apache Royale: Compiler: Externc ...................
> SUCCESS
> > [
> > > >> > 9.225 s]
> > > >> >
> > > >> > [INFO] Apache Royale: Compiler: Compiler ..................
> FAILURE
> > [
> > > >> > 0.052 s]
> > > >> >
> > > >> > [INFO] Apache Royale: Compiler: Compiler-JX ...............
> SKIPPED
> > > >> >
> > > >> > [INFO] Apache Royale: Compiler: SWFUtils ..................
> SKIPPED
> > > >> >
> > > >> > [INFO] Apache Royale: Compiler: Debugger ..................
> SKIPPED
> > > >> >
> > > >> > [INFO] Apache Royale: Compiler: OEM Layer .................
> SKIPPED
> > > >> >
> > > >> > [INFO] Apache Royale: Royale Ant Tasks ....................
> SKIPPED
> > > >> >
> > > >> > [INFO] Apache Royale: RoyaleUnit Ant Tasks ................
> SKIPPED
> > > >> >
> > > >> > [INFO] Apache Royale: Royale Maven Plugin .................
> SKIPPED
> > > >> >
> > > >> > [INFO]
> > > >> >
> > >
> ------------------------------------------------------------------------
> > > >> >
> > > >> > [INFO] BUILD FAILURE
> > > >> >
> > > >> > [INFO]
> > > >> >
> > >
> ------------------------------------------------------------------------
> > > >> >
> > > >> > [INFO] Total time:  16.690 s
> > > >> >
> > > >> > [INFO] Finished at: 2019-09-21T15:33:35+02:00
> > > >> >
> > > >> > [INFO]
> > > >> >
> > >
> ------------------------------------------------------------------------
> > > >> >
> > > >> > [ERROR] Failed to execute goal on project compiler: Could not
> > resolve
> > > >> > dependencies for project
> > > org.apache.royale.compiler:compiler:jar:0.9.6:
> > > >> > Failure to find com.adobe.flash.framework:playerglobal:swc:20.0 in
> > > >> > https://repository.apache.org/content/repositories/releases was
> > > cached
> > > >> in
> > > >> > the local repository, resolution will not be reattempted until the
> > > update
> > > >> > interval of apache-release has elapsed or updates are forced ->
> > [Help
> > > 1]
> > > >> >
> > > >> > [ERROR]
> > > >> >
> > > >> > [ERROR] To see the full stack trace of the errors, re-run Maven
> with
> > > the
> > > >> -e
> > > >> > switch.
> > > >> >
> > > >> > [ERROR] Re-run Maven using the -X switch to enable full debug
> > logging.
> > > >> >
> > > >> > [ERROR]
> > > >> >
> > > >> > [ERROR] For more information about the errors and possible
> > solutions,
> > > >> > please read the following articles:
> > > >> >
> > > >> > [ERROR] [Help 1]
> > > >> >
> > > >>
> > > >>
> > >
> > >
> >
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> > > >> >
> > > >> > [ERROR]
> > > >> >
> > > >> > [ERROR] After correcting the problems, you can resume the build
> with
> > > the
> > > >> > command
> > > >> >
> > > >> > [ERROR]   mvn <goals> -rf :compiler
> > > >> >
> > > >> >
> > > >> > BUILD FAILED
> > > >> >
> > > >> > /Users/carlosrovira/Downloads/testrc2/ApproveRoyale.xml:778: The
> > > >> following
> > > >> > error occurred while executing this line:
> > > >> >
> > > >> > /Users/carlosrovira/Downloads/testrc2/ApproveRoyale.xml:789: exec
> > > >> returned:
> > > >> > 1
> > > >> >
> > > >> >
> > > >> > Total time: 25 minutes 57 seconds
> > > >> >
> > > >> > macbookpro:testrc2 carlosrovira$
> > > >> >
> > > >>
> > > >> --
> > > >> --
> > > >> Josh Tynjala
> > > >> Bowler Hat LLC <https://bowlerhat.dev>
> > > >>
> > > >
> > >
> > > --
> > > --
> > > Josh Tynjala
> > > Bowler Hat LLC <https://bowlerhat.dev>
> > >
> >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to