Rami Ojares

Show:

What's happening?

  • Doc addition

    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

  • Why are you implementing java ssh library...

    ... when there exists already jsch for example which has BSD-style lisence?.

    2004-05-27 14:07:47 UTC in The Hopefully Uncomprehensible Shell

  • Followup: RE: echo problem, figured it out

    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

  • Followup: RE: echo problem

    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

  • Followup: RE: echo problem

    How can I tell Win32/Unix server not to echo?.

    2003-08-20 07:14:43 UTC in SSHTools

  • echo problem

    SessionChannelClient echoes everything written to OutputStream to InputStream. How could this be disabled?.

    2003-08-19 11:55:39 UTC in SSHTools

  • Selecting nodes from default namespace

    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

  • XPath does not accept default namespace

    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

About Me

  • 2001-01-17 (9 years ago)
  • 137425
  • rojares (My Site)
  • Rami Ojares

Send me a message