Hi Eugene, Thanks for your quick response. I'll have a go at doing it this way.
Murray On Fri, Oct 17, 2008 at 10:48 AM, Eugene Kuleshov <[EMAIL PROTECTED]> wrote: > Murray, > > This is more like a Maven question and you would get better answer in the > Maven user mailing list. > > From the top of my head you can't make jar project depend on war project, > simply because .war can't be put into the classpath. So, you have to > restructure your war project and move all shared classes into some "common" > project with packaging jar that would be used between your "war" and "batch" > projects. > > regards, > Eugene > > > > Murray Waters wrote: > >> Hi all, >> >> I think i'm trying to achieve something fairly simple. I have an existing >> m2eclipse project (lets call it "MyProject") that is working well with >> packaging of war. >> >> It has its dependencies listed in the POM and everything is working well. >> >> I now want to create a second project (lets call it "MyProjectBatch") with >> packaging of jar that is dependent on the war project as above. >> >> So when I am finished there will be two eclipse projects in my workspace, >> one called "MyProject" and a second called "MyProjectBatch". >> >> What is the way to do this? I couldn't really find anything in the >> documentation. >> >> Thanks >> >> >> > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >