Can't compile client - mxmlc task failed

882 views
Skip to first unread message

cforce

unread,
Jan 24, 2011, 4:40:24 AM1/24/11
to BigBlueButton-dev
Running ant module alone runs without problems..but can't compile bbb
client complete with "ant"

----
firstuser@infokom:~/dev/source/bigbluebutton$ git pull
Already up-to-date.

firstuser@sid-infokom:~/dev/source/bigbluebutton/bigbluebutton-client$
git log
commit acb45b34a7babe8eff1f751edef433fc13badf6e
Author: Fred Dixon <ffd...@gmail.com>
Date: Sun Jan 23 03:53:51 2011 +0000
--

See log message.



firstuser@infokom:~/dev/source/bigbluebutton/bigbluebutton-client$ ant
Buildfile: build.xml

clean:
[delete] Deleting directory /home/firstuser/dev/source/
bigbluebutton/bigbluebutton-client/bin
[mkdir] Created dir: /home/firstuser/dev/source/bigbluebutton/
bigbluebutton-client/bin

generate-html-wrapper:

init-ant-contrib:

localization:
[echo] Parsing /home/firstuser/dev/source/bigbluebutton/
bigbluebutton-client/src/conf/locales.xml for supported locales
[echo] Available locales
az_AZ,bg_BG,cs_CZ,de_DE,el_GR,en_US,es_ES,es_LA,fr_FR,fr_CA,hu_HU,it_IT,lv_LV,lt_LT,nb_NO,nl_NL,pl_PL,pt_BR,pt_PT,ro_RO,ru_RU,tr_TR,vi_VN,uk_UA,zh_CN,zh_TW,sv_SE,fa_IR,ja_JP

build-locale:
[echo] Building az_AZ
[echo] No need to copy /home/firstuser/dev/tools/flex3/frameworks/
locale/az_AZ
[echo] Building az_AZ
[echo] No need to copy /home/firstuser/dev/tools/flex3/frameworks/
locale/az_AZ
[mxmlc] Loading configuration file /home/firstuser/dev/tools/flex3/
frameworks/flex-config.xml
[mxmlc] Error: null
[mxmlc]
[mxmlc] java.lang.NullPointerException
[mxmlc] at
flex2.tools.CommandLineConfiguration.compilingResourceModule(CommandLineConfiguration.java:
70)
[mxmlc] at
flex2.tools.CommandLineConfiguration.getTargetFile(CommandLineConfiguration.java:
45)
[mxmlc] at
flex2.tools.CommandLineConfiguration.validate(CommandLineConfiguration.java:
97)
[mxmlc] at
flex2.tools.Compiler.processConfiguration(Compiler.java:672)
[mxmlc] at
flex2.tools.Compiler.processConfiguration(Compiler.java:526)
[mxmlc] at flex2.tools.Compiler.mxmlc(Compiler.java:84)
[mxmlc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[mxmlc] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
57)
[mxmlc] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
[mxmlc] at java.lang.reflect.Method.invoke(Method.java:616)
[mxmlc] at flex.ant.FlexTask.executeInProcess(FlexTask.java:
283)
[mxmlc] at flex.ant.FlexTask.execute(FlexTask.java:225)
[mxmlc] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[mxmlc] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown
Source)
[mxmlc] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
[mxmlc] at java.lang.reflect.Method.invoke(Method.java:616)
[mxmlc] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:
106)
[mxmlc] at org.apache.tools.ant.Task.perform(Task.java:348)
[mxmlc] at
org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
[mxmlc] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[mxmlc] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown
Source)
[mxmlc] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
[mxmlc] at java.lang.reflect.Method.invoke(Method.java:616)
[mxmlc] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:
106)
[mxmlc] at org.apache.tools.ant.Task.perform(Task.java:348)
[mxmlc] at
org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:
394)
[mxmlc] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[mxmlc] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown
Source)
[mxmlc] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
[mxmlc] at java.lang.reflect.Method.invoke(Method.java:616)
[mxmlc] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:
106)
[mxmlc] at org.apache.tools.ant.Task.perform(Task.java:348)
[mxmlc] at org.apache.tools.ant.Target.execute(Target.java:
357)
[mxmlc] at
org.apache.tools.ant.Target.performTasks(Target.java:385)
[mxmlc] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[mxmlc] at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:
38)
[mxmlc] at
org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[mxmlc] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:
416)
[mxmlc] at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
[mxmlc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[mxmlc] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
57)
[mxmlc] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
[mxmlc] at java.lang.reflect.Method.invoke(Method.java:616)
[mxmlc] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:
106)
[mxmlc] at org.apache.tools.ant.Task.perform(Task.java:348)
[mxmlc] at
org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
[mxmlc] at
net.sf.antcontrib.logic.ForEach.executeSequential(Unknown Source)
[mxmlc] at net.sf.antcontrib.logic.ForEach.execute(Unknown
Source)
[mxmlc] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[mxmlc] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown
Source)
[mxmlc] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
[mxmlc] at java.lang.reflect.Method.invoke(Method.java:616)
[mxmlc] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:
106)
[mxmlc] at org.apache.tools.ant.Task.perform(Task.java:348)
[mxmlc] at org.apache.tools.ant.Target.execute(Target.java:
357)
[mxmlc] at
org.apache.tools.ant.Target.performTasks(Target.java:385)
[mxmlc] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[mxmlc] at
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[mxmlc] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:
41)
[mxmlc] at
org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[mxmlc] at org.apache.tools.ant.Main.runBuild(Main.java:758)
[mxmlc] at org.apache.tools.ant.Main.startAnt(Main.java:217)
[mxmlc] at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[mxmlc] at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

