after building jar i want to paste it in the linux server
i am building jar through the command prompt in windows machine by writing some build scripts then i am manually copying that to the linux server using winscp. can i automate it.
i mean i want a script which will copy that jar from the windows machine to linux server. can any one help me for this? plz..! thanks & regards, P. Rooban |
Hi,
An possibility is to create a share on the windows-host where the jar file is located. Mount the share from the linux host and create a simple copy script which will be executed by the cron daemon on the linux host. Mount Windows share from linux Code:
mount -t cifs -o username=xxx -o password=xxx -o workgroup=xxx \\hostname\sharename mountpoint Hope this helps. |
All times are GMT -5. The time now is 01:18 PM. |