LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-19-2009, 11:48 PM   #1
roobanbe
LQ Newbie
 
Registered: Apr 2009
Posts: 5

Rep: Reputation: 0
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
 
Old 08-20-2009, 12:31 AM   #2
timvandijk039
Member
 
Registered: Jul 2009
Location: The Netherlands
Distribution: Debian/Ubuntu and RHEL/CentOS
Posts: 42

Rep: Reputation: 18
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
(workgroup can be replaced with domain=xxx if nescesary)

Hope this helps.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I got error with this command 'java -jar NodeView-v1.1.jar' mohdismiaswaly Linux - Software 3 04-23-2009 06:24 AM
Building Linux Server cyberhydra Linux - Server 1 08-03-2007 04:01 PM
Fedora Core 1 Associating .jar files with java -jar command pymehta Fedora 0 01-13-2005 05:26 AM
Tale of Building a Linux Archive Server phlyersphan Linux - News 1 11-26-2004 03:50 AM
Building a Linux server... Difficult? Anth3m Linux - Newbie 3 10-24-2003 11:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration