[Building Sakai] BigBlueButton

Mike Ozornin mike.ozornin at gmail.com
Sun May 30 04:33:37 PDT 2010


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"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100530/0ed74a25/attachment.html 


More information about the sakai-dev mailing list