As David's bash loop didn't worked for me with Cygwin, I post a modified version. Now I'm looking for a current .launch file to be able to debug in ecplise. Anyone?

--- schnipp ---

#!/usr/bin/bash
for modules in "$(find ./*/ -name project.xml | sed 's/project.xml//')"; do
   echo $modules;
   for module in $modules
   do
     pushd $module &> /dev/null
     maven eclipse > /dev/null
     popd &> /dev/null
   done;
done;

--- schnapp ---

Regards,
--
/rgb



[EMAIL PROTECTED] wrote:

Hi! This is the ezmlm program. I'm managing the
[EMAIL PROTECTED] mailing list.



Return-Path: <[EMAIL PROTECTED]>
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Delivered-To: mailing list [EMAIL PROTECTED]
Received: (qmail 14832 invoked from network); 23 Apr 2004 21:07:39 -0000
Received: from unknown (HELO conn.mc.mpls.visi.com) (208.42.156.2)
 by daedalus.apache.org with SMTP; 23 Apr 2004 21:07:39 -0000
Received: from sweetums.wibdio.net (c-66-41-158-180.mn.client2.attbi.com 
[66.41.158.180])
        by conn.mc.mpls.visi.com (Postfix) with ESMTP id 04FDA820E
        for <[EMAIL PROTECTED]>; Fri, 23 Apr 2004 16:07:45 -0500 (CDT)
Received: by sweetums.wibdio.net (Postfix, from userid 500)
        id 05FC41577BE; Fri, 23 Apr 2004 17:07:44 -0400 (EDT)
Date: Fri, 23 Apr 2004 16:07:43 -0500
From: David Blevins <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Eclipse issue
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.4i
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N

On Fri, Apr 23, 2004 at 11:34:24PM +0300, Jukka Uusisalo wrote:


Hi,

Does somebody have suggestions or good practices how create eclipse projects
against geronimo directory structure from cvs?

I made one eclipse project like geronimo-module = eclipse-module, but it
feels
little bit hard to find needed parts to get compiled etc. Also one big
project with several
source root does not make me happy.

Any ideas, propably some has done this before?


I do this bash loop in the incubator-geronimo dir after a cvs checkout.

for module in "$(find ./*/ -name project.xml | sed 's/project.xml//')"; do
echo $module
pushd $PWD &> /dev/null; cd $module
maven eclipse > /dev/null
popd &> /dev/null
done;


Then you just have to refresh or import the eclipse projects.

-David






Reply via email to