[Building Sakai] BigBlueButton

Jon Wheat jwheat at messiah.edu
Tue Jun 1 10:13:54 PDT 2010


Nuno,
 
Yes, the maven version solved the compilation issue I was having.
changing the yuicompressor.phase to none allowed me to do a clean install
sakai:deploy
 
however, I think I'm finding that the entity broker didn't change versions
since I'm getting the not authiorized for this tool message.
-Jon
 
 
 
 

>>> Nuno Fernandes <nuno at ufp.edu.pt> 5/31/2010 3:44 AM >>>
Hi all,

Thank you for your input.

JS Compression:
This is quite strange: I can compile successfully without any JS error.
Maybe this is also related with maven version?
mvn clean install
(...)
[INFO] jquery.timePicker.js (8951b) -> jquery.timePicker.js (3445b)[38%]
[INFO] jquery.hoverIntent.js (4605b) -> jquery.hoverIntent.js (1165b)[25%]
[INFO] jquery-ui-1.7.1.custom.css (27374b) -> jquery-ui-1.7.1.custom.css
(22451b)[82%]
(...)

@Mike:
What maven version are you using?

@Jon:
I want to update the docs regarding the required Maven version. To what
version did you upgrade Maven to compile BBB successfuly? 2.0.10 or 2.1.0 ?

Thanks,
Nuno


On Sun, May 30, 2010 at 12:33 PM, Mike Ozornin <mike.ozornin at gmail.com>
wrote:


Hello.

I had the same problem. I simply turn off yui compressor in
"\bbb\tool\pom.xml" and sakai started compile.

<profile>
<id>release</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<yuicompressor.phase>none</yuicompressor.phase>
</properties>
</profile>

I made it so because I now the only problem of this change is
not-compressed javascript.

On Fri, May 28, 2010 at 10:04 PM, Jon Wheat <jwheat at messiah.edu> wrote:


I'm closer. It now makes it past that error -
now I'm getting some syntax errors. I pulled down the code again just to be
sure (1.0.0), got them again -
I looked at the jquery.hoverIntent.js and its just normal javascript code,
which is odd.
-Jon
:snipped:
[INFO]
------------------------------------------------------------------------
[INFO] Building BigBlueButton Tool
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /home/sakai/sakai_2-6-x/bbb/tool/target
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] [yuicompressor:compress {execution: default}]
[INFO] jquery.url.js (6325b) -> jquery.url.js (1641b)[25%]
[INFO] jqueryui.js (170994b) -> jqueryui.js (158490b)[92%]
[INFO] jquery.timePicker.js (8685b) -> jquery.timePicker.js (3445b)[39%]
[ERROR] .../src/webapp/lib/jquery.hoverIntent.js:line 1:column 1:illegal
character
???/**
[ERROR] .../src/webapp/lib/jquery.hoverIntent.js:line 1:column 1:syntax
error
???/**
[ERROR] .../src/webapp/lib/jquery.hoverIntent.js:line 1:column 2:illegal
character
???/**
[ERROR] .../src/webapp/lib/jquery.hoverIntent.js:line 1:column 3:illegal
character
???/**
[ERROR] .../src/webapp/lib/jquery.hoverIntent.js:line 1:column 3:syntax
error
???/**
[ERROR] .../src/webapp/lib/jquery.hoverIntent.js:line 112:column 2:syntax
error
})(jQuery);
[ERROR] .../src/webapp/lib/jquery.hoverIntent.js:line 1:column
0:Compilation produced 6 syntax errors.

[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Compilation produced 6 syntax errors.
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.mozilla.javascript.EvaluatorException: Compilation produced 6 syntax
errors.
at
net.sf.alchim.mojo.yuicompressor.ErrorReporter4Mojo.runtimeError(ErrorReporter4Mojo.java:43)
at org.mozilla.javascript.Parser.parse(Parser.java:402)
at org.mozilla.javascript.Parser.parse(Parser.java:347)
at
com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:312)
at
com.yahoo.platform.yui.compressor.JavaScriptCompressor.<init>(JavaScriptCompressor.java:532)
at
net.sf.alchim.mojo.yuicompressor.YuiCompressorMojo.processFile(YuiCompressorMojo.java:178)
at
net.sf.alchim.mojo.yuicompressor.MojoSupport.processDir(MojoSupport.java:151)
at
net.sf.alchim.mojo.yuicompressor.MojoSupport.execute(MojoSupport.java:97)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:500)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:479)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:345)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:132)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:290)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Fri May 28 13:55:26 EDT 2010
[INFO] Final Memory: 37M/254M
[INFO]
------------------------------------------------------------------------

_______________________________________________
sakai-dev mailing list
sakai-dev at collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
with a subject of "unsubscribe"



_______________________________________________
sakai-dev mailing list
sakai-dev at collab.sakaiproject.org
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
with a subject of "unsubscribe"




-- 
Nuno Fernandes . { Analyst/Programmer }

|| web . { http://www.ufp.pt | http://tinyurl.com/nfgrilo | follow_me @
nfgrilo }
|| work . { Universidade Fernando Pessoa | Praça 9 de Abril, 349 | 4249-004
Porto }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100601/335d872b/attachment.html 


More information about the sakai-dev mailing list