Quantcast
Channel: AREYES » Ant Build Scripts
Viewing all articles
Browse latest Browse all 2

Jsch – Build from Source

$
0
0

As I’m trying to create a way to remotely execute commands, I found a very nice API that can help me so.

JsCh API

The API is basically a wrapped of low-level platform dependent library can connect to a remote PC – via its own port, and execute commands for it.

I’ve manage to build the actual API code from source and make an Eclipse Project for it. There are also examples (source_examples package) for a head start.

Eclipse Project – Source

How about this. What if you can remotely call this API from your task (ant build task), to restart an Application Server (freeing up some resources) before automatically deploying it? All in one build task? :)

How about, transfer files remotely via FTP or SFTP? You can automate your transfer task using this API and develop a simple UI for it. :)



Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images