[Building Sakai] BigBlueButton

Nuno Fernandes nuno at ufp.edu.pt
Mon Jun 7 02:31:12 PDT 2010


Hi Mike,

I found this issue quite strange as JS compilation never fails on my (*nix)
machine!
Anyway, I have just committed two changes to the bbb-1.0.x branch:

   - disabled JS compression during build
   - disabled license plugin checks during build

If you are compiling from the *bbb-1.0.x* branch, just need to update your
working copy (svn up) and try again.
If you are compiling from the *1.0.0* tag, just wait for me to release 1.0.1
(in the next 30min), check out this tag and compile.

As a side note, I am also updating the relevant documentation when deploying
to Sakai 2.6.x (upgrade of EntityBroker). This will be ready in a few
minutes too:
http://confluence.sakaiproject.org/pages/viewpage.action?pageId=69273500

Thank you,
Nuno


On Mon, Jun 7, 2010 at 10:26 AM, Mike Ozornin <mike.ozornin at gmail.com>wrote:

> Hello, Nuno.
>
> I have tried:
> Maven 2.0.10, 2.1.0, 2.2.1. Always I have the same problem: error during
> yui compressing of some jquery script:
>
> [INFO] jquery.dimensions.js (24042b) -> jquery.dimensions.js (7170b)[29%]
>>
>> [ERROR] ...\src\webapp\lib\jquery.hoverIntent.js:line 1:column 2:illegal
>> character
>>         я╗┐/**
>> [ERROR] ...\src\webapp\lib\jquery.hoverIntent.js:line 1:column 2: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 3 syntax errors.
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] FATAL ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Compilation produced 3 syntax errors.
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Trace
>> org.mozilla.javascript.EvaluatorException: Compilation produced 3 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)
>>
>>
> Maybe trouble appears because i'm building under MS Windows?
>
> On Mon, May 31, 2010 at 11:44 AM, Nuno Fernandes <nuno at ufp.edu.pt> wrote:
>
>> 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 }
>>
>
>
> _______________________________________________
> 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/20100607/3df486e4/attachment.html 


More information about the sakai-dev mailing list