Could not load definitions from resource flexTasks.tasks. It could not be found.

1,809 views
Skip to first unread message

Justin Robinson

unread,
Jan 5, 2012, 1:03:06 PM1/5/12
to BigBlueButton-Setup
Hi everybody,

I'm trying to set up the BBB Dev Environment, but every time I run
sudo ant I get this message:

Buildfile: build.xml
[taskdef] Could not load definitions from resource flexTasks.tasks.
It could not be found.

clean:

init-ant-contrib:

generate-html-wrapper:

BUILD FAILED
/home/justin/dev/source/bigbluebutton/bigbluebutton-client/build.xml:
400: Problem: failed to create task or type html-wrapper
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken
place.


Total time: 0 seconds

Another thread in this group dealing with this error resolved it by
loosening permissions on the flexTask folder; however, I've already
done this and still get the error. Any suggestions?

-Justin

Justin Robinson

unread,
Jan 5, 2012, 1:09:02 PM1/5/12
to BigBlueButton-Setup
If I run it without sudo, I get a slightly different message:

Buildfile: build.xml

clean:

init-ant-contrib:

generate-html-wrapper:

build-deskshare-no-linker:
[echo] Compiling deskshare without optimization.

BUILD FAILED
/home/justin/dev/source/bigbluebutton/bigbluebutton-client/build.xml:
192: The following error occurred while executing this line:
/home/justin/dev/source/bigbluebutton/bigbluebutton-client/build.xml:
291: The class not found in jar file: mxmlc.jar

Total time: 0 seconds

Richard Alam

unread,
Jan 5, 2012, 1:55:51 PM1/5/12
to bigbluebu...@googlegroups.com

You don't have your FLEX_HOME environment setup as it can't find the
mxmlc.jar file.

You should have the ff ENV vars setup.


#
# BigBlueButton: Setup development environment

export GROOVY_HOME=/home/firstuser/dev/tools/groovy-1.6.5
export JAVA_HOME=/usr/lib/jvm/java-6-openjdk

export GRAILS_HOME=/home/firstuser/dev/tools/grails-1.1.1
export PATH=$PATH:$GRAILS_HOME/bin

export FLEX_HOME=/home/firstuser/dev/tools/flex
export PATH=$PATH:$FLEX_HOME/bin

export GRADLE_HOME=/home/firstuser/dev/tools/gradle-0.8
export PATH=$PATH:$GRADLE_HOME/bin

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


Richard

>
> Total time: 0 seconds
>
> --
> You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
> To post to this group, send email to bigbluebu...@googlegroups.com.
> To unsubscribe from this group, send email to bigbluebutton-s...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/bigbluebutton-setup?hl=en.
>

--
-----
BigBlueButton Developer
http://www.bigbluebutton.org
http://code.google.com/p/bigbluebutton

Justin Robinson

unread,
Jan 5, 2012, 2:04:33 PM1/5/12
to BigBlueButton-Setup
Richard,

I already appended those settings to my ~/.profile, as per the
directions. My environment is:

