build error when compiling with red5plugin

5 views
Skip to first unread message

red5_beginner

unread,
Jan 26, 2010, 11:37:16 PM1/26/10
to red5
I finally got the Red5plugin installed....took me 3 days to figure it
out.

Now when I try to compile it I get this error:
BUILD FAILED
C:\Documents and Settings\Administrator\My Documents\Eclipse\source
\build.xml:217: The following error occurred while executing this
line:
C:\Documents and Settings\Administrator\My Documents\Eclipse\source
\build.xml:238: Error running javac.exe compiler

I thought it was a path error so I added this to my path:
C:\Program Files\Java\jdk1.6.0_13\bin
I tested it on the command prompt by typing in "javac" so I know I put
the right path.


What am I doing wrong?

I have a Windows computer.

red5_beginner

unread,
Jan 26, 2010, 11:41:28 PM1/26/10
to red5
When I click on the error it refers me to this line in the build.xml
(that I got from the svn source):

<javac sourcepath="" srcdir="${src.dir}" destdir="${dest.dir}"
classpathref="script.classpath"
optimize="${build.optimize}" verbose="${build.verbose}" fork="$
{build.fork}" nowarn="${build.nowarn}"
deprecation="${build.deprecation}" debug="${debug.state}"
compiler="${compiler}"
source="${java.target_version}" target="${java.target_version}"
memoryMaximumSize="${memory.maximum}"
includes="org/red5/server/script/**" listfiles="false"/>
<echo message="${scripting.using}"/>

The above line is accessing the javac compiler.


I've been following along with the instructions in this video:
http://www.youtube.com/watch?v=N3KYd_Xz_U4

But I am stuck around 7:34 where it says to compile using ANT. I get
the error I mentioned in the above post. :(

I've been working on installing Red5 for 2 weeks. Can someone please
help me?

red5_beginner

unread,
Jan 27, 2010, 12:15:10 AM1/27/10
to red5
BTW, ALL of my PATHS are set correctly.

I think there is a problem in the build.xml file.

<condition property="build.compiler"
value="org.eclipse.jdt.core.JDTCompilerAdapter">
<isset property="eclipse.running"/>
</condition>


<condition property="compiler" value="${build.compiler}$
{java.target_version}">
<equals arg1="${build.compiler}" arg2="javac"/>
</condition>


Maybe in the above lines there is an error and it's pointing to an
incorrect location for the javac?

Also there is a line that says "1.5" but I'm using "1.6":
<condition property="java.target_version" value="1.5">


I think changes need to be made to build.xml to get this to work. Can
someone please tell me what the changes are?

red5_beginner

unread,
Jan 27, 2010, 12:19:31 AM1/27/10
to red5
PS. I have not set the ANT_HOME or ANT_HOME env variables....it looks
like you don't need to set those anymore.

Please correct me if I'm wrong.

Golden Habenero

unread,
Jan 27, 2010, 8:45:21 AM1/27/10
to red5
Hi,

how can I limit the live video feed buffer from red5?
The buffer just gets longer and longer so new clients are getting the live feed at "now" minus a few minutes...


-Eiki

red5_beginner

unread,
Jan 28, 2010, 11:20:23 PM1/28/10
to red5

Golden Habenero

unread,
Jan 29, 2010, 4:35:04 AM1/29/10
to red5in...@googlegroups.com
That link takes me to another thread that has nothing to do with the live buffer?

But you are saying it is fixed in 0.9 final?

cheers
-Eiki

Reply all
Reply to author
Forward
0 new messages