It seems that Eclipse is completely ignoring what I put in the "arguments" box of my run configuration.
This is the command it executes: "C:\Program Files\Java\jre1.6.0\bin\javaw.exe" - agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:52926 - classpath C:\Users\Nathan\.eclipse \org.eclipse.platform_3.5.0_1709980481\plugins \org.eclipse.dltk.javascript.rhino_1.0.0.v20090528-1923.jar;C:\Users \Nathan\.eclipse\org.eclipse.platform_3.5.0_1709980481\plugins \org.eclipse.dltk.javascript.rhino.dbgp_1.0.0.v20090528-1923.jar RhinoRunner C:/Users/Nathan/workspace/QA/src/script/run.js This is what is in my arguments box: -cp "c:\working\narwhal\engines\rhino\jars\js.jar;c:\working\narwhal \engines\rhino\jars\jline.jar;c:\working\narwhal\engines\rhino\jars \jna.jar;c:\working\narwhal\packages\jack\jars\simple-4.1.10.jar" "org.mozilla.javascript.tools.shell.Main" -version "170" "c:\working \narwhal\engines\rhino\bootstrap.js" narwhal "script\run" I'm not really having any luck. Johan, are you saying that if I just include org.eclipse.dltk.javascript.rhino.dbgp in my narwhal project, I can start it then connect with the debugger through Eclipse? How would I connect to the remote process? On Dec 4, 5:53 am, Johan Compagner <[email protected]> wrote: > with dltk you just need to ship "org.eclipse.dltk.javascript.rhino.dbgp" > plugin code with your rhino > That way you have the debug part right besides your rhino > Then you should be able to connect/start it. > > We use this setup but we have a slightly patched version to be able to > remote connect to it. > > > > On Tue, Dec 1, 2009 at 08:02, Nathan <[email protected]> wrote: > > I would like to use the DLKT JavaScript addon as my IDE for developing > > narwhal apps. I am having trouble getting the environment setup. > > Narwhal can use rhino as an engine, but I need to setup my "run > > configuration" to execute my application using narwhals bootstrap > > process. The normal way of running narwhal is by invoking a shell > > script in the narwhal/bin directory. > > > I'd appreciate being pointed in the right direction for how to get > > started on setting up my environment to use Eclipse JavaScript DLKT. > > > Thanks. > > _______________________________________________ > > dev-tech-js-engine-rhino mailing list > > [email protected] > >https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
