'ant locales' problem

62 views
Skip to first unread message

Seung ju Im

unread,
Mar 27, 2017, 10:27:39 AM3/27/17
to bigbluebu...@googlegroups.com
I followed BBB version 1.0 'setup devlopent environment' page.

but excute sudo ant locale, and i got this error..



=======================================================

Buildfile: /home/stis/dev/bigbluebutton/bigbluebutton-client/build.xml

init-ant-contrib:

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

BUILD FAILED
/home/stis/dev/bigbluebutton/bigbluebutton-client/build.xml:63: Directory /home/stis/dev/bigbluebutton/bigbluebutton-client/client/locale creation was not successful for an unknown reason

Total time: 0 seconds
stis@stisBBB:~/dev/bigbluebutton/bigbluebutton-client$ sudo ant locales
Buildfile: /home/stis/dev/bigbluebutton/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/stis/dev/bigbluebutton/bigbluebutton-client/client/locale
    [mkdir] Created dir: /home/stis/dev/bigbluebutton/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/stis/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.
  [taskdef] Could not load definitions from resource flexTasks.tasks. It could not be found.

build-locale:
     [echo] Locale dir is /home/stis/dev/bigbluebutton/bigbluebutton-client/locale/am_ET. Extract locale name.
     [echo] Locale name is am_ET
     [echo] Building am_ET
     [echo] No copy of the framework locale. Copying ${env.FLEX_HOME}/frameworks/locale/am_ET

BUILD FAILED
/home/stis/dev/bigbluebutton/bigbluebutton-client/build.xml:68: The following error occurred while executing this line:
/home/stis/dev/bigbluebutton/bigbluebutton-client/build.xml:128: 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:187)
        at java.lang.ProcessImpl.start(ProcessImpl.java:130)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
        ... 80 more

Total time: 0 seconds

========================================================

and this is my bbb-conf --check message.


** Potential problems described below **
# IP does not match:
#                           IP from ifconfig: 10.0.1.4
#   /etc/nginx/sites-available/bigbluebutton: stisbbb.koreacentral.cloudapp.azure.com
# Warning: nginx is not serving the client from /var/www/bigbluebutton/.
# Instead, it's being served from
#
#    /home/stis/dev/bigbluebutton/bigbluebutton-client
#
# (This is OK if you have setup a development environment.)



I found a lot of other same problem post, but i could not find solution. 
Can i get help?

Richard Alam

unread,
Mar 27, 2017, 10:36:17 AM3/27/17
to bigbluebu...@googlegroups.com
On Mon, Mar 27, 2017 at 10:27 AM, Seung ju Im <proudv...@gmail.com> wrote:
I followed BBB version 1.0 'setup devlopent environment' page.

but excute sudo ant locale, and i got this error..

Do not run the commands a root. Just use "ant locales".

Since you've run the command as root, make sure you clean your permissions first before running again.

Richard
 

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebutton-setup@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.



--
Message has been deleted
Message has been deleted

Seung ju Im

unread,
Mar 27, 2017, 9:34:49 PM3/27/17
to BigBlueButton-Setup
00
Thanks  for your reply Richar Alam.

But my just 'ant locales' result is 

Buildfile: /home/stis/dev/bigbluebutton/bigbluebutton-client/build.xml

init-ant-contrib:

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

BUILD FAILED
/home/stis/dev/bigbluebutton/bigbluebutton-client/build.xml:63: Directory /home/stis/dev/bigbluebutton/bigbluebutton-client/client/locale creation was not successful for an unknown reason

Total time: 0 seconds

This message is what kind of problem?

and my 'ls -lt /home/firstuser/dev/bigbluebutton/bigbluebutton-client' result
 
drwxr-xr-x  6 root root  4096 Mar 27 17:35 src
drwxr-xr-x  4 root root  4096 Mar 27 17:35 resources
-rwxr-xr-x  1 root root 22850 Mar 27 17:35 build.xml
drwxr-xr-x  2 root root  4096 Mar 27 17:35 config
drwxr-xr-x 76 root root  4096 Mar 27 17:35 locale
-rwxr-xr-x  1 root root   496 Mar 27 17:33 transifex.sh
-rwxr-xr-x  1 root root     4 Mar 27 17:33 vm-build.sh
drwxr-xr-x  2 root root  4096 Mar 27 17:33 libs
drwxr-xr-x  3 root root  4096 Mar 27 17:33 build
drwxr-xr-x  3 root root  4096 Mar 27 17:33 html-templateBackup
drwxr-xr-x  3 root root  4096 Mar 27 17:33 branding
-rw-r--r--  1 root root 26436 Mar 27 17:33 LICENSE.txt
-rwxr-xr-x  1 root root  1469 Mar 27 17:33 README

Chad Pilkey

unread,
Mar 28, 2017, 11:59:50 AM3/28/17
to BigBlueButton-Setup
You've got a couple of issues. The first problem is that it looks like you have a /home/firstuser/dev and /home/stis/dev, but you should only have one. If your username is "stis" substitute that for "firstuser" in all of the documentation. We use "firstuser" everywhere for simplicity. The second problem is that you used sudo at some point earlier in the development setup steps.

If your user is "stis" use that for your development and put everything in /home/stis/dev. Don't use 'sudo' unless is explicitly in the documentation to use it. If you find that you need to use sudo when it isn't in the documentation then you've probably gone wrong somewhere. It's probably best to delete the firstuser directory and your /home/stis/dev and start over.
Reply all
Reply to author
Forward
0 new messages