Skip to content

Commit e1eba0e

Browse files
committed
small updates
1 parent 8087651 commit e1eba0e

5 files changed

Lines changed: 113 additions & 42 deletions

File tree

README.md

Lines changed: 42 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,48 @@ Try out next 0.7 version from this sources just by `git clone`, `mvn package' ,
1616
Check README.md in project modules (e.g. `org.nodeclipse.debug` ). See launching Node.js logic in
1717
[LaunchConfigurationDelegate.java](https://github.com/Nodeclipse/nodeclipse-1/blob/master/org.nodeclipse.debug/src/org/nodeclipse/debug/launch/LaunchConfigurationDelegate.java)
1818

19+
Build
20+
21+
mvn package
22+
23+
Before release
24+
25+
mvn -Dtycho.mode=maven org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=0.9.0-SNAPSHOT
26+
27+
## Developing
28+
29+
[see src/site/markdown/developing.md file](src/site/markdown/developing.md)
30+
31+
### Maven build
32+
33+
[Maven](http://maven.apache.org/) build (using [Tycho plugin](http://eclipse.org/tycho/)) is headless build, that doesn't require Eclipse.
34+
35+
From Nodeclipse-1 base folder just run `mvn package`. Run offline when to re-build `mvn clean package -o`.
36+
37+
#### Install site.zip (quick and simple way)
38+
39+
1. Locate zip file under `org.nodeclipse.site\target` in Project Explorer, StartExplore-> Copy Resource Path to Clipboard
40+
2. Help -> Install New Software ...
41+
3. <kbd>Add...</kbd>
42+
4. <kbd>Archive...</kbd>
43+
5. Insert copied string into name and path.
44+
E.g. `C:\Users\pverest\git\nodeclipse-056\org.nodeclipse.site\target\org.nodeclipse.site-0.5.0-SNAPSHOT.zip`
45+
46+
For the next time just select the zip entry from Work With drop-down list.
47+
48+
#### Install from freshly built p2 repository (cool and long way)
49+
50+
2. `npm install http-server -g`
51+
3. `http-server org.nodeclipse.site\target\repository -p 8010`
52+
4. start http://localhost:8010/
53+
5. // navigate `http://localhost:8010/` in browser to check
54+
5. Help->Install New Software, enter http://localhost:8010/ in Work With
55+
56+
### Old stuff
57+
1958
Below is long and a little bit old notes. You should better start with building yourself, checking <http://www.nodeclipse.org>
2059
that has all links.
2160

