Skip to content

Commit

Permalink
better logging, inc to version 0.0.7
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
  • Loading branch information
cdietrich committed Jul 25, 2016
1 parent 6cc06e7 commit a78f322
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ install:
- npm install
script:
- nvm use $NODE_VERSION
- ./gradlew vscodeExtension
- ./gradlew vscodeExtension --refresh-dependencies
after_success:
- ./.travis-publishOnRelease.sh
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=0.0.6
version=0.0.7
2 changes: 1 addition & 1 deletion vscode-extension-self-contained/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "xtext-vscode-example",
"displayName": "Xtext VS Code example",
"description": "A simple dsl example for VS Code",
"version": "0.0.6",
"version": "0.0.7",
"publisher": "itemis",
"icon": "images/itemis.png",
"license": "EPL-1.0",
Expand Down
6 changes: 6 additions & 0 deletions vscode-extension-self-contained/src/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ function activate(context) {
// Connect to the language server via a io channel
var jar = context.asAbsolutePath(path.join('src', 'mydsl-full.jar'));
var child = spawn('java', ['-jar', jar]);
child.stdout.on('data', function (chunk) {
console.log(chunk.toString());
});
child.stderr.on('data', function (chunk) {
console.error(chunk.toString());
});
return Promise.resolve(child);
};
var clientOptions = {
Expand Down
2 changes: 1 addition & 1 deletion vscode-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "mydsl",
"displayName": "MyDsl",
"description": "MyDsl Language",
"version": "0.0.6",
"version": "0.0.7",
"publisher": "itemis",
"icon": "images/itemis.png",
"license": "EPL-1.0",
Expand Down

0 comments on commit a78f322

Please sign in to comment.