Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[atf-dev] Re: Cannot find jslint.js

John,

The jslint situation is not acceptable.  Neither is the dojo install
situation.  We hadn't invested more time in making it palatable
because I think we were hoping we'd just be able to distribute the
bits and make the problem go away.  If we can't solve this soon, we
probably need to do something like you suggest.

Yes, Crockford's preamble was a problem and he kindly removed the
offending clause for us a while back in the version we posted to
alphaWorks.  Unfortunately, the clause remains in his standard
distribution.

-Adam

On 8/6/06, atf-dev-request@xxxxxxxxxxx  "John J. Barton"
<johnjbarton@xxxxxxxxxxxxxxx> wrote:
If jslint.js is not found a stack trace results (see below).  As a user I
had to read the
source to figure out that my install was incomplete.  A much better error
message
would be
     *  Go to the URL, http://www.jslint.com/fulljslint.js
     * Save the file as jslint.js in <your
eclipse>/plugins/org.eclipse.atf.javascript.validator
(Assuming that is correct).
     * OR uncheck
Window->Preferences->Validation->JavascriptSyntaxValidator to disable jslint.

BTW I think its a mistake to build a dependency on jslint.js; the license
has an ambiguous
religion clause that effectively prevents redistribution by responsible
people.


java.io.IOException: Cannot find jslint.js
at
org.eclipse.core.internal.runtime.FindSupport.openStream(FindSupport.java:247)
at org.eclipse.core.runtime.FileLocator.openStream(FileLocator.java:108)
at org.eclipse.core.runtime.Plugin.openStream(Plugin.java:477)
at
org.eclipse.atf.javascript.internal.validation.JSLintValidator.getJSLintReader(JSLintValidator.java:185)
at
org.eclipse.atf.javascript.internal.validation.JSLintValidator.<init>(JSLintValidator.java:54)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:80)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:44)
at java.lang.reflect.Constructor.newInstance(Constructor.java:315)
at java.lang.Class.newInstance3(Class.java:367)
at java.lang.Class.newInstance(Class.java:305)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:157)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:759)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at
org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorMetaData.createExecutableExtension(ValidatorMetaData.java:130)
at
org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorMetaData.createExtension(ValidatorMetaData.java:152)
at
org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorMetaData.createValidator(ValidatorMetaData.java:175)
at
org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:195)
at
org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:146)
at
org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:196)
at
org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor.run(DirtyRegionProcessor.java:534)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

______________________________________________________
John J. Barton  email:  johnjbarton<at>johnjbarton.com
http://www.johnjbarton.com


______________________________________________________
John J. Barton  email:  johnjbarton<at>johnjbarton.com
http://www.johnjbarton.com



------------------------------

_______________________________________________
atf-dev mailing list
atf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/atf-dev


End of atf-dev Digest, Vol 5, Issue 3
*************************************



Back to the top