[Red5] build.xml setup problems

Emmanuel Okyere eokyere at gmail.com
Tue Feb 13 05:20:31 EST 2007


there's a way to target 1.5, per this link
http://osflash.org/pipermail/red5_osflash.org/2007-January/008516.html

no need to edit your build file though; just add configure the
property on the cmd line as:

ant -Djava.target_version=1.5

cheers,
-- eokyere

On 2/13/07, Emmanuel Okyere <eokyere at gmail.com> wrote:
> it is due to a generally bad idea by the proj commiters to force
> default compile environment to a bleeeeding edge jdk
>
> -- eokyere
>
> On 2/13/07, morten hundevad <hvdogfood at hotmail.com> wrote:
> > Hi all
> > After upgreating from 0.5 to 0.6rc2
> >
> > i am now unable to build uding "ant server" command
> >
> > ---------------------------------------------------------------------------------------------------------------------------------
> > C:\Programmer\Red5>ant server
> > Unable to locate tools.jar. Expected to find it in
> > C:\Programmer\Java\jre1.6.0\lib\tools.jar
> > Buildfile: build.xml
> >      [echo] java.home is C:\Programmer\Java\jre1.6.0 and the target version
> > is 1.6
> >
> > server:
> >      [echo] java.home is C:\Programmer\Java\jre1.6.0 and the target version
> > is 1.6
> >
> > -java6.check:
> >
> > -junit.check:
> >
> > prepare:
> >
> > compile:
> >      [echo] Javac version: 1.6
> >      [echo] Compiler adapter name: modern
> >      [echo] java.home is C:\Programmer\Java\jre1.6.0 and the target version
> > is 1.6
> >
> > compile_core:
> >     [javac] Compiling 364 source files to C:\Programmer\Red5\bin
> >
> > BUILD FAILED
> > C:\Programmer\Red5\build.xml:755: The following error occurred while
> > executing this line:
> > C:\Programmer\Red5\build.xml:156: The following error occurred while
> > executing this line:
> > C:\Programmer\Red5\build.xml:287: Error running javac.exe compiler
> >
> > Total time: 1 second
> > C:\Programmer\Red5>
> > ---------------------------------------------------------------------------------------------------------------------------------
> >
> > i think it is a problem seting up the build variable ? can anyone give me a
> > working eksamble ? or maby just inform me where to find this info ?
> >
> > Morten
> >
> > _________________________________________________________________
> > Opret en personlig blog og del dine billeder på MSN Spaces:
> > http://spaces.msn.com/
> >
> >
> >
> > _______________________________________________
> > Red5 mailing list
> > Red5 at osflash.org
> > http://osflash.org/mailman/listinfo/red5_osflash.org
> >
> >
>
>
> --
> blog -- http://eokyere.blogspot.com
> RIFE Framework -- http://rifers.org
> RIFE Training      -- http://rifers.org/training
>
> Mohandas Gandhi - "You must be the change you wish to see in the world."
>


-- 
blog -- http://eokyere.blogspot.com
RIFE Framework -- http://rifers.org
RIFE Training      -- http://rifers.org/training

Mohandas Gandhi - "You must be the change you wish to see in the world."



More information about the Red5 mailing list