[Red5] build.xml fails
Daniel Fischer
eladin at gmail.com
Sat Oct 8 07:48:42 PDT 2005
hey,
i get the same error, what i do is to set the environment variable
JAVA_VERSION=1.4
it doesn't seem to matter too much what it's set to, and this is a
workaround, no solution, but it does it for me ;)
-dan
On 10/7/05, Chris Allen <mrchrisallen at gmail.com> wrote:
> Okay,
>
> As I promosied, I'm including the output of the Ant file that I get
> when running "all". Luke mentioned that the Ant file didn't work for
> him either.
>
> --------------------------------
> Buildfile: Z:\eclipse\workspace\Red5\build.xml
> [echo] java.home is C:\Program Files\Java\jre1.5.0_04 and the
> version is 1.5.0_04 env is C:\Program Files\Java\jdk1.5.0_01
> clean:
> [delete] Deleting directory Z:\eclipse\workspace\Red5\classes
> [delete] Deleting directory Z:\eclipse\workspace\Red5\bin
> prepare:
> [mkdir] Created dir: Z:\eclipse\workspace\Red5\classes
> [mkdir] Created dir: Z:\eclipse\workspace\Red5\bin
> compile:
> [javac] Compiling 63 source files to Z:\eclipse\workspace\Red5\classes
> [javac] javac: invalid target release: ${env.JAVA_VERSION}
> [javac] Usage: javac <options> <source files>
> [javac] where possible options include:
> [javac] -g Generate all debugging info
> [javac] -g:none Generate no debugging info
> [javac] -g:{lines,vars,source} Generate only some debugging info
> [javac] -nowarn Generate no warnings
> [javac] -verbose Output messages about what the
> compiler is doing
> [javac] -deprecation Output source locations where
> deprecated APIs are used
> [javac] -classpath <path> Specify where to find user class files
> [javac] -cp <path> Specify where to find user class files
> [javac] -sourcepath <path> Specify where to find input source files
> [javac] -bootclasspath <path> Override location of bootstrap
> class files
> [javac] -extdirs <dirs> Override location of installed extensions
> [javac] -endorseddirs <dirs> Override location of endorsed
> standards path
> [javac] -d <directory> Specify where to place
> generated class files
> [javac] -encoding <encoding> Specify character encoding used
> by source files
> [javac] -source <release> Provide source compatibility
> with specified release
> [javac] -target <release> Generate class files for
> specific VM version
> [javac] -version Version information
> [javac] -help Print a synopsis of standard options
> [javac] -X Print a synopsis of nonstandard options
> [javac] -J<flag> Pass <flag> directly to the
> runtime system
>
> BUILD FAILED
> Z:\eclipse\workspace\Red5\build.xml:58: Compile failed; see the
> compiler error output for details.
>
> Total time: 6 seconds
> --------------------------------
>
> I have no idea where the compiler output is displayed when running
> this with Eclipse, so I'm not sure what that says.
>
> I also, made sure that I cleaned the project before running this and I
> always get the same results. The build.xml version that I'm using is
> #34.
>
> -Chris
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
More information about the Red5
mailing list