facebook

[Closed] Your runmario demo doesn’t work

  1. MyEclipse Archived
  2.  > 
  3. Web 2.0 / AJAX
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #263359 Reply

    samueldoyle
    Member

    I am able to load it and set a breakpoint at line 9 enableAnimation the browser launches but it failes to break. The view I have is not the one in your demo where it shows the thread is suspended. There is no opportunity to step etc. This is one of the things we are evaluating in your product.

    #263361 Reply

    samueldoyle
    Member

    btw, I’m using your 3.2 build

    #263567 Reply

    Greg
    Member

    Can you post your configuration so we know more about your system? Go to MyEclipse > Installation Summary > Installation Details…. Copy the text to clipboard and post it here.

    #266108 Reply

    slart23
    Member

    I am having the same problem. The runmario code doesn’t stop at the breakpoint I put in. I get the same results with my own HTML file containing Javascript. The message I get in the Debug console is “Javascript Interpretor Thread (Resumed)”, and it just hangs.

    My configuration is as follow:

    *** Date:
    Wednesday, February 14, 2007 11:08:16 AM EST

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_08

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 5.1.0 GA
    Build id: 20061111-5.1.0-GA

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 5.1.0 GA
    Build id: 20061111-5.1.0-GA

    Eclipse Graphical Editing Framework

    Version: 3.2.1.v20060921
    Build id: 20060921-1617

    Eclipse Platform

    Version: 3.2.1.r321_v20060921-b_XVA-INSQSyMtx
    Build id: M20060921-0945

    Eclipse RCP

    Version: 3.2.1.r321_v20060801-2ekW2BxmcpPUOoq
    Build id: M20060921-0945

    Eclipse Java Development Tools

    Version: 3.2.1.r321_v20060905-R4CM1Znkvre9wC-
    Build id: M20060921-0945

    Eclipse Project SDK

    Version: 3.2.1.r321_v20060801-tQ1w49KnTArT0FZ
    Build id: M20060921-0945

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -launcher
    C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\eclipse\eclipse.exe
    -name
    Eclipse
    -showsplash
    600
    -exitdata
    d94_50
    -vm
    C:\Program Files\MyEclipse Enterprise Workbench 5.1.0 GA\jre\bin\javaw.exe

    Thanks in advance for any advice.

    – John

    #266109 Reply

    slart23
    Member

    Oh, sorry, I should add that I’m running MyEclipse 5.1 on Windows XP Service Pack 2.

    #266205 Reply

    Greg
    Member

    John,

    Do you have any errors in your error log that seem related? <your_workspace_dir>/.metadata/.log

    Could you post any related errors here on the forum?

    #266241 Reply

    slart23
    Member

    Ah. Yes, there is an exception in the log file which seem to pertain to the RunMario project:

    !MESSAGE Could not parse URL file:/C:/Documents and Settings/john/workspace/JS_Mario/WebRoot/runmario.html
    !STACK 0
    java.net.URISyntaxException: Illegal character in path at index 18: file:/C:/Documents and Settings/john/workspace/JS_Mario/WebRoot/runmario.html

    What’s the problem? The spaces in “Documents and Settings”? That seems like it shouldn’t be a problem.

    #266249 Reply

    Greg
    Member

    Yes it does look like the spaces is a problem. Here is how you fix it…

    1) Go to Run > Debug…
    2) Find the runmario.html debug launch config
    3) Modify the launch URL and substitue %20 for the space, so the Launch URL should be: file:/C:/Documents%20and%20Settings/john/workspace/JS_Mario/WebRoot/runmario.html
    4) Click Debug to launch the page

    It should work correctly now. This is actually something that MyEclipse should handle automatically. We should be converting these file urls to ascii strings so all the spaces will be encoded correctly. I’ll file this issue as a PR so hopefully we can get it fixed in a future release.

    Let me know if this works for you.

    #266335 Reply

    slart23
    Member

    I’ll give that a shot (I’m on the road now, away from my main desktop). I had figured out myself that the spaces were the problem, so I just changed my workspace to C:\workspace (and that worked).

    #266336 Reply

    Greg
    Member

    Glad it worked. We should have this fixed for good in an upcoming release.

    #266627 Reply

    slart23
    Member

    Your solution worked too, by the way. Thanks again!

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: [Closed] Your runmario demo doesn’t work

You must be logged in to post in the forum log in