groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [03/13] incubator-groovy git commit: Documentation: Rework the "Embedding the Console" section (remove link to codehaus page)
Date Mon, 08 Jun 2015 11:40:13 GMT
Documentation: Rework the "Embedding the Console" section (remove link to codehaus page)


Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/816e7590
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/816e7590
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/816e7590

Branch: refs/heads/GROOVY_2_4_X
Commit: 816e7590acd0feaf31423629df3f04f646916d1b
Parents: f10acb3
Author: pascalschumacher <pascalschumacher@gmx.net>
Authored: Sun Jun 7 16:58:58 2015 +0200
Committer: Paul King <paulk@asert.com.au>
Committed: Mon Jun 8 21:27:15 2015 +1000

----------------------------------------------------------------------
 .../groovy-console/src/spec/doc/groovy-console.adoc    | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/816e7590/subprojects/groovy-console/src/spec/doc/groovy-console.adoc
----------------------------------------------------------------------
diff --git a/subprojects/groovy-console/src/spec/doc/groovy-console.adoc b/subprojects/groovy-console/src/spec/doc/groovy-console.adoc
index cab889f..2703201 100644
--- a/subprojects/groovy-console/src/spec/doc/groovy-console.adoc
+++ b/subprojects/groovy-console/src/spec/doc/groovy-console.adoc
@@ -103,33 +103,24 @@ expected or when an exception is thrown
 == Embedding the Console
 
 To embed a Swing console in your application, simply create the Console
-object, +
- load some variables, and then launch it. The console can be embedded in
-either Java or Groovy code. +
- The Java code for this is:
+object, load some variables, and then launch it. The console can be embedded in
+either Java or Groovy code. The Java code for this is:
 
 [source,java]
 --------------------------------------------------
 import groovy.ui.Console;
 
     ...
-
     Console console = new Console();
     console.setVariable("var1", getValueOfVar1());
     console.setVariable("var2", getValueOfVar2());
     console.run();
-
     ...
 --------------------------------------------------
 
 Once the console is launched, you can use the variable values in Groovy
 code.
 
-An example of how to embed either the GroovyConsole or GroovyShell in a
-Spring Web application can be found at
-http://groovy.codehaus.org/Embedding+a+Groovy+Console+in+a+Java+Server+Application[Embedding
-a Groovy Console in a Java Server Application]
-
 [[GroovyConsole-Visualizingscriptoutputresults]]
 == Visualizing script output results
 


Mime
View raw message