Try changing your enviroment settings for the path in such a way that gets
rid of the space in "Program Files" in the path - for instance:
C:\progra~1\Java\jdk1.5.0_09
That was a problem I encountered when I tried my build. Trying to put the
path in quotation "" marks didn't help, only reverting to the eight
character path name under Windows made it possible for things to be found
properly during build.
Hope that helps. :)
Nathan
On Sat, 11 Nov 2006, tom obedlam wrote:
> Hello everyone, I posted before without a response but I haven't been
> able to solve my issue.When I try to compile with ant the build fails
> stating:
>
> BUILD FAILED C:\Program Files\Red5\build.xml:131: Compiler Adapter
> '${build.compiler}' can't
> be found.
>
> I've check my environment variables -
> JAVA_HOME = C:\Program Files\Java\jdk1.5.0_09
> and
> JAVA_VERSION = 1.5
> both confirmed in the command prompt. The ant server has been added to my
> path.
> tool.jar is in my eclipse class path under global entries. I read the
> eclipse and ant FAQs, and tried to use eclipses compiler changing
> build.xml but to no avail. I apologize for this utterly nooby question
> but I am completely new to the world of Java. Any suggestions would be
> greatly appreciated.
>
> thanks for your time and hard work. Bellow is the full cmd prompt
> response when I try to compile with ant.
>
> C:\Program Files>cd red5
>
> C:\Program Files\Red5>ant server
> Buildfile: build.xml
> [echo] java.home is C:\Program Files\Java\jdk1.5.0_09\jre and the target ve
> rsi
> on is ${java.target_version}
>
> -junit.check:
>
> prepare:
>
> compile:
> [echo] Javac version: 1.5
> [echo] Compiler adapter name: ${build.compiler}
> [javac] Compiling 337 source files to C:\Program Files\Red5\bin
>
> BUILD FAILED
> C:\Program Files\Red5\build.xml:131: Compiler Adapter '${build.compiler}'
> can't
> be found.
>
> Total time: 1 second
> C:\Program Files\Red5>
> C:\Program Files\Red5>
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org