You'll find that demo1.jsp is located in
/var/lib/tomcat6/webapps/bigbluebutton/demo/demo1.jsp
If you setup your development environment (using bbb-conf -setup-dev
bbb-web), you'll have a copy of demo1.jsp in
/home/firstuser/dev/bbb-web/web-app/demo/demo1.jsp
If you are running tomcat6, you'll need to edit the first demo1.jsp.
If you are running the development version (i.e. using ant), you'll
need to edit the second version.
Hope this helps,... Fred
--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To post to this group, send email to bigblueb...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.
I'm assuming you are running the BigBlueButton VM (which doubles as
the development environment) running under VMWare player. I'm also
assuming that you are not very familiar with Unix commands. I can
sketch out below the outline of what you can do to edit demo1.jsp, but
if these commands are unfamiliar to you, you'll need to google a bit
about how Unix works -- especially file permissions.
First, within the VM, use the command
bbb-conf --setup-samba
This will share the /home/firstuser account. You can then checkout
the source for bbb-web using the command
bbb-conf --setup-dev bbb-web
Next, stop the tomcat6 server
sudo /etc/init.d/tomcat6 stop
then
cd ~/dev/bbb-web
ant
You'll now be running the bbb-web from the firstuser directory.
Because samba is now setup, you can browse from within Windows to
\\vm_ip\firstuser\dev\bbb-web\web-app\demo
and edit demo1.jsp. Once you save the changes, grails will
automatically recompile demo1.jsp and you'll see the updated page in
your web browser. (Note: it sometimes take about 30 seconds before
the servlet container will noticed the source has changed. I usually
make a change to the visible text in the web page (such as changing a
title).
At this point you should be able to make changes (from within Windows
to the VM) and see the results.
If your wondering how to deploy these changes to another server, I
recommend using google to look for tutorials on setting up tomcat6 and
deploying a simple hello world web application.
Regards,... Fred
On Feb 15, 6:06 am, Emin Hasanov <emin...@gmail.com> wrote:
> Hi,
> How can i find /var/lib/tomcat6/webapps/bigbluebutton/demo/demo1.jsp File?
> I want to find this file through windows
>
> > bigbluebutton-...@googlegroups.com<bigbluebutton-dev%2Bunsubscr i...@googlegroups.com>
To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.
When you did the command
bbb-conf --setup-dev bbb-web
it checked out a copy of bbb-web into the /home/firstuser/dev/bbb-web
directory. This made it possible the source accessible from within
your home directory, and thus accessible when you accessed your home
directory using samba from Windows.
If you change
/home/firstuser/dev/bbb-web/web-app/demo/demo1.jsp
You'll need to leave grails running to have it recompile and view the
change. Alternatively, you can stop grails (Ctrl-C) and start grails
again using the command `ant` to have it immediately recompile. This
should make the changes visible. To recap:
1. setup your development environment
2. stop tomcat6 (this stops sharing the deployed version of bbb-web
in /var/lib/tomca6)
3. start up the version of bbb-web in your home directory using ant
4. edit demo1.jsp
5. open/refresh BigBlueButton using your web browser to your local
IP address
You should be able to cycle through 4 and 5 to edit and see the
changes visible.
> How can i edit the first page where is located this jsp or HTML file?
The first page is actually served from a different directory. You can
find it in
/var/www/bigbluebutton-default
To edit this, your going to need to understand
- Unix permissions
- how to use a unix editor
Google is your friend here again.
Regards,... Fred
On Feb 15, 8:45 am, Emin Hasanov <emin...@gmail.com> wrote:
> OK, Thank you it works great. Bu t when i exit the grails console (Ctrl + C)
> then changes are not visible.
> This way doesn't hampers me.
> But i have another question
> How can i edit the first page where is located this jsp or HTML file?
>
> > > > bigbluebutton-...@googlegroups.com<bigbluebutton-dev%2Bunsubscr i...@googlegroups.com><bigbluebutton-dev%2Bunsubscr
Hi Emin