Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-20-2009, 12:48 AM   #1
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?

thanks & regards,
P. Rooban
Old 08-20-2009, 01:31 AM   #2
Registered: Jul 2009
Location: The Netherlands
Distribution: Debian/Ubuntu and RHEL/CentOS
Posts: 42

Rep: Reputation: 18

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
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:24 AM
Building Linux Server cyberhydra Linux - Server 1 08-03-2007 05:01 PM
Fedora Core 1 Associating .jar files with java -jar command pymehta Fedora 0 01-13-2005 06:26 AM
Tale of Building a Linux Archive Server phlyersphan Linux - News 1 11-26-2004 04:50 AM
Building a Linux server... Difficult? Anth3m Linux - Newbie 3 10-24-2003 12:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:03 AM.

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