How to compile bbb-web?

251 views
Skip to first unread message

Eric Christopher

unread,
Feb 24, 2013, 2:56:56 AM2/24/13
to bigblueb...@googlegroups.com
I want to compile bbb-web and follow the instruction in this link

but it seems some program is needed to compile it
(what I found is grails)

In my error it said that it need jsecurity which is one of grails plugin (after I googling)

is there any other program that is needed to compile it?

xiaguang Chen

unread,
Feb 24, 2013, 3:10:57 AM2/24/13
to bigblueb...@googlegroups.com
U could use gradle script int the project to build bbb-web

2013/2/24 Eric Christopher <eric...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Eric Christopher

unread,
Feb 24, 2013, 3:54:10 AM2/24/13
to bigblueb...@googlegroups.com
do you mean build.gradle??

markos calderon

unread,
Feb 25, 2013, 1:38:41 AM2/25/13
to bigblueb...@googlegroups.com
Hi there,

A couple of questions:

Are you working with 0.8 tag or master branch?
Just in case, the instructions that you are following are for 0.8 development...

Which version of grails do you have? 

Did you run "gradle resolveDeps" before running "grails -Dserver.port=8888 run-app"?

- Markos




--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
- Markos
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BigBlueButton Developer
http://about.me/markoscalderon
"A programmer is just a tool which converts caffeine into code"

xiaguang Chen

unread,
Mar 2, 2013, 10:43:54 PM3/2/13
to bigblueb...@googlegroups.com
yes, you could view the wiki in bbb googlecode site, there are more details for building bbb.
But, which version for gradle that you choosed is very important,
In my memory, you can not use the gradle latest version.

2013/2/24 Eric Christopher <eric...@gmail.com>

Eric Christopher

unread,
Mar 6, 2013, 11:05:00 AM3/6/13
to bigblueb...@googlegroups.com
Sorry I just try some another way but it didn't work
my grails 1.1.1
gradle 0.8
flex 4.5.0
groovy 1.6.5
I working in master branch

And now I still try this link

and it seems I have same problem with this link when I want to 
grails install-plugin jsecurity

so I still try to compile it

And maybe I'll try this after I solve jsecurity problem

Eric Christopher

unread,
Mar 6, 2013, 9:44:04 PM3/6/13
to bigblueb...@googlegroups.com
this is the error I found when I want to download jsecurity from repository

firstuser@bbb-vm-20121108-16:~/.grails/1.1.1$ grails list-pluginsWelcome to Grails 1.1.1 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /home/firstuser/dev/tools/grails-1.1.1

Base Directory: /home/firstuser/.grails/1.1.1
Running script /home/firstuser/dev/tools/grails-1.1.1/scripts/ListPlugins_.groovy
Environment set to development
Configured HTTP proxy: 192.168.0.64:3128
Reading remote plugin list ...

Plug-ins available in the core repository are listed below:
-------------------------------------------------------------

dummy               <0.1 (?)>       --  Plugin summary/headline
hibernate           <1.3.8>          --  Hibernate for Grails
tomcat              <1.3.8>          --  Apache Tomcat plugin for Grails
webflow             <1.3.8.BUILD-SNAPSHOT> --  Spring Web Flow Plugin

Reading remote plugin list ...

Plug-ins available in the default repository are listed below:
-------------------------------------------------------------

No plugins found in repository: https://svn.codehaus.org/grails-plugins

Plug-ins you currently have installed are listed below:
-------------------------------------------------------------

You do not have any plugins installed.

To find more info about plugin type 'grails plugin-info [NAME]'

To install type 'grails install-plugin [NAME] [VERSION]'

For further info visit http://grails.org/Plugins

firstuser@bbb-vm-20121108-16:~/.grails/1.1.1$ grails plugin-info jsecurity
Welcome to Grails 1.1.1 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /home/firstuser/dev/tools/grails-1.1.1

Base Directory: /home/firstuser/.grails/1.1.1
Running script /home/firstuser/dev/tools/grails-1.1.1/scripts/PluginInfo_.groovy
Environment set to development
Reading remote plugin list ...

--------------------------------------------------------------------------
Information about Grails plugin
--------------------------------------------------------------------------
Reading remote plugin list ...
Reading remote plugin list ...
Plugin with name 'jsecurity' was not found in the configured repositories


And this is error I found when I want to install-plugin jsecurity I download

firstuser@bbb-vm-20121108-16:~/.grails/1.1.1$ grails install-plugin ~/.grails/1.1.1/plugins/grails-jsecurity-0.4.1.zip 
Welcome to Grails 1.1.1 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /home/firstuser/dev/tools/grails-1.1.1

Base Directory: /home/firstuser/.grails/1.1.1
/home/firstuser/.grails/1.1.1 does not appear to be part of a Grails application.
The following commands are supported outside of a project:
create-app
create-plugin
help
list-plugins
package-plugin
plugin-info
set-proxy
Run 'grails help' for a complete list of available scripts.
firstuser@bbb-vm-20121108-16:~/.grails/1.1.1$
 

Eric Christopher

