Skip to content

Commit fe11034

Browse files
committed
formating; comment
1 parent e0dfa7e commit fe11034

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

org.nodeclipse.ui/templates/hello-world/build.gradle

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
/*
22
* Nodeclipse/Enide build.gradle template for Node.js/Avatar.js project
33
* https://github.com/Nodeclipse/nodeclipse-1/blob/master/org.nodeclipse.ui/templates/hello-world/build.gradle
4+
* This file lets you optionally run Node.js app as Java Avatar.js app
45
* Usage
56
* 1. put in project root
67
* 2. check version numbers
7-
* 3. use from command line `gradle run` or http://marketplace.eclipse.org/content/gradle
8+
* 3. use from command line `gradle run` or with http://marketplace.eclipse.org/content/gradle Run As ->
89
* Support for this template
910
* https://github.com/nodeclipse/nodeclipse-1/issues/
1011
* @author Paul Verest, Opal
@@ -49,15 +50,15 @@ sourceSets {
4950
//http://stackoverflow.com/questions/23148214/gradle-task-to-run-nashorn-javascript
5051
task run(type: Exec) {
5152
println 'runHelloWorld1'
52-
// java -Djava.library.path=lib -jar lib/avatar-js.jar helloWorld.js
53-
commandLine 'java', '-Djava.library.path=lib', '-jar', 'lib/avatar-js.jar', 'hello-world-server.js'
54-
println 'runHelloWorld1 finished'
53+
// java -Djava.library.path=lib -jar lib/avatar-js.jar hello-world-server.js
54+
commandLine 'java', '-Djava.library.path=lib', '-jar', 'lib/avatar-js.jar', 'hello-world-server.js'
55+
println 'runHelloWorld1 finished'
5556
}
5657
task run2(type: JavaExec) {
5758
println 'runHelloWorld2'
58-
args 'hello-world-server.js'
59-
main 'com.oracle.avatar.js.Server'
60-
systemProperties 'java.library.path':'lib'
61-
classpath 'lib/avatar-js.jar'
62-
println 'runHelloWorld2 finished'
59+
args 'hello-world-server.js'
60+
main 'com.oracle.avatar.js.Server'
61+
systemProperties 'java.library.path':'lib'
62+
classpath 'lib/avatar-js.jar'
63+
println 'runHelloWorld2 finished'
6364
}

0 commit comments

Comments
 (0)