On 1/17/08, elaroche <[EMAIL PROTECTED]> wrote: > > > First I really want to thank you for the time you're spending helping me > !! > > so, ok I understand that I need my core, the dependency etc. > I've tried skinny war, but it doesn't exclude my core jar (all the others > yes). And I think it's because the core module is not actually a jar in > the > subproject !!! > It look like if it becomes a jar in the subproject during generation after > the other jar exclusion: > - excluding jar (all the jars presents in WEB-INF/lib) > - compile dependencies (the core) > - compile subproject > - include dependencies (the core) > - generating war > > any idea ?
I'm not sure I understand. Your project structure should look something like: myproject - core - webA - webB - webC - ear If so then core should be built as a jar (and should therefore be included as a jar in each web module). Perhaps you could attach a pom.xml from one of your web modules as an illustration? Mike Mike Horwitz wrote: > > > > On 1/17/08, elaroche <[EMAIL PROTECTED]> wrote: > >> > >> > >> thanks for you reply, > >> > >> but what about the compilation problem ? > >> in the modular archetype the project-core.jar is not in the WEB-INF/lib > >> but > >> an other project. So it needs to be processed before creating war file > >> :-/ > >> otherwise it's quite easy with the lib already existing.... > > > > > > You will still need to have a dependency in each war project on the > shared > > core - the "Skinny War" option lets you build the war files without > > including jar files in WEB-INF/lib. You will always need to rebuild the > > core > > project after any change - if you run the build from the top level in > your > > project everything should work as expected. > > > > Mike > > > > Mike Horwitz wrote: > >> ... > > > > -- > View this message in context: > http://www.nabble.com/one-core-%28in-jar%29%2C-three-wars%2C-all-in-one-ear-tp14916532s2369p14917451.html > Sent from the AppFuse - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
