Ant Locales failed to build

260 views
Skip to first unread message

Lakhan Sharma

unread,
Aug 28, 2014, 9:53:46 AM8/28/14
to bigbluebu...@googlegroups.com
Hello everyone!

I am new to bigbluebutton developement.I am struggling to set up the bigbluebutton 0.81 developing environment (client)
I got following  error when running  "ant locales"



Buildfile: build.xml

init-ant-contrib:

locales:
[echo] Checking if locale output dir exists
[echo] Locale output dir does not exists. Creating /home/developer/dev/bigbluebutton/bigbluebutton-client/client/locale
[echo] Determining supported locales.

build-locale:
[echo] Locale dir is /home/developer/dev/bigbluebutton/bigbluebutton-client/locale. Extract locale name.
[echo] Locale name is locale
[echo] Building locale
[echo] Somehow, the dirset for locales is passing the parent (locale) dir.
[echo] We don't want it, so we need to skip it.

build-locale:
[echo] Locale dir is /home/developer/dev/bigbluebutton/bigbluebutton-client/locale/ar_SY. Extract locale name.
[echo] Locale name is ar_SY
[echo] Building ar_SY
[echo] We already have a copy of the framework locale. No need to copy /home/developer/dev/tools/flex/frameworks/locale/ar_SY
[echo] Compiling locale ar_SY
[echo] Start building ar_SY
[echo] **********************************************
[echo] * Did you check bundles.txt and made *
[echo] * all resources listed here? *
[echo] **********************************************
[mxmlc] Loading configuration file /home/developer/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml
[mxmlc] Adobe Flex Compiler (mxmlc)
[mxmlc] Version 4.5.0 build 20967
[mxmlc] Copyright (c) 2004-2011 Adobe Systems, Inc. All rights reserved.
[mxmlc]
[mxmlc] /home/developer/dev/tools/flex-4.5.0.20967/frameworks/flex-config.xml(344): Error: unable to open 'libs/framework.swc'
[mxmlc]
[mxmlc] </runtime-shared-library-path>
[mxmlc]

BUILD FAILED
/home/developer/dev/bigbluebutton/bigbluebutton-client/build.xml:69: The following error occurred while executing this line:
/home/developer/dev/bigbluebutton/bigbluebutton-client/build.xml:133: The following error occurred while executing this line:
/home/developer/dev/bigbluebutton/bigbluebutton-client/build.xml:152: mxmlc task failed


 I have cloned the project from github successfully.Bigbluebutton server is also running fine.

Any  help is highly appreciated!
Thanks

Chad Pilkey

unread,
Aug 28, 2014, 11:47:48 AM8/28/14
to bigbluebu...@googlegroups.com
Could you paste the output of "ls -la ~/dev/tools/flex/frameworks/libs/".

And then also try these commands again:

mkdir -p ~/dev/tools/flex-4.5.0.20967
unzip flex_sdk_4
.5.0.20967_mpl.zip -d flex-4.5.0.20967

The Flex SDK is now unzipped, but you need to modify the permissions to use the Flex tools.

sudo find ~/dev/tools/flex-4.5.0.20967 -type d -exec chmod o+rx '{}' \;
chmod
755 ~/dev/tools/flex-4.5.0.20967/bin/*
sudo chmod -R +r ~/dev/tools/flex-4.5.0.20967

Make sure you only use sudo where it says to. I suspect you're hitting a permission issue.

Chad

Lakhan Sharma

unread,
Aug 29, 2014, 2:35:13 AM8/29/14
to bigbluebu...@googlegroups.com

@Chad. Thanks for the reply and Sorry for my late response.

My Problem got Solved !  I just deleted flex-4.5.0.20967 directory and followed your instructions.
It works for me.

May be there was a permmission problem.

Now when i load my bigbluebutton client it loads successfully but it displays a message-box 
"You may have an old language transtions of bigbluebutton". When i click ok, it redirects me to home page of bigblurbutton.
 I have cleared brower cache.But message still showing.

Chad Pilkey

unread,
Sep 2, 2014, 1:05:36 PM9/2/14
to bigbluebu...@googlegroups.com
The locales all have a version associated with them as seen here, https://github.com/bigbluebutton/bigbluebutton/blob/master/bigbluebutton-client/locale/en_US/bbbResources.properties#L1. The config.xml file also has a version number as seen here, https://github.com/bigbluebutton/bigbluebutton/blob/master/bigbluebutton-client/resources/config.xml.template#L3. When the client loads it checks to see if those two values are the same and displays the warning message if they don't match.

If you check a locale and the version number shows 0.9.0 then you are building off of the master branch and the client won't connect to your server. The solution is to make sure you check out the same branch that is talked about in this documentation, https://code.google.com/p/bigbluebutton/wiki/Developing#Checking_out_the_Source. If your server is 0.81 then you want to build either the "v0.81-release" branch or a branch based off of that one.
Reply all
Reply to author
Forward
0 new messages