Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TheRoSS opened this issue Oct 4, 2013 · 10 comments
Assignees
Labels

Comments

@TheRoSS
Copy link

TheRoSS commented Oct 4, 2013

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
Copy link
Member

paulvi commented Oct 4, 2013

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 paulvi closed this as completed Oct 4, 2013
@paulvi
Copy link
Member

paulvi commented Oct 5, 2013

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 paulvi reopened this Oct 5, 2013
@ghost ghost assigned paulvi Oct 5, 2013
@paulvi
Copy link
Member

paulvi commented Oct 10, 2013

@TheRoSS is not answering.

Assume part 2 is #72

@paulvi paulvi closed this as completed Oct 10, 2013
@TheRoSS
Copy link
Author

TheRoSS commented Oct 10, 2013

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
Copy link
Member

paulvi commented Oct 10, 2013

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
Copy link
Author

TheRoSS commented Oct 10, 2013

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
Copy link
Author

TheRoSS commented Oct 10, 2013

  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
Copy link
Member

paulvi commented Oct 10, 2013

You need to look into Window -> Preferences

then in group JavaScript find and disable Validation

then check group JSHint

@paulvi
Copy link
Member

paulvi commented Oct 10, 2013

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

@paulvi
Copy link
Member

paulvi commented Nov 23, 2013

@TheRoSS Is it better with 0.7 now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants