Skip to content

Commit 6643385

Browse files
committed
update features description and README
1 parent b85971d commit 6643385

File tree

7 files changed

+224
-13
lines changed

7 files changed

+224
-13
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ It is version 0.5.0.20090415
107107

108108
![](src/site/markdown/org.nodeclipse.ui-dependants.png)
109109

110-
### A lot of words
110+
### A lot of words from 2013
111111

112112
Below is long and a little bit old notes. You should better start with building yourself, checking <http://www.nodeclipse.org>
113113
that has all links.

features/org.nodeclipse.enide.gradle.feature/feature.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66
provider-name="Nodeclipse/Enide, Paul Verest">
77

88
<description url="https://github.com/Nodeclipse/nodeclipse-1/tree/master/org.nodeclipse.enide.gradle">
9-
Enide Gradle is alternative and completion to m2e (Gradle Integration for Eclipse).
9+
Enide Gradle is alternative and completion to `Gradle Integration for Eclipse`.
1010

1111
Launch build or Gradle GUI.
12-
Project does not need to be Gradle project. Just `build.gradle` would
13-
be enough.
12+
Project does not need to be Gradle project. Just `build.gradle` would be enough.
1413
(The project may be General, old classic Java, Maven or
1514
broken Gradle project.)
1615
No miracles, this plugins just launches `gradle` with options, as

features/org.nodeclipse.enide.maven.feature/feature.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
Launch build or execute Java class.
1212
Project does not need to be Maven project. Just `pom.xml` would be enough.
13-
(The project may be General, old classic Java, broken Maven or Gradle project.)
13+
(The project may be General, old classic Java, Eclipse plugin with Tycho, broken Maven or Gradle project.)
1414

1515
No miracles, this plugins just launches `mvn` with options, as you can do from command line.
1616
Full path to maven `mvn.bat` or `mvn` is used, so you can try different versions.

org.nodeclipse.enide.gradle/.README.md.html

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5-
<title>D:\workspaces\Nodeclispe-DEV\nodeclipse-1\org.nodeclipse.enide.gradle\.README.md.html</title>
5+
<title>D:\Workspaces\Nodeclipse-DEV\nodeclipse-1\org.nodeclipse.enide.gradle\.README.md.html</title>
66

77