unread,
Mar 8, 2013, 9:58:32 PM3/8/13
to bigblueb...@googlegroups.com
Finally I solve my problem about jsecurity
But when I run grails -Dserver.port=8888 run-app
I get this error

Welcome to Grails 1.1.1 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /home/firstuser/dev/tools/grails-1.1.1

Base Directory: /home/firstuser/dev/bigbluebutton/bigbluebutton-web
Running script /home/firstuser/dev/tools/grails-1.1.1/scripts/RunApp.groovy
Environment set to development
Configured HTTP proxy: 192.168.0.64:3128
  [groovyc] Compiling 11 source files to /home/firstuser/.grails/1.1.1/projects/bigbluebutton-web/classes
  [groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Compile error during compilation with javac.
  [groovyc] error: error reading /home/firstuser/dev/bigbluebutton/bigbluebutton-web/lib/junit-4.8.2.jar; error in opening zip file
  [groovyc] error: error reading /home/firstuser/dev/bigbluebutton/bigbluebutton-web/lib/commons-lang-2.5.jar; error in opening zip file
  [groovyc] error: error reading /home/firstuser/dev/bigbluebutton/bigbluebutton-web/lib/commons-pool-1.5.6.jar; error in opening zip file
  [groovyc] error: error reading /home/firstuser/dev/bigbluebutton/bigbluebutton-web/lib/jedis-2.0.0.jar; error in opening zip file
  [groovyc] error: error reading /home/firstuser/dev/bigbluebutton/bigbluebutton-web/lib/gson-1.7.1.jar; error in opening zip file
  [groovyc] 5 errors
  [groovyc] 
  [groovyc] 
  [groovyc] 1 error
: Compilation Failed
at org.codehaus.groovy.ant.Groovyc.compile(Groovyc.java:807)
at org.codehaus.groovy.ant.Groovyc.execute(Groovyc.java:540)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at _GrailsCompile_groovy$_run_closure3_closure7.doCall(_GrailsCompile_groovy:102)
at _GrailsCompile_groovy$_run_closure3_closure7.doCall(_GrailsCompile_groovy)
at _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:274)
at _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy)
at _GrailsCompile_groovy$_run_closure3.doCall(_GrailsCompile_groovy:89)
at _GrailsCompile_groovy$_run_closure2.doCall(_GrailsCompile_groovy:55)
at _GrailsPackage_groovy$_run_closure2_closure9.doCall(_GrailsPackage_groovy:79)
at _GrailsPackage_groovy$_run_closure2_closure9.doCall(_GrailsPackage_groovy)
at _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:274)
at _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy)
at _GrailsPackage_groovy$_run_closure2.doCall(_GrailsPackage_groovy:78)
at RunApp$_run_closure1.doCall(RunApp.groovy:28)
at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)
at gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
at gant.Gant.withBuildListeners(Gant.groovy:344)
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
at gant.Gant.dispatch(Gant.groovy:334)
at gant.Gant.this$2$dispatch(Gant.groovy)
at gant.Gant.invokeMethod(Gant.groovy)
at gant.Gant.processTargets(Gant.groovy:495)
at gant.Gant.processTargets(Gant.groovy:480)
Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Compile error during compilation with javac.
error: error reading /home/firstuser/dev/bigbluebutton/bigbluebutton-web/lib/junit-4.8.2.jar; error in opening zip file
error: error reading /home/firstuser/dev/bigbluebutton/bigbluebutton-web/lib/commons-lang-2.5.jar; error in opening zip file
error: error reading /home/firstuser/dev/bigbluebutton/bigbluebutton-web/lib/commons-pool-1.5.6.jar; error in opening zip file
error: error reading /home/firstuser/dev/bigbluebutton/bigbluebutton-web/lib/jedis-2.0.0.jar; error in opening zip file
error: error reading /home/firstuser/dev/bigbluebutton/bigbluebutton-web/lib/gson-1.7.1.jar; error in opening zip file
5 errors


1 error

at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:296)
at org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollector.java:143)
at org.codehaus.groovy.tools.javac.JavacJavaCompiler.addJavacError(JavacJavaCompiler.java:89)
at org.codehaus.groovy.tools.javac.JavacJavaCompiler.compile(JavacJavaCompiler.java:71)
at org.codehaus.groovy.tools.javac.JavaAwareCompilationUnit.gotoPhase(JavaAwareCompilationUnit.java:89)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:476)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:443)
at org.codehaus.groovy.tools.FileSystemCompiler.compile(FileSystemCompiler.java:57)
at org.codehaus.groovy.tools.FileSystemCompiler.doCompilation(FileSystemCompiler.java:173)
at org.codehaus.groovy.ant.Groovyc.compile(Groovyc.java:792)
... 26 more
--- Nested Exception ---
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, Compile error during compilation with javac.
error: error reading /home/firstuser/dev/bigbluebutton/bigbluebutton-web/lib/junit-4.8.2.jar; error in opening zip file
error: error reading /home/firstuser/dev/bigbluebutton/bigbluebutton-web/lib/commons-lang-2.5.jar; error in opening zip file
error: error reading /home/firstuser/dev/bigbluebutton/bigbluebutton-web/lib/commons-pool-1.5.6.jar; error in opening zip file
error: error reading /home/firstuser/dev/bigbluebutton/bigbluebutton-web/lib/jedis-2.0.0.jar; error in opening zip file
error: error reading /home/firstuser/dev/bigbluebutton/bigbluebutton-web/lib/gson-1.7.1.jar; error in opening zip file
5 errors


