Problem using jQueryWTP 0.36 for Eclipse - javascript

I am trying to get jQueryWTP to work with Elipse 3.5.2. I followed the instructions and the new jar file was created (org.eclipse.wst.jsdt.core_1.0.201.v2010012803.jar). I replaced this new jar file with the old jar file in the Eclipse plugin directory. However, when I started Eclipse I saw an error with this jar file.
Here is the error I am seeing in the Eclipse log file:
Either the manifest file or the signature file has been tampered in this jar: C:\Program Files\Eclipse\eclipse 3.5.2\plugins\org.eclipse.wst.jsdt.core_1.0.201.v2010012803.jar
Has anyone else received this type of error when installing jQueryWTP? And, if so did you find a workaround to get this to work?
I have spent much time researching this and have not come up with a solution. I did see that someone else had this problem, but there wasn't a solution provided.
Trish

If you can/want you may be interested in trying out Aptana Studio (http://www.aptana.com/)... It has great support for a lot of js frameworks and intellisense.
HTH
Cheers!

Related

How to run (or build then run?) this Mozilla Rhino Debugger?

Would like to try this Rhino Debugger however having problems
I downloaded latest from here according to doc it says just simply run:
java org.mozilla.javascript.tools.debugger.Main [options] [filename.js] [script-arguments]
however..it's source code, so I probably need to build it first...(unless there are precompiled download out there?). Assuming I need to build it to get the jar file for debugger, I assume just build the build.gradle file at the root dir. Or run gradle tasks build ? When I do that I get error:
Execution failed for task ':checkstyleMain'.Unable to create a Checker: configLocation {C:\rhino\rhino-1.7.8\checkstyle.xml}, classpath {C:\rhino\rhino-1.7.8\buil
dGradle\classes\java\main;C:\rhino\rhino-1.7.8\buildGradle\resources\main}.
So..I'm a bit lost. Been ten years since I've worked with Java, but hopefully I'm missing something simple.
Any experienced Rhino JavaScript devs out there that can point me in the right direction? Should I just stick with using Eclipse? (Had that working, but I'm still curious about this debugger)
Download the latest rhino from the link you provided, at this time it is "rhino-1.7.8.zip". Unzip that and change directory to "rhino1.7.8/lib"; you need the "rhino-1.7.8.jar" in your CLASSPATH. Assuming you are in "rhino1.7.8/lib" that should be in your current folder, and you can then do
java -cp rhino-1.7.8.jar org.mozilla.javascript.tools.debugger.Main
Which should render like

Unable to Run JavaScript in Atom with Script package

I am trying to run JavaScript code in Atom with Script package. It can run Python successfully, but with JS files it gives the following error message:
The system cannot find the file specified.
I had the same problem while analyzing some JavaScript code of an extension for Chrome.
Using: Windows 7 64Bit Atom:1.24.0 x64
Since I my coding Folder is somewhere else I copied the files in that folder. Let’s say:
C:\Users\USER\CodingStuff\
then it started working. I have also tried adding the extension file the Sources via:
1 - CTRL+SHIFT+I
2- Right click -> add folder to workspace
But that did not work.
Side note: node.js has to be installed on the system.
Hope it helps.
I know I am late, but if any other faces the same issue, my answer will be helpful.
Assumed that you want to run your javascript outside browser and you installed node.js.
There is a bug in "script" package of Atom. Check ur path of the script if there are spaces then this leads to the aforementioned error. Work around is remove spaces.
for ex:
E:\Java script\trial.js
change to:
E:\Javascript\trial.js

How to reenable compiler warnings in Eclipse?

I'm working on a Tomcat WebApp with Servlets, with the Eclipse Project being a JavaScript one. However, I need to get the Java compiler to control the .java files so that I can get the appropriate IDE features.
I've installed a Java perspective and language plugins via Install New Software, and restarted Eclipse. Everything threw errors then, including stuff like import java.io.*;.
I've Cleaned the project and in the meantime checked the Java Build Path in the Project's Properties. It seems to be all correct, using JRE System library [jre1.8.0_101]. After the validation finished I've restarted Eclipse again.
Nothing throws errors now. I've added a contextually nonsense statements of Seriously hello = new What(); where neither Seriously nor What are defined anywhere and it doesn't throw anything.
In fact, removing the semi-colons doesn't throw an error either, as if there was no Compilation overlooking the files at all.
Edit:
So I've deleted everything non-sourcey, and then recreated the project in Eclipse as a Faceted Project. This did not help. I'm thinking that maybe my Eclipse installation is bugged due to my blind installing of plugins.
I've still no clue how to fix this. :(
The source folder needs to include the .java files, otherwise the compiler just ignores them.
You set it at
Project->Properties->Java Build Path->Source tab

Netbeans project - Node.js: Node must be a valid file

I’ve just created my first Node.js application in Netbeans. I mean, this is a brand new project. I haven't done anything and I’m already getting an error. Maybe there is a step to configure this or a file to create or something to install but I've googled for information to no avail. I guess this is just too basic, because I couldn’t find anything out there to help.
What does this mean and how can I fix it?
Duh! I found it. For some reason the Node path and the npm path were defaulting to Program Files (x86) and nodejs was installed in Program Files. I feel dumb.
Plus, as soon as I fixed it, all other new projects were fixed.

Error while installing JSLintMate for Text Mate

I am trying to install JSLintMate http://rondevera.github.io/jslintmate/ for my text mate. Downloaded the bundle from their website and it suggested that it will get install automatically.
On unzipping it is asking for file encoding format and i am selecting default UTF-8
But after running the installation bundle I am getting an error
The bundle “JavaScript JSLintMate 1.4.tmbundle” does not contain the
required “info.plist” file (or that file is corrupt) and can therefore
not be installed.
I searched on the web regarding this but not able to find the solution.
Text-Mate Version: 1.5.11
OSX: Maverics 10.9
JSLintMate: 1.4
Is there anything wrong from my side or some additional step is required to make it work? Also please recommend me some alternatives since its not working.
Ok finally its working.The problem is with the unarchiver utility only. If I use default archiver utility instead,it's perfectly working fine https://github.com/rondevera/jslintmate/issues/30

Categories

Resources