88
<style type="text/css">
@@ -455,6 +455,41 @@ <h2> <a name="orgnodeclipseenidegradle" class="anchor" href="..md.html#orgnodecl
455455
<li>Minisite <a href="http://www.nodeclipse.org/enide/gradle/">http://www.nodeclipse.org/enide/gradle/</a> </li>
456456
<li>GitHub <a href="https://github.com/Nodeclipse/nodeclipse-1/tree/master/org.nodeclipse.enide.gradle">https://github.com/Nodeclipse/nodeclipse-1/tree/master/org.nodeclipse.enide.gradle</a> </li>
457457
</ul>
458-
<p><em>Description</em>:<br /> Right-click any <code>.gradle</code> file, and select <code>Run As -&gt; Gradle GUI</code></p>
458+
<p><em>Description</em>:<br /> Right-click any <code>.gradle</code> file, and select <code>Run As -&gt; Gradle GUI</code></p>
459+
<p>To run/execute with gradle add this to <code>build.gradle</code> </p>
460+
<pre><code>task execute(type:JavaExec) {
461+
main = mainClass
462+
classpath = sourceSets.main.runtimeClasspath
463+
}
464+
</code></pre>
465+
<p>then execution is via</p>
466+
<pre><code>gradle execute -PmainClass=runclass.RunClass
467+
</code></pre>
468+
<p>see <a href="http://stackoverflow.com/questions/21358466/gradle-to-execute-java-class-without-modifying-build-gradle">Gradle to execute Java class (without modifying build.gradle)</a></p>
469+
<h3> <a name="jetty" class="anchor" href="..md.html#jetty"><span class="octicon octicon-link"></span></a>Jetty</h3>
470+
<p>As with Maven, your <code>build.gradle</code> should have jetty configuration to enable <code>gradle jetty:run</code> Gradle start.</p>
471+
<p>See <a href="https://github.com/Khoulaiz/gradle-jetty-eclipse-plugin/issues/4">#4 Running from Eclipse plugin</a> for <a href="https://github.com/Khoulaiz/gradle-jetty-eclipse-plugin">gradle-jetty-eclipse-plugin</a> that has support for jetty 7+</p>
472+
<h3> <a name="daemon" class="anchor" href="..md.html#daemon"><span class="octicon octicon-link"></span></a>Daemon</h3>
473+
<p>see <a href="..md.html">Chapter 19. The Gradle Daemon</a>, <a href="..md.html">Appendix D. Gradle Command Line</a></p>
474+
<p>Use Gradle daemon to speed up sequential gradle execution:</p>
475+
<p>launch <code>gradle --foreground -i</code> in a shell or configure Eclipse external tool:</p>
476+
<p><a href="docs/add-gradle-daemon-as-external-tool-1.PNG" target="_blank"><img src="docs/add-gradle-daemon-as-external-tool-1.PNG" alt="" style="max-width:100%;" /></a><br /><a href="docs/add-gradle-daemon-as-external-tool-2.PNG" target="_blank"><img src="docs/add-gradle-daemon-as-external-tool-2.PNG" alt="" style="max-width:100%;" /></a></p>
477+
<h3> <a name="developing" class="anchor" href="..md.html#developing"><span class="octicon octicon-link"></span></a>Developing</h3>
478+
<ol>
479+
<li> <code>git clone</code>;</li>
480+
<li>import this project and <code>org.nodeclipse.common</code> (only 2 is enough) in Eclipse with PDE (e.g. Eclipse SDK/Classic) as &quot;Existing Projects into Workspace&quot;.</li>
481+
</ol>
482+
<p>maven build is optional for full build with other plugins.</p>
483+
<h4> <a name="some-links" class="anchor" href="..md.html#some-links"><span class="octicon octicon-link"></span></a>Some links</h4>
484+
<ul>
485+
<li><a href="http://www.javaworld.com/article/2071275/core-java/when-runtime-exec---won-t.html">When Runtime.exec() won't</a></li>
486+
</ul>
487+
<blockquote>
488+
<p>Because some native platforms only provide limited buffer size for standard input and output streams, failure to promptly write the input stream or read the output stream of the subprocess may cause the subprocess to block, and even deadlock.</p>
489+
</blockquote>
490+
<pre><code>&quot;C:\Program Files\Java\jdk1.7.0_25/bin/java.exe&quot; &quot;-Dorg.gradle.appname=gradle&quot; -classpath &quot;D:\Progs\gradle-1.10\lib\gradle-launcher-1.10.jar&quot; org.gradle.launcher.GradleMain
491+
</code></pre>
492+
<p>Java without IDE <a href="http://www.cs.swarthmore.edu/%7Enewhall/unixhelp/debuggingtips_Java.html">http://www.cs.swarthmore.edu/~newhall/unixhelp/debuggingtips_Java.html</a></p>
493+
<p><a href="http://stackoverflow.com/questions/502494/execute-a-java-program-from-our-java-program">http://stackoverflow.com/questions/502494/execute-a-java-program-from-our-java-program</a></p>
459494
</body>
460495
</html>

org.nodeclipse.enide.gradle/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ launch `gradle --foreground -i` in a shell or configure Eclipse external tool:
4646
### Developing
4747

4848
1. `git clone`;
49-
2. import this project and `org.nodeclipse.common` (2) in Eclipse with PDE (e.g. Eclipse SDK/Classic)
49+
2. import this project and `org.nodeclipse.common` (only 2 is enough) in Eclipse with PDE (e.g. Eclipse SDK/Classic)
5050
as "Existing Projects into Workspace".
5151

5252
maven build is optional for full build with other plugins.

0 commit comments

Comments
 (0)