Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 9852 invoked from network); 6 Jun 2005 22:39:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jun 2005 22:39:50 -0000 Received: (qmail 46537 invoked by uid 500); 6 Jun 2005 22:39:31 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 46513 invoked by uid 500); 6 Jun 2005 22:39:30 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 46499 invoked by uid 99); 6 Jun 2005 22:39:30 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of jak-tomcat-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 06 Jun 2005 15:39:26 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DfQAH-00039N-TR for tomcat-user@jakarta.apache.org; Tue, 07 Jun 2005 00:33:49 +0200 Received: from nvg1.sxip.com ([204.244.193.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Jun 2005 00:33:49 +0200 Received: from marius by nvg1.sxip.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Jun 2005 00:33:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: tomcat-user@jakarta.apache.org From: Marius Scurtescu Subject: Re: Multiple source directories for one webapp Date: Mon, 06 Jun 2005 15:36:07 -0700 Organization: Sxip Identity Corporation Lines: 60 Message-ID: References: <024201c5687c$40d68080$7bc8a8c0@cocteau2> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: nvg1.sxip.com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050404 Thunderbird/1.0.2 Mnenhy/0.7.2.0 X-Accept-Language: en-us, en In-Reply-To: <024201c5687c$40d68080$7bc8a8c0@cocteau2> Sender: news X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Laurent Brucher wrote: >>It all depends on what OS and what editor you use. Under Unix using >>symbolic links could be a solution. >> >>I am not familiar with rsync, but you could use a tool like >>that to keep >>two folders in sync. It should be possible to setup a process that is >>watching your working folder and every time a file changes to copy it >>over to the deployed web app folder. > > > I'm running Windows, so no synlinks. There are sym links under Windows, quite obscure though. Have a look at Junction: http://www.sysinternals.com/Utilities/Junction.html > I'm using Eclipse, which is capable of copying files to a given folder, but > cannot do that across Eclipse projects, and that's what I need to do. > Finally, I'm using tomcat 5.5. > > I'm not familiar with IDEA, but I'd rather avoid having to actually do > something > such as pressing a key. I guess I'm looking for a solution that ideally > requires as little > external tool as possible... One key press per changed file is not a big deal and it gives you control on what/when you deploy. Have you looked into rsync and the like? See Unison: http://www.cis.upenn.edu/~bcpierce/unison/ Also, check the recent "File synchronization software" thread(s) on the VanJUG mailing list: http://lists.openroad.ca/pipermail/vanjug/2005-June/thread.html > > > Thanks for the info anyway, > Laurent. Marius > > > >>I had a similar problem a while back (Windows/IDEA) and I >>ended up using >>a plugin that will copy the JSP file to the right location >>when hitting >> a special key. I found this plugin to be very effective. >> >> >>>Thanks, >>>Laurent. >> >>Marius --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org