22-
2361
**Table of Contents** *generated with [DocToc](http://doctoc.herokuapp.com/)*
2462

2563
- [Nodeclipse - Node.js support in Eclipse IDE](#nodeclipse---nodejs-support-in-eclipse-ide)
@@ -118,11 +156,12 @@ We use [Semantic Versioning](http://semver.org/). Version is MAJOR.MINOR.PATCH,
118156
Please participate in discussion, [propose and vote on new feature](http://nodeclipse.uservoice.com/forums/216804-general),
119157
on raise bugs on <https://github.com/Nodeclipse/nodeclipse-1/issues>
120158

121-
UPDATE: Roadmap is defnied by currently raised issues, voted ideas on uservoice, and desires of developers.
159+
UPDATE: Roadmap is defined by currently raised issues, voted ideas on uservoice, and desires of developers.
122160
Below is what was discussed in Spring 2013.
123161

162+
<!--
124163
Check also [developers news](https://github.com/Nodeclipse/nodeclipse-blog#news).
125-
164+
-->
126165

127166
### 0.x
128167

@@ -167,35 +206,6 @@ Is expected together with Node.js 1.0
167206
- Text formatting - Text folding for the JSON data format.)
168207
No Update site.
169208

170-
## Developing
171-
172-
[see src/site/markdown/developing.md file](src/site/markdown/developing.md)
173-
174-
### Maven build
175-
176-
[Maven](http://maven.apache.org/) build (using [Tycho plugin](http://eclipse.org/tycho/)) is headless build, that doesn't require Eclipse.
177-
178-
From Nodeclipse-1 base folder just run `mvn package`. Run offline when to re-build `mvn clean package -o`.
179-
180-
#### Install site.zip (quick and simple way)
181-
182-
1. Locate zip file under `org.nodeclipse.site\target` in Project Explorer, StartExplore-> Copy Resource Path to Clipboard
183-
2. Help -> Install New Software ...
184-
3. <kbd>Add...</kbd>
185-
4. <kbd>Archive...</kbd>
186-
5. Insert copied string into name and path.
187-
E.g. `C:\Users\pverest\git\nodeclipse-056\org.nodeclipse.site\target\org.nodeclipse.site-0.5.0-SNAPSHOT.zip`
188-
189-
For the next time just select the zip entry from Work With drop-down list.
190-
191-
#### Install from freshly built p2 repository (cool and long way)
192-
193-
2. `npm install http-server -g`
194-
3. `http-server org.nodeclipse.site\target\repository -p 8010`
195-
4. start http://localhost:8010/
196-
5. // navigate `http://localhost:8010/` in browser to check
197-
5. Help->Install New Software, enter http://localhost:8010/ in Work With
198-
199209
### Code standard
200210

201211
1. If you edited or created file, add yourself as @author in JavaDoc or comments

org.nodeclipse.debug/src/org/nodeclipse/debug/launch/LaunchConfigurationDelegate.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,10 @@ public void launch(ILaunchConfiguration configuration, String mode,
208208

209209
String[] cmds = {};
210210
cmds = cmdLine.toArray(cmds);
211-
// Launch a process to debug.eg,
211+
// Launch a process to run/debug. See also #71 (output is less or no output)
212212
Process p = DebugPlugin.exec(cmds, workingPath, envp);
213-
RuntimeProcess process = (RuntimeProcess)DebugPlugin.newProcess(launch, p, Constants.PROCESS_MESSAGE);
213+
// no way to get private p.handle from java.lang.ProcessImpl
214+
RuntimeProcess process = (RuntimeProcess)DebugPlugin.newProcess(launch, p, Constants.PROCESS_MESSAGE);
214215
if (isDebugMode) {
215216
if(!process.isTerminated()) {
216217
int nodeDebugPort = preferenceStore.getInt(PreferenceConstants.NODE_DEBUG_PORT);
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
```
3+
$ express -h
4+
5+
Usage: express [options]
6+
7+
Options:
8+
9+
-h, --help output usage information
10+
-V, --version output the version number
11+
-s, --sessions add session support
12+
-e, --ejs add ejs engine support (defaults to jade)
13+
-J, --jshtml add jshtml engine support (defaults to jade)
14+
-H, --hogan add hogan.js engine support
15+
-c, --css <engine> add stylesheet <engine> support (less|stylus) (defaults to plain css)
16+
-f, --force force on non-empty directory
17+
```
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
2+
$ phonegap -h
3+
4+
Usage: phonegap [options] [commands]
5+
6+
Description:
7+
8+
PhoneGap command-line tool.
9+
10+
Commands:
11+
12+
create <path> create a phonegap project
13+
build <platform> build a specific platform
14+
install <platform> install a specific platform
15+
run <platform> build and install a specific platform
16+
local [command] development on local system
17+
remote [command] development in cloud with phonegap/build
18+
help [command] output usage information
19+
version output version number
20+
21+
Options:
22+
23+
-V, --verbose allow verbose output
24+
-v, --version output version number
25+
-h, --help output usage information
26+
27+
Platforms:
28+
29+
keyword | local environment | remote environment
30+
-------------------|---------------------|-------------------
31+
android | Yes | Yes
32+
blackberry | Yes (BlackBerry 10) | Yes (BlackBerry 6)
33+
ios | Yes | Yes
34+
symbian | No | Yes
35+
webos | No | Yes
36+
wp7 | Yes | Yes
37+
wp8 | Yes | Coming Soon
38+
39+
Examples:
40+
41+
$ phonegap help create
42+
$ phonegap help remote build
43+
$ phonegap create path/to/my-app
44+
$ phonegap remote build android

org.nodeclipse.ui/build.properties

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
source.. = src/
2-
output.. = bin/
3-
bin.includes = META-INF/,\
4-
.,\
5-
plugin.xml,\
6-
icons/,\
7-
common-templates/,\
8-
templates/
1+
source.. = src/
2+
output.. = bin/
3+
bin.includes = META-INF/,\
4+
.,\
5+
plugin.xml,\
6+
icons/,\
7+
templates/

0 commit comments

Comments
 (0)