I am new to Hudson with PSEXEC, i am using hudson in my computer, i want to run batch file on remote computer from hudson build.
I used PSEXEC to run batch file on remote computer,when i executed from command promt it working successfully.But same i did from Hudson build its hanging..it's not doing anything.so please give any suggestions is there any other way we can handle this.
I want to do this quikly...urgent
Anyones help is appreciable
thanks in advance.
can any one help me
how to copy file from unix Windoes system to windows UNIX using ant?
Thanks in advance
EDIT
Let me explain in detail what I am looking for I want to copy file from windows to unix machine (correcting my previous question not from unix to windows) using ANT. I thought of using ftp task.
Before that as a check I tried to ftp unix sever from windows but it gave connection refused error(Do I need to provide my username and password,if that is the case what is the syntax).
But I am able to connect through putty which asks for my user name and password. Does putty uses a different protocol.
So if that is the case does ftp task works for me in ANT?. If not what task I need to use?
class A implements Runnable{
B b=new B();
public void run(){
while(true){
System.out.println("H1"+Thread.currentThread().getName());
}
}
}
public class Test {
public static void main(String[] str){
A a1 =new A();
// A a2 =new A();
//
Thread t1 =new Thread(a1, "Vichi");
Thread t2 =new Thread(a1,"Vishu");
t1.start();
t2.start();
}
}
what will be the ans:
1) only one of them will get the chance to execute
2) both will get chance in arbitrary manner
please suggest possible ans with explations