Announcement Announcement Module
Collapse
No announcement yet.
Debugging weird behaviour in Roo shell? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Debugging weird behaviour in Roo shell?

    Hi,

    When I start up Roo 1.2.0.RELEASE in my newly upgraded-from-1.1.5.RELEASE project (using the command line shell script), I see this:

    Code:
    TSP git:(feature/json_blob) ☆  ~/Applications/springsource-2.9.0.M2/spring-roo-1.2.0.RELEASE/bin/roo.sh
        ____  ____  ____  
       / __ \/ __ \/ __ \ 
      / /_/ / / / / / / / 
     / _, _/ /_/ / /_/ /  
    /_/ |_|\____/\____/    1.2.0.RELEASE [rev 39eb957]
    
    
    Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER.
    Encountered " <IDENTIFIER> "avc1 "" at line 425, column 51.
    Was expecting one of:
        "instanceof" ...
        ")" ...
        "," ...
        "<" ...
        "?" ...
        "==" ...
        "<=" ...
        ">=" ...
        "!=" ...
        "||" ...
        "&&" ...
        "+" ...
        "-" ...
        "*" ...
        "/" ...
        "&" ...
        "|" ...
        "^" ...
        "%" ...
        ">" ...
        
    roo>
    I then don't know how to re-create that output. Is it possible to get development mode on startup?

    My version of Roo is the one bundled with a fresh install of springsource-2.9.0.M2.

    Thanks,
    Juan

  • #2
    Never mind, it seems to be validating some custom HTML I put in index.jspx previously. Possibly HTML5 related. The 'avc1' token can be found below:

    Code:
    <!-- snip -->
        <!-- Begin VideoJS --> 
      <div class="video-js-box">
        <!-- Using the Video for Everybody Embed Code http://camendesign.com/code/video_for_everybody --> 
        <video class="video-js" width="640" height="400" controls="true" preload="true" poster="images/video.png">
          <source src="http://example.com/videos/tsp1.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />
          <!-- Flash Fallback. Use any flash video player here. Make sure to keep the vjs-flash-fallback class. --> 
          <object id="flash_fallback_1" class="vjs-flash-fallback" width="640" height="400" type="application/x-shockwave-flash"
            data="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf">
            <param name="movie" value="http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf" />
            <param name="allowfullscreen" value="true" />
    <!-- snip -->
    Thanks,
    Juan

    Comment

    Working...
    X