Skip to content

Commit a3fba62

Browse files
committed
.grald README update
1 parent 7d43b65 commit a3fba62

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

org.nodeclipse.enide.gradle/README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,31 @@
1010
*Description*:
1111
Right-click any `.gradle` file, and select `Run As -> Gradle GUI`
1212

13+
To run/execute with gradle add this to `build.gradle`
14+
15+
task execute(type:JavaExec) {
16+
main = mainClass
17+
classpath = sourceSets.main.runtimeClasspath
18+
}
19+
20+
then execution is via
21+
22+
gradle execute -PmainClass=runclass.RunClass
23+
24+
see [Gradle to execute Java class (without modifying build.gradle)](http://stackoverflow.com/questions/21358466/gradle-to-execute-java-class-without-modifying-build-gradle)
25+
1326
### Developing
1427

15-
`git clone`, import this project and `org.nodeclipse.coomon` (2) in Eclipse with PDE (e.g. Eclipse SDK/Classic)
28+
1. `git clone`;
29+
2. import this project and `org.nodeclipse.common` (2) in Eclipse with PDE (e.g. Eclipse SDK/Classic)
1630
as "Existing Projects into Workspace".
1731

1832
maven build is optional for full build with other plugins.
33+
34+
#### Some links
35+
36+
- [When Runtime.exec() won't](http://www.javaworld.com/article/2071275/core-java/when-runtime-exec---won-t.html)
37+
38+
> Because some native platforms only provide limited buffer size for standard input and output streams,
39+
failure to promptly write the input stream or read the output stream of the subprocess may cause the subprocess to block, and even deadlock.
40+

0 commit comments

Comments
 (0)