Re: [Lift] Re: How do I build reusable modules for lift?

2010-02-14 Thread Timothy Perrett
Generally, the module can look after its own concerns (for instance lift rules dispatching). However, the main wire up must be completed by the consumer rather than any classpath magic. Yes, LiftRules does support multiple add to package calls. I would put the addToPackage call in your module, a

Re: [Lift] Re: How do I build reusable modules for lift?

2010-02-14 Thread Jonathan Ferguson
I was more concerned with the package structure being different between the common module and the projects consuming it. The snippets for the common module would be in, say com.mycompany.common.snippet where as the projects consuming the common module would likely have the package structure com.my

[Lift] Re: How do I build reusable modules for lift?

2010-02-14 Thread ngocdaothanh
I think you could install your modules into Maven's repository, then use them from projects as dependencies. On Feb 14, 6:32 pm, Jonathan Ferguson wrote: > Sorry for a bit of a vague Sunday night question. > > We now have several lift projects floating round that have common snippets > and poten