-
Properties defined inside if task are available after coming out of the if task.
I thought this would be good to mention in the docs.
2004-11-17 11:32:40 UTC in ANT Contrib
-
... when there exists already jsch for example which has BSD-style lisence?.
2004-05-27 14:07:47 UTC in The Hopefully Uncomprehensible Shell
-
So here is the deal.
The server echos my messages back when I start a pseudo terminal.
To get rid of the echo I just code:
session = client.openSessionChannel();
// start a program that I want to communicate with
session.executeCommand("cvs server");
// use the in&out without pty or shell
in = session.getInputStream();
out = session.getOutputStream();
I am so happy :-)
2003-08-22 13:16:15 UTC in SSHTools
-
Now here is the problem (This example is when the server is win2000)
When I open the terminal the following happens
PROMPT>dir
dir
[ directory listing ]
PROMPT>PROMPT>echo off
echo off
dir
dir
[ directory listing ]
So it seems that it turns off the prompt (which was actually printed twice).
Could it be that I somehow feed my output back to input on client side...
2003-08-20 17:37:47 UTC in SSHTools
-
How can I tell Win32/Unix server not to echo?.
2003-08-20 07:14:43 UTC in SSHTools
-
SessionChannelClient echoes everything written to OutputStream to InputStream. How could this be disabled?.
2003-08-19 11:55:39 UTC in SSHTools
-
Here is an XML document
<?xml version="1.0" encoding="latin1"?>
<taglib xmlns="http://java.sun.com/xml/ns/j2ee">
<tlib-version>0.1.1</tlib-version>
<jsp-version>1.2</jsp-version>
</taglib>
I try selecting the taglib node:
xmlDoc.getRootElement().selectSingleNode("/taglib");
But all I get is null.
2002-11-15 09:06:22 UTC in dom4j: flexible XML framework for Java
-
I made an XPath expression "//:*" which should capture
all nodes that belong to the default namespace.
But dom4j (Jaxen I assume) was unable to parse that
expression. It said that : was encountered unexpectedly.
I can still do the query with namespaces that have a
prefix and with the default namespace if I use the
URL "//http://java.sun.com/xml/ns/j2ee:*".
Xalan...
2002-11-13 17:13:13 UTC in dom4j: flexible XML framework for Java