facebook

Javascript and syntax errors

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #702638 Reply

    dindu63
    Participant

    I have both the latest myEclipse and also Eclipse 2024-09 on my MacBook. I have noticed that if I create a copy of my myEclipse workspace and look at a copy of one of my Web Projects that regular Eclipse tells me there are syntax errors in my Javascript, but the exact same source file is considered ok by myEclipse. I guess one of them is wrong but I can’t tell which one and more importantly why they should differ. I thought both of them used Wild Web Developer for this but maybe something is setup differently. I would like to determine if my code is actually correct or has errors. Can someone shed some light on this discrepancy.

    Dave

    #702641 Reply

    Brian Fernandes
    Moderator

    Dave,

    Interesting question. The difference could be because MyEclipse 2024 is based on Eclipse 2024-03, using the corresponding version of WWD too. You’re using a more recent version of Eclipse (and hence, of WWD), and there could be additional validation in this release. We are currently working on a MyEclipse update that will be based on Eclipse 2024-09 – this will be MyEclipse 2024.2, scheduled for later this year.

    An additional note is that we make some changes to WWD as well; some changes to fix bugs, some to improve functionality or simply to make it compatible with the other tooling in MyEclipse. Coming to the error itself, I’m afraid we can’t comment without actually seeing the error / type of error. If the file is a standalone JS file, you could consider pasting it into an online validator for further comparison.

    Hope this helps.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Javascript and syntax errors

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