red5 client compilation

106 views
Skip to first unread message

solomax

unread,
May 27, 2013, 3:23:39 AM5/27/13
to red5in...@googlegroups.com
Hello Paul,

I'm trying to build red5 client (r4646) and make it compatible with server (r4646)
to achive that I do the following:
1) perform svn checkout
2) delete red5-server*.jar from the lib folder
3) copy red5-server.jar (built from sources)
4) start maven build with -Dmaven.buildNumber.doUpdate=false -Dmaven.test.skip=true
Result: build is failed (lots of compilations errors)

Am I doing something wrong?

Thanks in advance!

Mondain

unread,
May 27, 2013, 10:55:07 AM5/27/13
to red5in...@googlegroups.com
The two are probably out-of-sync, i'll look into it.


--
 
---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to red5interest...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
http://gregoire.org/
http://code.google.com/p/red5/

solomax

unread,
May 28, 2013, 12:04:41 AM5/28/13
to red5in...@googlegroups.com
Thanks! :)
Message has been deleted

Stoian Ivanov

unread,
Jun 4, 2013, 7:37:39 AM6/4/13
to red5in...@googlegroups.com
r4647 has similar issues. Does handling 24 files requires a separate build? :(

Stoian Ivanov

unread,
Jun 4, 2013, 7:41:40 AM6/4/13
to red5in...@googlegroups.com
Also, can we have maven auto resolve lib/red-server* form local repo? I think this is doable in the pom ..

Mondain

unread,
Jun 4, 2013, 9:57:51 AM6/4/13
to red5in...@googlegroups.com
I'm not a Maven expert yet, but I'm all for using local (if available) if someone wants to share how to do it.


On Tue, Jun 4, 2013 at 4:41 AM, Stoian Ivanov <st.i...@gmail.com> wrote:
Also, can we have maven auto resolve lib/red-server* form local repo? I think this is doable in the pom ..

--
 
---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to red5interest...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

pejot

unread,
Jun 5, 2013, 9:51:10 AM6/5/13
to red5in...@googlegroups.com
Hi Guys,

should be possible with Maven. I load my local dependencies with the install plugin or just include it at system scope. 

Had to work around a red5 0.8RC1 app not having a lot of the old dependencies in repositories any more:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<executions>
                    <execution>
<id>hack-binary-xml</id>
<phase>initialize</phase>
<configuration>
<file>${basedir}/lib/red5-0-8/xml-apis-2.9.1.jar</file>
<repositoryLayout>default</repositoryLayout>
<groupId>javax.xml.stream</groupId>
<artifactId>com.springsource.javax.xml.stream</artifactId>
<version>1.0.1</version>
<packaging>jar</packaging>
<generatePom>true</generatePom>
</configuration>
<goals>
<goal>install-file</goal>
</goals>
</execution>
</executions>
</plugin>

As system scope:
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15</artifactId>
<version>1.47</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/red5-0-8/bcprov-jdk16-139.jar</systemPath>
</dependency>


The first will install your file if you go maven install:install-file once, than just looks it up locally. Second one will just look it up from the provided jar (hacky but needed in this case).

best
pejot

Mondain

unread,
Jun 5, 2013, 10:45:46 AM6/5/13
to red5in...@googlegroups.com
The simplest way is probably to add the "-o" for Offline to the mvn command; but this assumes you already have all the deps in your local repo.

Paul

solomax

unread,
Jun 7, 2013, 2:54:33 AM6/7/13
to red5in...@googlegroups.com
Hello Paul,

could you please fix the client build?
Or maybe you would like a patch?

solomax

unread,
Jan 30, 2014, 7:36:58 AM1/30/14
to red5in...@googlegroups.com
Hello,

Red5-client has been moved to github, what is the current status of it?
Are there any working maven artifacts available?
Reply all
Reply to author
Forward
0 new messages