You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Paul Fremantle <pz...@gmail.com> on 2006/09/29 11:27:34 UTC
Multi-modules in Eclipse
Hi
At some point there was some talk of creating a util to help import
multi-module projects into Eclipse. Did anything come of it?
Paul
--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
http://bloglines.com/blog/paulfremantle
paul@wso2.com
"Oxygenating the Web Service Platform", www.wso2.com
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: Multi-modules in Eclipse
Posted by Ajith Ranabahu <aj...@gmail.com>.
Hmm.. I guess you are talking about maven2. If maven2 does that it'll
be awesom. Any idea whether this is possible in Maven 1 ?
Ajith
On 9/29/06, Raymond Feng <en...@gmail.com> wrote:
> That's what exactly what we do, but the "mounting" is logical. The
> interdependencies are set to the projects instead of jars by the maven
> eclipse plugin if you run mvn eclipse:eclipse from the root.
>
> Thanks,
> Raymond
>
> ----- Original Message -----
> From: "Ajith Ranabahu" <aj...@gmail.com>
> To: <ax...@ws.apache.org>
> Sent: Friday, September 29, 2006 10:32 AM
> Subject: Re: Multi-modules in Eclipse
>
>
> > Hi guys,
> > There were some thoughts of mounting the whole module directory as a
> > workspace and have each module mounted as a project . That way you can
> > set interdependancies set to projects. However the maven plugin is not
> > capable of doing that I guess.
> >
> > Ajith
> >
> > On 9/29/06, Raymond Feng <en...@gmail.com> wrote:
> >> Hi,
> >>
> >> We (Tuscany developers using Eclipse) run "mvn eclipse:eclipse" to create
> >> the IDE artifacts such as .project and .classpath after the SVN checkout.
> >> And then you can import (existing) projects into Eclipse. It's very
> >> straightforward. The only caveat comes from the maven eclipse plugin
> >> which
> >> doesn't support inclusion/exclusion patterns and as a result you cannot
> >> have
> >> overlapping source folders for one module.
> >>
> >> Thanks,
> >> Raymond
> >>
> >> ----- Original Message -----
> >> From: "Jeremy Boynes" <jb...@apache.org>
> >> To: <ax...@ws.apache.org>
> >> Sent: Friday, September 29, 2006 6:46 AM
> >> Subject: Re: Multi-modules in Eclipse
> >>
> >>
> >> > On Sep 29, 2006, at 2:27 AM, Paul Fremantle wrote:
> >> >
> >> >> Hi
> >> >>
> >> >> At some point there was some talk of creating a util to help import
> >> >> multi-module projects into Eclipse. Did anything come of it?
> >> >
> >> > Eclipse users in Tuscany are using the maven-eclipse-plugin - not one
> >> > myself so I don't know how well it works (I think there may be a few
> >> > gremlins).
> >> >
> >> > --
> >> > Jeremy
> >> >
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> >> > For additional commands, e-mail: axis-dev-help@ws.apache.org
> >> >
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: axis-dev-help@ws.apache.org
> >>
> >>
> >
> >
> > --
> > Ajith Ranabahu
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-dev-help@ws.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>
--
Ajith Ranabahu
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: Multi-modules in Eclipse
Posted by Raymond Feng <en...@gmail.com>.
That's what exactly what we do, but the "mounting" is logical. The
interdependencies are set to the projects instead of jars by the maven
eclipse plugin if you run mvn eclipse:eclipse from the root.
Thanks,
Raymond
----- Original Message -----
From: "Ajith Ranabahu" <aj...@gmail.com>
To: <ax...@ws.apache.org>
Sent: Friday, September 29, 2006 10:32 AM
Subject: Re: Multi-modules in Eclipse
> Hi guys,
> There were some thoughts of mounting the whole module directory as a
> workspace and have each module mounted as a project . That way you can
> set interdependancies set to projects. However the maven plugin is not
> capable of doing that I guess.
>
> Ajith
>
> On 9/29/06, Raymond Feng <en...@gmail.com> wrote:
>> Hi,
>>
>> We (Tuscany developers using Eclipse) run "mvn eclipse:eclipse" to create
>> the IDE artifacts such as .project and .classpath after the SVN checkout.
>> And then you can import (existing) projects into Eclipse. It's very
>> straightforward. The only caveat comes from the maven eclipse plugin
>> which
>> doesn't support inclusion/exclusion patterns and as a result you cannot
>> have
>> overlapping source folders for one module.
>>
>> Thanks,
>> Raymond
>>
>> ----- Original Message -----
>> From: "Jeremy Boynes" <jb...@apache.org>
>> To: <ax...@ws.apache.org>
>> Sent: Friday, September 29, 2006 6:46 AM
>> Subject: Re: Multi-modules in Eclipse
>>
>>
>> > On Sep 29, 2006, at 2:27 AM, Paul Fremantle wrote:
>> >
>> >> Hi
>> >>
>> >> At some point there was some talk of creating a util to help import
>> >> multi-module projects into Eclipse. Did anything come of it?
>> >
>> > Eclipse users in Tuscany are using the maven-eclipse-plugin - not one
>> > myself so I don't know how well it works (I think there may be a few
>> > gremlins).
>> >
>> > --
>> > Jeremy
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
>> > For additional commands, e-mail: axis-dev-help@ws.apache.org
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-dev-help@ws.apache.org
>>
>>
>
>
> --
> Ajith Ranabahu
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: Multi-modules in Eclipse
Posted by Ajith Ranabahu <aj...@gmail.com>.
Hi guys,
There were some thoughts of mounting the whole module directory as a
workspace and have each module mounted as a project . That way you can
set interdependancies set to projects. However the maven plugin is not
capable of doing that I guess.
Ajith
On 9/29/06, Raymond Feng <en...@gmail.com> wrote:
> Hi,
>
> We (Tuscany developers using Eclipse) run "mvn eclipse:eclipse" to create
> the IDE artifacts such as .project and .classpath after the SVN checkout.
> And then you can import (existing) projects into Eclipse. It's very
> straightforward. The only caveat comes from the maven eclipse plugin which
> doesn't support inclusion/exclusion patterns and as a result you cannot have
> overlapping source folders for one module.
>
> Thanks,
> Raymond
>
> ----- Original Message -----
> From: "Jeremy Boynes" <jb...@apache.org>
> To: <ax...@ws.apache.org>
> Sent: Friday, September 29, 2006 6:46 AM
> Subject: Re: Multi-modules in Eclipse
>
>
> > On Sep 29, 2006, at 2:27 AM, Paul Fremantle wrote:
> >
> >> Hi
> >>
> >> At some point there was some talk of creating a util to help import
> >> multi-module projects into Eclipse. Did anything come of it?
> >
> > Eclipse users in Tuscany are using the maven-eclipse-plugin - not one
> > myself so I don't know how well it works (I think there may be a few
> > gremlins).
> >
> > --
> > Jeremy
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-dev-help@ws.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>
--
Ajith Ranabahu
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: Multi-modules in Eclipse
Posted by Raymond Feng <en...@gmail.com>.
Hi,
We (Tuscany developers using Eclipse) run "mvn eclipse:eclipse" to create
the IDE artifacts such as .project and .classpath after the SVN checkout.
And then you can import (existing) projects into Eclipse. It's very
straightforward. The only caveat comes from the maven eclipse plugin which
doesn't support inclusion/exclusion patterns and as a result you cannot have
overlapping source folders for one module.
Thanks,
Raymond
----- Original Message -----
From: "Jeremy Boynes" <jb...@apache.org>
To: <ax...@ws.apache.org>
Sent: Friday, September 29, 2006 6:46 AM
Subject: Re: Multi-modules in Eclipse
> On Sep 29, 2006, at 2:27 AM, Paul Fremantle wrote:
>
>> Hi
>>
>> At some point there was some talk of creating a util to help import
>> multi-module projects into Eclipse. Did anything come of it?
>
> Eclipse users in Tuscany are using the maven-eclipse-plugin - not one
> myself so I don't know how well it works (I think there may be a few
> gremlins).
>
> --
> Jeremy
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: Multi-modules in Eclipse
Posted by Jeremy Boynes <jb...@apache.org>.
On Sep 29, 2006, at 2:27 AM, Paul Fremantle wrote:
> Hi
>
> At some point there was some talk of creating a util to help import
> multi-module projects into Eclipse. Did anything come of it?
Eclipse users in Tuscany are using the maven-eclipse-plugin - not one
myself so I don't know how well it works (I think there may be a few
gremlins).
--
Jeremy
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
Re: Multi-modules in Eclipse
Posted by ant elder <an...@gmail.com>.
Are you asking about setting up Synapse in Eclipse? If so what I do is run
'maven eclipse' in each of the Synapse module folders - core, extensions,
nhttp, samples. Then from inside eclipse do File -> Import, choose 'Existing
projects into workspace' (which is in General if you're on Eclipse 3.2).
Browse to the Synapse module folder and click finish and it will find the 4
Synapse module projects. Finally set up the eclipse classpath variable for
the maven repository: Window -> Preferences Java -> Build Path - Classpath
Variable, choose New and the Name is MAVEN_REPO and browse to find your
maven repo which is something like "C:/Documents and
Settings/ant/.maven/repository".
...ant
On 9/29/06, Paul Fremantle <pz...@gmail.com> wrote:
>
> Hi
>
> At some point there was some talk of creating a util to help import
> multi-module projects into Eclipse. Did anything come of it?
>
> Paul
>
> --
> Paul Fremantle
> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
>
> http://bloglines.com/blog/paulfremantle
> paul@wso2.com
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: synapse-dev-help@ws.apache.org
>
>
Re: Multi-modules in Eclipse
Posted by Daniel Jemiolo <da...@us.ibm.com>.
Hi Paul,
We are about to set up this kind of thing for the Muse project, so you
might find this helpful (it's not perfect, any feedback is appreciated).
The plan is to set up SVN as follows:
/trunk
/modules
/your-module-1
/your-module-2
...etc.
/eclipse
/modules
/your-module-1
/your-module-2
...etc.
Here, /trunk contains all of the code and build artifacts as it does
today. The /eclipse directory has the same structure, but each of the
module directories (your-module-1, etc.) only has the Eclipse project
files, .project and .classpath. If a user wanted to work on, say,
your-module-1, he would:
1. Checkout the /eclipse/modules/your-module-1 directory, creating an
empty Eclipse project.
2. Checkout the /trunk/modules/your-module-1 directory into that Eclipse
project.
3. Accept the warning about re-mapping the project to a new SVN directory
- he only needed the two project files.
This system has the advantage of keeping /trunk free of IDE-specific
artifacts, and it won't get cluttered if you add support for other IDEs.
Perhaps it could be improved through some kind of utility to automate the
addition of the Eclipse project files, but that's what we've planned so
far. Hope this helps, and let me know if you have any ideas for
improvement.
Dan
"Paul Fremantle" <pz...@gmail.com> wrote on 09/29/2006 05:27:34 AM:
> Hi
>
> At some point there was some talk of creating a util to help import
> multi-module projects into Eclipse. Did anything come of it?
>
> Paul
>
> --
> Paul Fremantle
> VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
>
> http://bloglines.com/blog/paulfremantle
> paul@wso2.com
>
> "Oxygenating the Web Service Platform", www.wso2.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org