Skip to content

Commit 7ff696c

Browse files
committed
tiny updates; now with --shell option user can enter any requests to
MongoDB after .js script finished; close Kanatoko/MonjaDB#17
1 parent 66df2a0 commit 7ff696c

5 files changed

Lines changed: 24 additions & 2 deletions

File tree

org.nodeclipse.mongodb/help/.mongo.md.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@
7171
</head>
7272
<body class="markdown-body">
7373
<h1> <a name="mongodb" class="anchor" href="..md.html#mongodb"><span class="octicon octicon-link"></span></a>MongoDB</h1>
74+
<p>From <a href="http://en.wikipedia.org/wiki/Mongodb">Wikipedia</a></p>
75+
<blockquote>
76+
<p>MongoDB (from &quot;humongous&quot;) is a cross-platform document-oriented database system. Classified as a &quot;NoSQL&quot; database, MongoDB eschews the traditional table-based relational database structure in favor of JSON-like documents with dynamic schemas (MongoDB calls the format BSON), making the integration of data in certain types of applications easier and faster.</p>
77+
</blockquote>
7478
<p>From MongoDB README</p>
7579
<div class="highlight highlight-txt">
7680
<pre> <span class="err">COMPONENTS</span>

org.nodeclipse.mongodb/help/mongo.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
# MongoDB
44

5+
From [Wikipedia](http://en.wikipedia.org/wiki/Mongodb)
6+
7+
> MongoDB (from "humongous") is a cross-platform document-oriented database system. Classified as a "NoSQL" database, MongoDB eschews the traditional table-based relational database structure in favor of JSON-like documents with dynamic schemas (MongoDB calls the format BSON), making the integration of data in certain types of applications easier and faster.
8+
59
From MongoDB README
610

711
```txt

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class LaunchConfigurationDelegate implements ILaunchConfigurationDelegate
3636
public void launch(ILaunchConfiguration configuration, String mode,
3737
ILaunch launch, IProgressMonitor monitor) throws CoreException {
3838

39-
NodeclipseConsole.write("launch mongodb shell\n");
39+
//NodeclipseConsole.write("launch mongodb shell\n");
4040

4141
IPreferenceStore preferenceStore = Activator.getDefault().getPreferenceStore();
4242
boolean isDebugMode = mode.equals(ILaunchManager.DEBUG_MODE);
@@ -55,6 +55,8 @@ public void launch(ILaunchConfiguration configuration, String mode,
5555
}
5656
cmdLine.add(mongoDBShellPath);
5757

58+
cmdLine.add("--shell"); //run the shell after executing files
59+
5860
if (isDebugMode) {
5961
//TODO research how to debug
6062
}

org.nodeclipse.ui/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
3+
http://stackoverflow.com/questions/16755481/eclipse-plugin-how-to-show-resources-by-default-in-perspective
4+
5+
6+
- http://aniefer.blogspot.dk/2009/06/patching-features-with-p2.html
7+
8+
> Say I have a feature that I build, it runs on top of the Eclipse Platform. I know Eclipse Galileo is coming out soon, so I download it and try it out with my feature.
9+
10+
> Oh No! It doesn't work! I've found a bug in the platform, and its a major blocker for me. (Oops, maybe I should have tried this a couple of months ago when there still would have been time to fix the bug.)
11+
12+
> Meta-Comment: The Eclipse Platform Project has a reputation for shipping on time (even if that means there are unresolved bugs). There is a strict end game plan that is followed for the release, lock down started back at the beginning of May. The further we are along in the plan, the harder it is to get a fix approved for release. A lot of people don't seem to relealize this happens, and perhaps wonder why their important bugs are defered with the comment "Its too late".

org.nodeclipse.ui/src/org/nodeclipse/ui/preferences/NodePreferencePage.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class NodePreferencePage extends FieldEditorPreferencePage implements IWo
4545
public NodePreferencePage() {
4646
super(GRID);
4747
setPreferenceStore(Activator.getDefault().getPreferenceStore());
48-
setDescription("Node.js, Express, CoffeeScript, TypeScript, PhantomJS, Java 8 Nashorn jjs & Mongo DB Shell settings");
48+
setDescription("Node.js, Express, CoffeeScript, TypeScript, PhantomJS, Java 8 Nashorn jjs and MongoDB Shell settings");
4949
}
5050

5151
@Override

0 commit comments

Comments
 (0)