1 error

at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:296)
at org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollector.java:143)
at org.codehaus.groovy.tools.javac.JavacJavaCompiler.addJavacError(JavacJavaCompiler.java:89)
at org.codehaus.groovy.tools.javac.JavacJavaCompiler.compile(JavacJavaCompiler.java:71)
at org.codehaus.groovy.tools.javac.JavaAwareCompilationUnit.gotoPhase(JavaAwareCompilationUnit.java:89)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:476)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:443)
at org.codehaus.groovy.tools.FileSystemCompiler.compile(FileSystemCompiler.java:57)
at org.codehaus.groovy.tools.FileSystemCompiler.doCompilation(FileSystemCompiler.java:173)
at org.codehaus.groovy.ant.Groovyc.compile(Groovyc.java:792)
at org.codehaus.groovy.ant.Groovyc.execute(Groovyc.java:540)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at _GrailsCompile_groovy$_run_closure3_closure7.doCall(_GrailsCompile_groovy:102)
at _GrailsCompile_groovy$_run_closure3_closure7.doCall(_GrailsCompile_groovy)
at _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:274)
at _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy)
at _GrailsCompile_groovy$_run_closure3.doCall(_GrailsCompile_groovy:89)
at _GrailsCompile_groovy$_run_closure2.doCall(_GrailsCompile_groovy:55)
at _GrailsPackage_groovy$_run_closure2_closure9.doCall(_GrailsPackage_groovy:79)
at _GrailsPackage_groovy$_run_closure2_closure9.doCall(_GrailsPackage_groovy)
at _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:274)
at _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy)
at _GrailsPackage_groovy$_run_closure2.doCall(_GrailsPackage_groovy:78)
at RunApp$_run_closure1.doCall(RunApp.groovy:28)
at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)
at gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
at gant.Gant.withBuildListeners(Gant.groovy:344)
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
at gant.Gant.dispatch(Gant.groovy:334)
at gant.Gant.this$2$dispatch(Gant.groovy)
at gant.Gant.invokeMethod(Gant.groovy)
at gant.Gant.processTargets(Gant.groovy:495)
at gant.Gant.processTargets(Gant.groovy:480)
Compilation error: Compilation Failed
firstuser@bbb-vm-20121108-16:~/dev/bigbluebutton/bigbluebutton-web$

My java version is 1.6.0_24

Eric Christopher

unread,
Mar 11, 2013, 11:27:52 AM3/11/13
to bigblueb...@googlegroups.com
Finally I can solve this
for future reader who has same problem with me

Just download that 5 jars and replace the original

Oh yeah when I compile bbb-apps, I have the same problem 

Chad Pilkey

unread,
Mar 11, 2013, 11:33:28 AM3/11/13
to bigblueb...@googlegroups.com
Did you run "gradle resolveDeps"? That should download the jars correctly.

Eric Christopher

unread,
Mar 11, 2013, 11:46:16 PM3/11/13
to bigblueb...@googlegroups.com
Yeah  I run "gradle resolveDeps" before but when I run them
the jar can't be opened so I try to replace them with the one I download manually and it works

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Regards
Eric (d_frEak)

Eric Christopher

unread,
Mar 12, 2013, 12:15:03 AM3/12/13
to bigblueb...@googlegroups.com
After I compile bbb-web and bbb-apps, I still have IO error
(still try about it)

And I have another question
Should I compile the other project beside bbb-web and bbb-apps?
Because when I run "sudo bbb-conf --clean" it says that there is an error
bigbluebutton-sid.properties not found
(I use the original bigbluebutton VM and before I compile bbb-web and bbb-apps the bigbluebutton is work)

And after I look for it, it in the bbb-voice project
So what project must I compile beside bbb-web and bbb-apps?
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-dev+unsubscribe@googlegroups.com.
To post to this group, send email to bigbluebutton-dev@googlegroups.com.



--
Regards
Eric (d_frEak)

Chad Pilkey

unread,
Mar 12, 2013, 12:41:19 PM3/12/13
to bigblueb...@googlegroups.com
Sometimes when you setup development for bbb-apps it removes the bigbluebutton SIP packages as well.

Try running "sudo apt-get install bbb-sip" (I'm pretty sure that's what the packages is called)
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.



--
Regards
Eric (d_frEak)

Eric Christopher

unread,
Mar 13, 2013, 6:00:40 AM3/13/13
to bigblueb...@googlegroups.com
When i try that it didn't work
but when i run:
sudo bbb-conf -c output
I tell me to run
sudo apt-get install bbb-freeswitch-config
and after that the error is solve

but the IO error still not
Reply all
Reply to author
Forward
0 new messages