facebook

JScript Compilation Error

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #205530 Reply

    CPC1
    Member

    When trying to open a Java Script originnaly written in Visual Age we get:
    Windows Script Host
    Script…..
    Line: 372
    Char: 1
    Error: Syntax Error
    Code: 800A03EA
    Source: Microsoft JScript Compilation Error

    However the code is not displayed after we click OK.

    How do we go about fixing it?

    Thanks

    #205532 Reply

    Riyad Kalla
    Member

    CPC1,
    We ask that you answer the questions in the Posting Guidelines so we get a better idea of the situation you are having. Also, are you opening this file in MyEclipse, and getting that error? Is it a .js file? If you right-click on it, and go to “Open With” is the default editor MyEclipse CSS Editor? Can you try using the Text Editor and see if that works?

    It *sounds* to me like you are opening a page in IE that has faulty JS in it, that’s why I”m asking all these questions.

    #205533 Reply

    CPC1
    Member

    Sorry I will go read the Posting Guidelines 😳 … in the mean time…

    It was a .js file. I was simply double-clicking on it. It was using the system editor. When I right click and select MyEclipse it opens.

    Now how do I find line 372? Line #’s are not indicated, there is no jump to or goto line? Are the items in RED the problem?

    Thanks again.

    #205534 Reply

    Riyad Kalla
    Member

    Ok I’m glad to hear it opened. The CSS editor as it stands now is far from perfect, its more of a proof of concept. We are looking at integrating a really polished/powerful CSS editor for a future release of MyEclipse (I think 2.9) and appologize for the trouble right now. Unfortunately that editor does not support line numbers, and I’m not sure what the RED symbolizes in that particular editor. You might want to open the preferences for it and take a look: Window > Preferences > MyEclipse > Editors > CSS Editor

    #205539 Reply

    No Operation
    Member

    It was a .js file. I was simply double-clicking on it.

    My guess: the system editor is used, which means that Windows (TM (guessed 😉 )) tries to execute your script 🙂

    Try right-click>open-with->text-editor (or whatever but NOT system or default editor)

    NOP

    #205574 Reply

    CPC1
    Member

    Had to re-install everything and now I dont have the open with MyEclipse anymore?

    Thanks

    #205578 Reply

    Riyad Kalla
    Member

    I’m not clear what you were asking in your previous post… you reinstalled Eclipse/MyEclipse and now you can’t see MyEclipse anymore?

    #205579 Reply

    CPC1
    Member

    Sorry, yes we had to rebuild the machine… I re-installed Eclipse 3.0M7 then MyEclipse. My Eclipse shows up in the menu bar… but when I right ckick on a file I do not get thet open with MyEclipse option anymore.

    Thanks!

    #205580 Reply

    Riyad Kalla
    Member

    You’re “Thanks” at the end of your message is throwing me off, I’m not sure if you are OK or if you are asking for help 🙂

    Do you need help getting that option back or is everything working?

    #205581 Reply

    CPC1
    Member

    Sorry… yes still need help.

    #205582 Reply

    Riyad Kalla
    Member

    Ok, no problem at all you were just being polite 🙂

    First things first, do you see a MyEclipse icon in the Help > About page? If not then MyEclipse probably isn’t installed correctly. Can you try erasing the .config directory from your <eclipse install>\workspace\.metadata directory and restarting Eclipse?

    Also double check that there is a file in the <eclipse install>\links directory named “com.genuitec.eclipse.MyEclipse.link”, and that its contents points to the MyEclispe directory (it probably has double backslashes in it for the path if you are on windows, this is fine).

    #205617 Reply

    CPC1
    Member

    OK, the MyEclipse icon is present. I have tried erasing the .config directory several times already.
    The link file also there and looks ok.

    Thanks again!

    #205621 Reply

    Riyad Kalla
    Member

    When you right click on the JS file, and go to the “Open With” submenu, what are the choices that are listed?

    If you go to Window > Preferences > Workbench > File Associations, and look in the “File Types” list box, do you see an entry for *.js? If so, when you click on it, what are the “Associated Editors” listed for it in the bottom panel? If NOT, can you click “Add…” at the top right of the screen and add a new file type of “*.js”. Then click on it, and down by the Associated Editors, click “Add…” and see if you can find and add the “CSS Editor” editor. Now click OK a bunch of times to get back to your project. When you right click on your .js file and go to “Open With”, are you able to open the file with the CSS Editor now?

    #205624 Reply

    CPC1
    Member

    😀 Thank you so very much that is what was missing!

    Regards,

    Philip

    #205626 Reply

    Riyad Kalla
    Member

    Hey I’m glad its working! Thanks for hanging in there with us.

Viewing 15 posts - 1 through 15 (of 15 total)
Reply To: JScript Compilation Error

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