I really do not understand your problem.
AFAIK, Eclipse does not support derived projects or nested projects.
So what i do is:
* create a blank workspace (not project) wherever you want (maybe in servicemix\workspace)
 * run "maven eclipse" from the root
 * import the six projects you listed

I always use projects outside of my workspace.

Cheers,
Guillaume Nodet

Nathan Sowatskey wrote:

I am afraid that I am thrashing about here.

This is what I have done, and the results:

1 - Run maven eclipse in servicemix-2.0.1
2 - Create a workspace based on the servicemix-2.0.1 directory (I have also tried the containing directory of servicemix-2.0.1)
3 - Tried to import the jbi project. I get "Invalid project description.
/Users/nsowatsk/Documents/workspace/servicemix-2.0.1/jbi overlaps the workspace location: /Users/nsowatsk/Documents/workspace/ servicemix-2.0.1"

What I *can* do in this situation is create a new project named "jbi" with servicemix-2.0.1 as the workspace, and that works fine.

The question I have now is which of these:

jbi
core
components/base
components/jaxws
components/xfire
assembly

Are projects that I need to create, and which are derived. If I need to create projects for base, jaxws and xfire, which are nested in components, then I have a problem: "Cannot create project content in workspace." as the workspace for those projects would need to be servicemix-2.0.1/components.

I am sure that there is a rationale here, but I am struggling to find it :-)

Regards

Nathan

Nathan Sowatskey - Technical Leader, NMTG CTO Engineering - +34-638-083-675, +34-91-201-2139 - AIM NathanCisco - [EMAIL PROTECTED]

On 10 Nov 2005, at 14:48, Nathan Sowatskey wrote:

Hi

Thanks for this. We are trying different approaches. Which projects did you import please?

These are the projects that I can see:

jbi
core
components/base
components/jaxws
components/xfire
assembly

Regards

Nathan

Nathan Sowatskey - Technical Leader, NMTG CTO Engineering - +34-638-083-675, +34-91-201-2139 - AIM NathanCisco - [EMAIL PROTECTED]

On 10 Nov 2005, at 14:28, Guillaume Nodet wrote:

Here is the way i work with eclipse.

Run "maven eclipse" from the root.
This generates all the projects for components.
Import these all at once using the new 3.1 feature that allows
importing multiple projects at once.

I end up with all sub projects in eclipse.
I do not follow you problem with the project in servicemix base directory. AFAIK, eclipse does not support projects that overlap, or maybe i missed some important feature in eclipse. Could you please give more details ?

Guillaume

Nathan Sowatskey wrote:

Hi

One of the side effects of moving from 1.x to 2.x is that the build system has been reorganised to make Servicemix more modular (or something). This also seems to mean that having a servicemix-2.x project in Eclipse based on the top level directory of the bundle doesn't work anymore. When I run "maven eclipse" the .project and .classpath files in jbi, base, core, jaxws, xfire, components and assembly are updated, but not the ones in the servicemix base directory itself.

Given the way that Eclipse works, this means that I will need to create projects for all of these components separately. Was this intended, or just an unforeseen outcome? I could create a workspace based on the servicemix-2.0.1 directory, and so create all of the project internally and update their dependencies, but this is less straightforward than the way in which 1.x was structured, and would mean that my own projects would have to appear in the same workspace.

I'll go with the flow, if I can see where the flow is going :-)

Many thanks

Nathan

Nathan Sowatskey - Technical Leader, NMTG CTO Engineering - +34-638-083-675, +34-91-201-2139 - AIM NathanCisco - [EMAIL PROTECTED]





Reply via email to