Nodeclipse / nodeclipse

Nodeclipse-1 : Eclipse plugin for Node.js, PhantomJS development (Nodeclipse core plugin); Maven and Gradle (with Android) plugins
https://nodeclipse.github.io/
158 stars 76 forks source link

Run tries to validate other projects / can not run my node project from eclipse #79

Closed TheRoSS closed 11 years ago

TheRoSS commented 11 years ago

Hi I have single eclipse configuration with PDT and Nodeclipse installed I have some projects in my workspace: one is node project and others are php projects. Php projects have public parts with client javascript (jquery and so on)

When I try to run node project from node perspective the javascript validation process runs on my other, php projects too and fails. So I can not run my node project from eclipse. Running from os shell is ok.

paulvi commented 11 years ago

Hi Ross You should have asked on StackOverflow http://www.nodeclipse.org/#support

Nodeclipse depends on JSDT for that functionality. You can disable validation in Preferences (JavaScript -> Validation) or for individual project in Properties.

It is impossible that Validation blocks Running/Debugging, there is no connection between them.

Thank you for being active user anyway.

paulvi commented 11 years ago

Hi again, on the second thought: if there is issue of running node.js app, please do provide more information about your environment ( as said in http://www.nodeclipse.org/#support ) also open Window -> View -> Error Log and check what are Eclipse messages their when the problem occurs.

paulvi commented 11 years ago

@TheRoSS is not answering.

Assume part 2 is #72

TheRoSS commented 11 years ago

Sorry for silence, I was out. Now responding...

Now I tried to reproduce my problem. And problem was here. I began to collect data, make screenshots and write response. But at some point the problem disappeared. I did these steps before and problem was there. But now...

Now I'm writing what I did Steps:

  1. Have a PHP project with .js files in it (jquery for example)
  2. Create Nodeclips project
  3. Run it

Run action takes some waiting and gets "run error" with error description "failed to validate some files". There are a lot of errors and messages in "Problems" view. These errors and messages are all about validation failes of .js files inside php project. No error in node project.

  1. I deleted all problems and messages in the "Problems" view.
  2. Run node application again

On last week this next run gave the same validation errors. And I had to run my project from os shell. But today this second run gave no error. Application starts directly from IDE. And I can not reproduce the problem enymore. Then I think ok, let this issue be closed. If those behaviour will arise again I'll take it and give you detailed description with screeshots.

Thank you for your attempt to help me with my problem

paulvi commented 11 years ago

It is unlucky that no screenshots left.

The remedy could be to disable JSDT Validation in Preferences. Integrated JSHint is pretty good.

Let me know if this advice makes it better.

TheRoSS commented 11 years ago

Hmm... I was looking at Preferencies->Builders at home. There was only one project, node project, and the builder was JSHint there. But on the builder's place at work the "Missing builder (com.eclipsesource.jshint.ui.builder" is. May it be the source of my problem?

TheRoSS commented 11 years ago
  1. Nodeclips version - 0.5.0.201309080643
  2. Eclipse version - Juno Service Release 2 Build id: 20130225-0426 Eclipse Platform version - 4.2.1.v20130118
  3. Eclipse distribution Eclipse IDE for C/C++ Developers

    with installed: ChromeDevTools SDK 0.3.9.201309080643 Chromium JavaScript Remote Debugger 0.3.9.201309080643 MercurialEclipse 2.1.0.201304290948 Nodeclipse 0.5.0.201309080643 PHP Development Tools (PDT) 3.1.2.201212211235 PyDev for Eclipse 2.8.2.2013090511 Pydev Mylyn Integration 0.4.0 Subversive SVN Connectors 3.0.0.I20130122-1700 Subversive SVN Integration for the Mylyn Project (Optional) 1.0.0.I20130122-1700 Subversive SVN Team Provider 1.0.0.I20130122-1700 SVNKit 1.7.8 Implementation (Optional) 3.0.0.I20130122-1700

paulvi commented 11 years ago

You need to look into Window -> Preferences

then in group JavaScript find and disable Validation

then check group JSHint

paulvi commented 11 years ago

Please also update to Nodeclipse 0.6 http://www.nodeclipse.org/history

paulvi commented 10 years ago

@TheRoSS Is it better with 0.7 now?