BUILD FAILED
/home/firstuser/dev/source/bigbluebutton/bigbluebutton-client/
build.xml:43: The following error occurred while executing this line:
/home/firstuser/dev/source/bigbluebutton/bigbluebutton-client/
build.xml:69: The following error occurred while executing this line:
/home/firstuser/dev/source/bigbluebutton/bigbluebutton-client/
build.xml:99: mxmlc task failed

Total time: 0 seconds
firstuser@infokom:~/dev/source/bigbluebutton/bigbluebutton-client$ ^C

Denis Zgonjanin

unread,
Jan 24, 2011, 8:21:24 AM1/24/11
to bigblueb...@googlegroups.com
Never seen this before. I just checked it and it works out of the box. It looks like ant can't load flex-config.xml. This could happen if you changed the flex-config.xml or other configuration files in the /flex3 folder.


--
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.


cforce

unread,
Jan 25, 2011, 2:40:24 AM1/25/11
to BigBlueButton-dev
Where and how can i get the "original" flex-config.xml to compare if i
changed something?

On 24 Jan., 14:21, Denis Zgonjanin <deniszgonja...@gmail.com> wrote:
> Never seen this before. I just checked it and it works out of the box. It
> looks like ant can't load flex-config.xml. This could happen if you changed
> the flex-config.xml or other configuration files in the /flex3 folder.
>
>
>
>
>
>
>
> On Mon, Jan 24, 2011 at 4:40 AM, cforce <fabismai...@googlemail.com> wrote:
> > Running ant module alone runs without problems..but can't compile bbb
> > client complete with "ant"
>
> > ----
> > firstuser@infokom:~/dev/source/bigbluebutton$ git pull
> > Already up-to-date.
>
> > firstuser@sid-infokom:~/dev/source/bigbluebutton/bigbluebutton-client$
> > git log
> > commit acb45b34a7babe8eff1f751edef433fc13badf6e
> > Author: Fred Dixon <ffdi...@gmail.com>
> > "BigBlueButton-dev" group.> To post to this group, send email tobigblue...@googlegroups.com.
> > To unsubscribe from this group, send email to>bigbluebutton-...@googlegroups.com<bigbluebutton-dev%2Bunsu...@googlegroups.com>
> > .

Denis Zgonjanin

unread,
Jan 25, 2011, 10:13:04 AM1/25/11
to bigblueb...@googlegroups.com
You can download the flex sdk from Adobe. Unfortunately we don't keep it in our repositories

To post to this group, send email to bigblueb...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.

cforce

unread,
Jan 26, 2011, 8:23:20 AM1/26/11
to BigBlueButton-dev
I downloaded a new flex sdk v3.5.0.12683 and compared the two config
files, see the differences below.
Does this make my compile problems?


-----------------------------------
left file: C:\devbox\flex_sdk_3.5.0.12683\frameworks\flex-config.xml
right file: \\infokom\firstuser\dev\tools\flex3\frameworks\flex-
config.xml
</runtime-shared-
libraries>
= </runtime-shared-libraries>
--
>
-->

<!-- runtime-shared-library-path: specifies a SWC or directory to
link against and an RSL URL to load with optional failover URLs --
> <!-- runtime-shared-library-path: specifies a SWC or directory
to link against and an RSL URL to load with optional failover URLs -->
<runtime-shared-library-
path>
<runtime-shared-library-path>
<path-element>libs/framework.swc</path-
element>
<path-element>libs/framework.swc</path-element>
------------------------------------------------------------------------
<rsl-url>framework_3.5.0.12683.swz</rsl-
url>
<> <rsl-url>framework_${build.number}.swz</rsl-url>
------------------------------------------------------------------------
<policy-file-url></policy-file-
url>
= <policy-file-url></policy-file-url>
------------------------------------------------------------------------
<rsl-url>framework_3.5.0.12683.swf</rsl-
url>
<> <rsl-url>framework_${build.number}.swf</rsl-url>
------------------------------------------------------------------------
<policy-file-url></policy-file-
url>
= <policy-file-url></policy-file-url>
</runtime-shared-library-
path>
</runtime-shared-library-path>
<!-- static-link-runtime-shared-libraries: statically link the
libraries specified by the -runtime-shared-libraries-path option.--
> <!-- static-link-runtime-shared-libraries: statically link
the libraries specified by the -runtime-shared-libraries-path option.--
>
<static-link-runtime-shared-libraries>true</static-link-runtime-
shared-
libraries>
<static-link-runtime-shared-libraries>true</static-link-runtime-shared-
libraries>

<!-- target-player: specifies the version of the player the
application is
targeting. <!--
target-player: specifies the version of the player the application is
targeting.
------------------------------------------------------------------------
> > > > To unsubscribe from this group, send email to>>bigbluebutton-...@googlegroups.com<bigbluebutton-dev%2Bunsu...@googlegroups.com>> <bigbluebutton-dev%2Bunsu...@googlegroups.com<bigbluebutton-dev%252Buns...@googlegroups.com>
>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/bigbluebutton-dev?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "BigBlueButton-dev" group.> To post to this group, send email tobigblue...@googlegroups.com.
> > To unsubscribe from this group, send
>
> ...
>
> Erfahren Sie mehr »
Reply all
Reply to author
Forward
0 new messages