Check your environment variables.  If the value of one of them accidentally 
became "set", you could get the results you are getting.

HTH,
-Alex

On 12/11/19, 7:36 AM, "Antonis Kalodimos" <[email protected]> wrote:

    Hi Carlos
    
    My folder structure is like this
    
    D:\ApacheFlex\royale-asjs
    D:\ApacheFlex\royale-compiler
    D:\ApacheFlex\royale-typedefs
    
    While the steps before executing the line
    ant all -Dbuild.noprompt=true -Drelease.target=true
    that failed and previous steps are completed succesfully how can i use the
    royale-asjs with the maven output from previous command that was
    mvn clean install -P option-with-swf  ?
    
    
    Lately not even the installations from npm  working in the moonshine.
    
    
    
    
    
    Στις Τετ, 11 Δεκ 2019 στις 5:12 μ.μ., ο/η Carlos Rovira <
    [email protected]> έγραψε:
    
    > 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 (<
    > [email protected]>) 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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fraw.githubusercontent.com%2Fgoogle%2Fclosure-compiler%2Fmaster%2Fcontrib%2Fexterns%2Face-1.2.3.js&amp;data=02%7C01%7Caharui%40adobe.com%7C04081e6070804d3ec2d608d77e4fea8d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637116754016698417&amp;sdata=isKG5k%2FLO1FTEWjq6neAjmIFXlmavu3lGhmp0A9bMY4%3D&amp;reserved=0
    > >       [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 <
    > > [email protected]> έγραψε:
    > >
    > > > 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://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgist.github.com%2Fcarlosrovira%2F200753108de263fa43e80d3228213509&amp;data=02%7C01%7Caharui%40adobe.com%7C04081e6070804d3ec2d608d77e4fea8d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637116754016698417&amp;sdata=bgGinRN5XkBdGoGDhCZYU%2BpLXQCt%2Fu%2FORoYDsjpYdDM%3D&amp;reserved=0
    > > > [2]
    > > >
    > >
    > 
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fwiki%2FBuild-Apache-Royale-with-Maven&amp;data=02%7C01%7Caharui%40adobe.com%7C04081e6070804d3ec2d608d77e4fea8d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637116754016698417&amp;sdata=ndEdWiOF4FuCGkaF7O9rORRA3rIj0tDbdQPdsvH05eE%3D&amp;reserved=0
    > > >
    > > >
    > > > El mié., 11 dic. 2019 a las 5:44, Alex Harui 
(<[email protected]
    > > >)
    > > > escribió:
    > > >
    > > > > What errors are you currently getting?
    > > > >
    > > > > On 12/10/19, 5:41 PM, "Antonis Kalodimos" <
    > > [email protected]>
    > > > > 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
    > > > 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C04081e6070804d3ec2d608d77e4fea8d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637116754016698417&amp;sdata=nN8E%2FWq%2BVhZt5F6aZUB4er8r1Nl4BSfw0thatc%2BqxiU%3D&amp;reserved=0
    > > >
    > >
    >
    >
    > --
    > Carlos Rovira
    > 
https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&amp;data=02%7C01%7Caharui%40adobe.com%7C04081e6070804d3ec2d608d77e4fea8d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637116754016698417&amp;sdata=nN8E%2FWq%2BVhZt5F6aZUB4er8r1Nl4BSfw0thatc%2BqxiU%3D&amp;reserved=0
    >
    

Reply via email to