Skip to content

Commit

Permalink
more links in .md
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Verest 伟保罗 committed Oct 16, 2013
1 parent c4e6bd4 commit 5480397
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 38 deletions.
8 changes: 8 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

Nodeclipse is developers-driven project. That means new features arrives
when someone cares to develop it, asks a question or raises a bug.

Reminder from <http://www.nodeclipse.org/#support>

<h3><a name="support" class="anchor" href="#support"></a>Support</h3>
Expand All @@ -20,3 +23,8 @@ Should you report a bug, please include the following:
or from '.log' file from the directory '.metadata' in your workspace.</li>
<li>See example <a href="https://github.com/Nodeclipse/nodeclipse-1/issues/78">issue #78</a></li>
</ol>
</p>
<li>I have an idea/request -- suggest new <a href="http://nodeclipse.uservoice.com/forums/216804-general">ideas for Nodeclipse</a>!</li>
<li>Why do you? -- <a href="https://groups.google.com/forum/#!forum/nodeclipse">Nodeclipse forum(Mailing list)</a>!</li>
<li>When will you? -- <a href="https://groups.google.com/forum/#!forum/nodeclipse">Nodeclipse forum(Mailing list)</a>!</li>
</ul>
26 changes: 26 additions & 0 deletions org.nodeclipse.help/contents/nashorn.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@


# Nashorn

## Links

Main blog <https://blogs.oracle.com/nashorn/> by Jim Laskey

Sources: <http://hg.openjdk.java.net/nashorn/jdk8/nashorn>

- <http://insin-notes.readthedocs.org/en/latest/JavaOne2012/nashorn_node_jpa_persistence_bof.html>
references Node.jar project (implementation of Node.js on JVM). However there are no more news, and the projects
is closed-sourced in Oracle.

- Node.jar, Akhil Arora
- JPA & Node.jar, Doug Clarke


- [Java Platform, Standard Edition Nashorn User's Guide](http://download.java.net/jdk8/docs/technotes/guides/scripting/nashorn/)


- [Java Scripting Programmer's Guide](http://hg.openjdk.java.net/nashorn/jdk8/nashorn/raw-file/29b2b2ed954c/docs/JavaScriptingProgrammersGuide.html)


Old and excited blog post: <http://kaeff.net/posts/why-ruby-and-nodejs-folks-should-care-about-project-nashorn.html>



### `jjs` command line util

C:\Program Files\Java\jdk1.8.0\bin>jjs.exe -v
Expand Down
82 changes: 44 additions & 38 deletions org.nodeclipse.help/contents/nodejs.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,49 @@
Title: Nodeclipse Help - Node.js

# Node.js

Of course <http://nodejs.org/> .

Sources at GitHub <https://github.com/joyent/node/> .

## Node.js

```txt
$ node -h
Usage: node [options] [ -e script | script.js ] [arguments]
node debug script.js [arguments]
Options:
-v, --version print node's version
-e, --eval script evaluate script
-p, --print evaluate script and print result
-i, --interactive always enter the REPL even if stdin
does not appear to be a terminal
--no-deprecation silence deprecation warnings
--trace-deprecation show stack traces on deprecations
--v8-options print v8 command line options
--max-stack-size=val set max v8 stack size (bytes)
Environment variables:
NODE_PATH ';'-separated list of directories
prefixed to the module search path.
NODE_MODULE_CONTEXTS Set to 1 to load modules in their own
global contexts.
NODE_DISABLE_COLORS Set to 1 to disable colors in the REPL
Documentation can be found at http://nodejs.org/
$ node -h
Usage: node [options] [ -e script | script.js ] [arguments]
node debug script.js [arguments]
Options:
-v, --version print node's version
-e, --eval script evaluate script
-p, --print evaluate script and print result
-i, --interactive always enter the REPL even if stdin
does not appear to be a terminal
--no-deprecation silence deprecation warnings
--trace-deprecation show stack traces on deprecations
--v8-options print v8 command line options
--max-stack-size=val set max v8 stack size (bytes)
Environment variables:
NODE_PATH ';'-separated list of directories
prefixed to the module search path.
NODE_MODULE_CONTEXTS Set to 1 to load modules in their own
global contexts.
NODE_DISABLE_COLORS Set to 1 to disable colors in the REPL
Documentation can be found at http://nodejs.org/
```


```txt
$ node -p "process.versions"
{ http_parser: '1.0',
node: '0.10.0',
v8: '3.14.5.8',
ares: '1.9.0-DEV',
uv: '0.9',
zlib: '1.2.3',
openssl: '1.0.1e' }
$ node -p "process.versions"
{ http_parser: '1.0',
node: '0.10.0',
v8: '3.14.5.8',
ares: '1.9.0-DEV',
uv: '0.9',
zlib: '1.2.3',
openssl: '1.0.1e' }
```

### Node.js instances
Expand All @@ -58,13 +64,13 @@ Node.js sources have "Node.js Core Modules" in `lib` folder, that may be useful.
Add following snippet to project `.project` file to reference Node.js sources.

```xml
<linkedResources>
<link>
<name>nodejs-sources-lib</name>
<type>2</type>
<location>E:/Enide/node-sources/node-v0.10.19/lib/</location>
</link>
</linkedResources>
<linkedResources>
<link>
<name>nodejs-sources-lib</name>
<type>2</type>
<location>E:/Enide/node-sources/node-v0.10.19/lib/</location>
</link>
</linkedResources>
```

![](images/nodejs-sources-lib.PNG)
Expand Down

0 comments on commit 5480397

Please sign in to comment.