GRAILS_HOME=/home/firstuser/dev/tools/grails-1.1.1
ORBIT_SOCKETDIR=/tmp/orbit-justin
SSH_AGENT_PID=1774
TERM=xterm
SHELL=/bin/bash
XDG_SESSION_COOKIE=b374949224b726df7e33b04c4e81ed7e-1325770820.135603-295985431
GRADLE_HOME=/home/firstuser/dev/tools/gradle-0.8
WINDOWID=67165657
OLDPWD=/home/firstuser/dev/tools/flex-4.5.0.20967/frameworks/libs/
player/10.3
GNOME_KEYRING_CONTROL=/tmp/keyring-EDWhPc
GTK_MODULES=canberra-gtk-module
ANT_OPTS=-Xmx512m -XX:MaxPermSize=512m
USER=justin
LS_COLORS=rs=0:di=01;34:ln=01;36:hl=44;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.
7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
SSH_AUTH_SOCK=/tmp/keyring-EDWhPc/ssh
DEFAULTS_PATH=/usr/share/gconf/gnome.default.path
SESSION_MANAGER=local/firstuser:@/tmp/.ICE-unix/1740,unix/firstuser:/
tmp/.ICE-unix/1740
USERNAME=justin
XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome:/etc/xdg
DESKTOP_SESSION=gnome
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/
games:/home/firstuser/dev/tools/grails-1.1.1/bin:/home/firstuser/dev/
tools/flex/bin:/home/firstuser/dev/tools/gradle-0.8/bin
PWD=/home/justin
JAVA_HOME=/usr/lib/jvm/java-6-openjdk
GDM_KEYBOARD_LAYOUT=us
LANG=en_US.UTF-8
GNOME_KEYRING_PID=1722
MANDATORY_PATH=/usr/share/gconf/gnome.mandatory.path
GDM_LANG=en_US.UTF-8
GDMSESSION=gnome
SPEECHD_PORT=7564
SHLVL=1
HOME=/home/justin
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
LOGNAME=justin
GROOVY_HOME=/home/firstuser/dev/tools/groovy-1.6.5
XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-
k6OMjQqv7E,guid=4bda2245b70e6528c691d2f44f05a844
LESSOPEN=| /usr/bin/lesspipe %s
DISPLAY=:0.0
FLEX_HOME=/home/firstuser/dev/tools/flex
LESSCLOSE=/usr/bin/lesspipe %s %s
XAUTHORITY=/var/run/gdm/auth-for-justin-An6btG/database
COLORTERM=gnome-terminal
_=/usr/bin/env


On Jan 5, 1:55 pm, Richard Alam <ritza...@gmail.com> wrote:

Richard Alam

unread,
Jan 5, 2012, 2:18:13 PM1/5/12
to bigbluebu...@googlegroups.com
On Thu, Jan 5, 2012 at 2:04 PM, Justin Robinson <jtrobi...@gmail.com> wrote:
> Richard,
>
> I already appended those settings to my ~/.profile, as per the
> directions. My environment is:
>
> GRAILS_HOME=/home/firstuser/dev/tools/grails-1.1.1
> ORBIT_SOCKETDIR=/tmp/orbit-justin
> SSH_AGENT_PID=1774
> TERM=xterm
> SHELL=/bin/bash
> XDG_SESSION_COOKIE=b374949224b726df7e33b04c4e81ed7e-1325770820.135603-295985431
> GRADLE_HOME=/home/firstuser/dev/tools/gradle-0.8
> WINDOWID=67165657
> OLDPWD=/home/firstuser/dev/tools/flex-4.5.0.20967/frameworks/libs/
> player/10.3
> GNOME_KEYRING_CONTROL=/tmp/keyring-EDWhPc
> GTK_MODULES=canberra-gtk-module
> ANT_OPTS=-Xmx512m -XX:MaxPermSize=512m
> USER=justin

Do you have /home/firstuser/dev/tools directories and are they
accessible by user justin?

if you type "env" on the command line, does the env get displayed?

Richard

Justin Robinson

unread,
Jan 5, 2012, 2:24:51 PM1/5/12
to BigBlueButton-Setup
Problem solved, although there is probably a more elegant way to do
it. I used sudo chmod -R 777 /home/firstuser/dev/tools/flex/* to
recursively give everything in the flex directory full permissions,
and ran ant (no sudo) and it built successfully in 1 minute 20
seconds. Again, there's probably a better way to do it...
-Justin

Richard Alam

unread,
Jan 5, 2012, 2:38:21 PM1/5/12
to bigbluebu...@googlegroups.com
On Thu, Jan 5, 2012 at 2:24 PM, Justin Robinson <jtrobi...@gmail.com> wrote:
> Problem solved, although there is probably a more elegant way to do
> it. I used sudo chmod -R 777 /home/firstuser/dev/tools/flex/* to
> recursively give everything in the flex directory full permissions,
> and ran ant (no sudo) and it built successfully in 1 minute 20
> seconds. Again, there's probably a better way to do it...
> -Justin
>

Yes. The better way is to put the dev/tools dir in /home/justin and modify your
env vars to point to /home/justin instead of /home/firstuser. That way
when you run
ant as use justin, you have all the permissions.

Richard

Reply all
Reply to author
Forward
0 new messages