I have this error when i run ant locales. Please someone can help me ?

343 views
Skip to first unread message

brahmi amine

unread,
Dec 28, 2014, 6:08:08 AM12/28/14
to bigblueb...@googlegroups.com
root@amine-HP-Pavilion-dv7-Notebook-PC:/home/amine/bigbluebutton/bbb/bigbluebutton-client# ant locales
Buildfile: /home/amine/bigbluebutton/bbb/bigbluebutton-client/build.xml
  [taskdef] Could not load definitions from resource flexTasks.tasks. It could not be found.

init-ant-contrib:

locales:
     [echo] Checking if locale output dir exists
     [echo] Locale output dir does not exists. Creating /home/amine/bigbluebutton/bbb/bigbluebutton-client/client/locale
     [echo] Determining supported locales.
  [taskdef] Could not load definitions from resource flexTasks.tasks. It could not be found.

build-locale:
     [echo] Locale dir is /home/amine/bigbluebutton/bbb/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.
  [taskdef] Could not load definitions from resource flexTasks.tasks. It could not be found.

build-locale:
     [echo] Locale dir is /home/amine/bigbluebutton/bbb/bigbluebutton-client/locale/ar_SY. Extract locale name.
     [echo] Locale name is ar_SY
     [echo] Building ar_SY
     [echo] No copy of the framework locale. Copying /home/amine/tools/flex4.5.0.20967/frameworks/locale/ar_SY

BUILD FAILED
/home/amine/bigbluebutton/bbb/bigbluebutton-client/build.xml:69: The following error occurred while executing this line:
/home/amine/bigbluebutton/bbb/bigbluebutton-client/build.xml:129: Execute failed: java.io.IOException: Cannot run program "copylocale": error=2, No such file or directory
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)
    at java.lang.Runtime.exec(Runtime.java:617)
    at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:41)
    at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:428)
    at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:442)
    at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:628)
    at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
    at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
    at net.sf.antcontrib.logic.IfTask.execute(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
    at net.sf.antcontrib.logic.IfTask.execute(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:435)
    at org.apache.tools.ant.Target.performTasks(Target.java:456)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:440)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
    at net.sf.antcontrib.logic.ForEach.executeSequential(Unknown Source)
    at net.sf.antcontrib.logic.ForEach.execute(Unknown Source)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
    at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    at org.apache.tools.ant.Task.perform(Task.java:348)
    at org.apache.tools.ant.Target.execute(Target.java:435)
    at org.apache.tools.ant.Target.performTasks(Target.java:456)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
    at org.apache.tools.ant.Main.runBuild(Main.java:851)
    at org.apache.tools.ant.Main.startAnt(Main.java:235)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.io.IOException: error=2, No such file or directory
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:186)
    at java.lang.ProcessImpl.start(ProcessImpl.java:130)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
    ... 80 more

Kent B

unread,
Dec 28, 2014, 9:53:34 AM12/28/14
to bigblueb...@googlegroups.com
Hello
Just a suggestion
Maybe you should use "firstuser" as user when you run the dev version
Kent

Richard Alam

unread,
Dec 28, 2014, 10:30:20 AM12/28/14
to BigBlueButton-dev
What do you get when you run this command?

$ mxmlc -version
Version 4.13.0 build 20140701

Seems like your setup has some permission or path problems. It could not find or execute copylocale.

Got through the instructions again specifically the Flex SDK part.


Richard  

--
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.
For more options, visit https://groups.google.com/d/optout.



--

brahmi amine

unread,
Dec 28, 2014, 5:27:36 PM12/28/14
to bigblueb...@googlegroups.com

Thnx Richard but it appear another problem i have a exception when i run ant locales :

build-locale:
     [echo] Locale dir is /home/amine/bigbluebutton/BBB/bigbluebutton/bigbluebutton-client/locale/fi_FI. Extract locale name.
     [echo] Locale name is fi_FI
     [echo] Building fi_FI
     [echo] We already have a copy of the framework locale. No need to copy /home/amine/tools/flex/frameworks/locale/fi_FI
     [echo] Compiling locale fi_FI
     [echo] Start building fi_FI
     [echo] **********************************************
     [echo] * Did you check bundles.txt and made *
     [echo] * all resources listed here? *
     [echo] **********************************************
    [mxmlc] Loading configuration file /home/amine/tools/flex-4.5.0.20967/frameworks/flex-config.xml
    [mxmlc] Required RSLs:
    [mxmlc]     http://fpdownload.adobe.com/pub/swz/flex/4.5.0.20967/framework_4.5.0.20967.swz with 1 failover.
    [mxmlc] /home/amine/bigbluebutton/BBB/bigbluebutton/bigbluebutton-client/client/locale/fi_FI_resources.swf (45944 bytes)
Caught an exception while logging the end of the build.  Exception was:
java.lang.OutOfMemoryError: PermGen space
    at java.lang.Throwable.printStackTrace(Throwable.java:643)
    at java.lang.Throwable.printStackTrace(Throwable.java:634)
    at org.apache.tools.ant.Main.runBuild(Main.java:878)

    at org.apache.tools.ant.Main.startAnt(Main.java:235)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
PermGen space

Fred Dixon

unread,
Dec 28, 2014, 8:30:34 PM12/28/14
to BigBlueButton-dev
Hi Brahmi,

> Caught an exception while logging the end of the build.  Exception was:
java.lang.OutOfMemoryError: PermGen space

The steps for building the client are for Ubuntu.  How much memory do you have in the VM.

Can you post the output of the command

  cat /proc/meminfos
  env

Regards,... Fred


--
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.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton

brahmi amine

unread,
Dec 30, 2014, 11:18:04 AM12/30/14
to bigblueb...@googlegroups.com
Hi Fred , this a result
Selection_003.png
Selection_004.png
Selection_005.png

Fred Dixon

unread,
Dec 30, 2014, 11:38:21 AM12/30/14
to BigBlueButton-dev
Hi Brahmi,

Can you copy-and-paste (not upload images) of the output of the following command

   cat /proc/meminfo

Also, I didn't see the environment variable for ANT_OPTS, as specified in


You should have

  export ANT_OPTS="-Xmx512m -XX:MaxPermSize=512m"

Regards,... Fred

On Tue, Dec 30, 2014 at 12:18 PM, brahmi amine <aminebr...@gmail.com> wrote:
Hi Fred , this a result

--
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.
For more options, visit https://groups.google.com/d/optout.

brahmi amine

unread,
Dec 30, 2014, 11:57:30 AM12/30/14
to bigblueb...@googlegroups.com
Selection_007.png

Fred Dixon

unread,
Dec 30, 2014, 12:22:00 PM12/30/14
to BigBlueButton-dev
Hi,

It looks like you have 6 G of memory.  Check the environment variable for ANT_OPTS (see previous e-mail).

Regards,... Fred

brahmi amine

unread,
Dec 30, 2014, 3:24:01 PM12/30/14
to bigblueb...@googlegroups.com
Thank you a lot Mr Fred :)
Reply all
Reply to author
Forward
0 new messages