You shouldn’t need to adjust anything, and no, it’s not generated. I have the following env vars set:
#!/bin/sh export ROYALE_COMPILER_REPO=/Apache/royale-compiler export AIR_HOME=/Apache/frameworks/AIRSDK_Compiler export PLAYERGLOBAL_HOME=/Apache/frameworks/libs/player export FLASHPLAYER_DEBUGGER=/Apache/frameworks/Flash\ Player\ Debugger.app/Contents/MacOS/Flash\ Player\ Debugger export ROYALE_HOME=/Apache/royale-asjs I’m pretty sure that you don’t need ROYALE_COMPILER_REPO if royale-compiler is in the same parent folder as royale-asjs. You need the Flash ones only if you’re compiling the SWF swcs (which is advisable). HTH, Harbs > On Nov 26, 2020, at 11:18 AM, Edward Stangler <[email protected]> wrote: > > Are the build.xml files automatically generated from some other files? > > Many of them are not seeing the ROYALE_COMPILER_HOME environment variable, so > I have to manually adjust this: > > > <target name="check-transpiler-home" > description="Set ROYALE_COMPILER_HOME to point at the cross-compiler."> > > <available file="${ROYALE_HOME}/js/lib/jsc.jar" > type="file" > property="ROYALE_COMPILER_HOME" > value="${ROYALE_HOME}/js"/> > > > to this: > > > <target name="check-transpiler-home" > description="Set ROYALE_COMPILER_HOME to point at the cross-compiler."> > > <available file="${ROYALE_HOME}/js/lib/jsc.jar" > type="file" > property="ROYALE_COMPILER_HOME" > value="${ROYALE_HOME}/js"/> > > <available file="${env.ROYALE_COMPILER_HOME}/lib/jsc.jar" > type="file" > property="ROYALE_COMPILER_HOME" > value="${env.ROYALE_COMPILER_HOME}"/> > > > And there are a lot of files to modify each time I do this. >
