Hi,

not an expert in ant, maybe others could give you more light on this.
Just can say that something is wrong with compiler since this:

<echo>Copying Compiler from ${ROYALE_COMPILER_REPO}</echo>

was translated to

 [echo] Copying Compiler from set

I think ANT expects compiler to be a sibling to framework folder (property=
"ROYALE_COMPILER_REPO" value="${basedir}/../royale-compiler")

do you have that way?



El mié., 11 dic. 2019 a las 14:10, Antonis Kalodimos (<
antonis.kalodi...@gmail.com>) escribió:

> Thank you Carlos for your response response.
> I followed your instructions and after setting the env variables
> PLAYERGLOBAL_VERSION, ROYALE_HOME, ROYALE_COMPILER_HOME,
> ROYALE_TYPEDEFS_HOME that they don't referred in any doc about building
> from source, I re-download the develop branch of these three repos using
> Git-Desktop app, I execute the steps manually from the script you use and
> show me as [1]. The Royale compiler and typedefs finished without errors.
> Going to the last steps the commands
> ant super-clean
> mvn clean install -P option-with-swf
> finished also successfully but when tried the
> ant all -Dbuild.noprompt=true -Drelease.target=true
> ended with an error
> BUILD FAILED
> D:\ApacheFlex\royale-asjs\build.xml:499:
> D:\ApacheFlex\royale-asjs\set\compiler\lib does not exist.
>
>
> last lines of output if it helps are
>
> ...
> main:
>      [echo] swc-date is 12/11/19 14:52 +0200
>
> download:
>     [mkdir] Created dir: D:\ApacheFlex\royale-typedefs\ace\target\downloads
>       [get] Getting:
>
> https://raw.githubusercontent.com/google/closure-compiler/master/contrib/externs/ace-1.2.3.js
>       [get] To:
> D:\ApacheFlex\royale-typedefs\ace\target\downloads\ace-1.2.3.js
>      [echo] swc-date is 12/11/19 14:52 +0200
>
> double-check-file:
>      [echo] ${env.ROYALE_DOWNLOAD_CACHE}
>      [echo] Need file: ${still_no_file}
>
> get-from-cache-if-needed:
>      [echo] swc-date is 12/11/19 14:52 +0200
>
> fail-if-not-found:
>
> preprocess:
>
> externc:
>      [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
>      [java] 2.4801196 seconds
>
> postprocess:
>
> compc:
>      [copy] Copying 1 file to D:\ApacheFlex\royale-typedefs\ace\target
>      [java] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
>      [java] args:
>      [java] +royalelib=externs/frameworks
>      [java] -targets=SWF
>      [java]
>
> -external-library-path+=D:\ApacheFlex\royale-typedefs\ace/../js/target/js.swc
>      [java]
> -load-config=D:\ApacheFlex\royale-typedefs\ace/target/compile-as-config.xml
>      [java] -metadata.date=12/11/19 14:52 +0200
>      [java] -metadata.dateFormat=MM/dd/yy HH:mm Z
>      [java] -output=D:\ApacheFlex\royale-typedefs\ace/target/ace-1.2.3.swc
>      [java] target:SWF
>      [java] COMPC
>      [java] Loading configuration:
> D:\ApacheFlex\royale-typedefs\ace\target\compile-as-config.xml
>      [java]
>      [java] 101328 bytes written to
> D:\ApacheFlex\royale-typedefs\ace\target\ace-1.2.3.swc in 3,042 seconds
>      [java] 4.3610618 seconds
>
> main:
>
> check-for-airsdk:
>
> ask-or-fail:
>      [echo] This folder appears to be an IDE-compatible Royale SDK.
>     [input] Do you want to download and setup the build environment? (y,
> [n])
> y
>
> ask-about-downloading-repos:
>
> block-main:
>
> check-if-ide:
>
> check-playerglobal-home:
>      [echo] PLAYERGLOBAL_HOME is D:\ApacheFlex\player
>      [echo] playerglobal.version is 11.1
>      [echo] playerglobal.swc is D:\ApacheFlex\player/11.1/playerglobal.swc
>
> check-air-home:
>      [echo] AIR_HOME is D:\ApacheFlex\AdobeAIR16
>
> check-compiler-home:
>
> check-compile-env:
>
> thirdparty-downloads:
>
> create-description:
>
> check-typedefs-home:
>      [echo] ROYALE_TYPEDEFS_HOME is D:\ApacheFlex\royale-typedefs
> [available] DEPRECATED - <available> used to override an existing property.
> [available]   Build file should not reuse the same property name for
> different values.
>      [echo] basedir is D:\ApacheFlex\royale-asjs
>
> copy-externs:
>     [mkdir] Created dir: D:\ApacheFlex\royale-asjs\js\libs
>      [copy] Copying 17 files to D:\ApacheFlex\royale-asjs\js\libs
>
> check_jquery:
>
> rename_jquery:
>      [move] Moving 1 file to D:\ApacheFlex\royale-asjs\js\libs
>
> copy-compiler:
>     [mkdir] Created dir: D:\ApacheFlex\royale-asjs\lib
>      [echo] Copying Compiler from set
>
> BUILD FAILED
> D:\ApacheFlex\royale-asjs\build.xml:499:
> D:\ApacheFlex\royale-asjs\set\compiler\lib does not exist.
>
> Total time: 11 minutes 45 seconds
>
>
>
> Thank you
>
>
>
>
>
>
> Στις Τετ, 11 Δεκ 2019 στις 11:41 π.μ., ο/η Carlos Rovira <
> carlosrov...@apache.org> έγραψε:
>
> > Hi Antonis,
> >
> > some of us use to build (daily) he 3 repos with Maven (since is what we
> use
> > then to work with in our projects) and then run ANT in asjs to get the
> SDK
> > build (for IDEs). We hope to fix soon Maven distribution so all of that
> can
> > be done just with Maven.
> >
> > Here's the script I use [1] (Mac version, if you're on Windows I think
> you
> > can convert to that SO)
> >
> > Basically:
> >
> >    - Maven : Updated Maven build instructions are here [2]. Environment
> >    vars required: only FLASHPLAYER_DEBUGGER
> >    - Ant: You just need to run from royale-asjs the following command:
> "ant
> >    all -Dbuild.noprompt=true -Drelease.target=true". Env vars required:
> >    FLASHPLAYER_DEBUGGER, PLAYERGLOBAL_HOME, PLAYERGLOBAL_VERSION,
> >    ROYALE_HOME, ROYALE_COMPILER_HOME, ROYALE_TYPEDEFS_HOME
> >
> >
> > HTH
> >
> > Carlos
> >
> > [1]
> https://gist.github.com/carlosrovira/200753108de263fa43e80d3228213509
> > [2]
> >
> https://github.com/apache/royale-asjs/wiki/Build-Apache-Royale-with-Maven
> >
> >
> > El mié., 11 dic. 2019 a las 5:44, Alex Harui (<aha...@adobe.com.invalid
> >)
> > escribió:
> >
> > > What errors are you currently getting?
> > >
> > > On 12/10/19, 5:41 PM, "Antonis Kalodimos" <
> antonis.kalodi...@gmail.com>
> > > wrote:
> > >
> > >     How can be used the source folder mirrored with git in my local pc
> as
> > > sdk
> > >     for using royale?
> > >
> > >     Is the ant or mavan run without problems from inside this folder?
> > >
> > >     I follow the instructions from readme and both failed for various
> > > reasons.
> > >
> > >     Is the readme instructions current?
> > >
> > >     What are the best requirements for environent vars needed for
> trouble
> > > free
> > >     compilation?
> > >
> > >     (I have never achieve to compile it even with maven and now with
> the
> > >     wrapper mvnw or ant and the long process complete without errors)
> > >
> > >     Thank you.
> > >
> > >
> > >
> >
> > --
> > Carlos Rovira
> > http://about.me/carlosrovira
> >
>


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

Reply via email to