What is the reason for the "heavy" part for the "full featured"? More
functionality? it has an UI?

It seems you probably might to create something like:
- myproject
    - myproject-common (jar)
    - myproject-heavy (jar)
    - myproject-webservices (war)


2009/1/26 Yves Dessertine <[email protected]>

> 2009/1/26 Geoffrey Wiseman <[email protected]>:
> > The WAR is your web services?  What do you use the JAR for?
> > Based on the limited understanding I have of your project, I'd say that
> > basically, you want:
> >
> > myproject (pom project, no real implementation other than the two
> modules)
> > -  "myproject-jar" -- whatever this project is for; common? library?
> domain?
> >  JAR packaging.
> > -  "myproject-web-services" -- depends on myproject-jar as a JAR, WAR
> > packaging.
>
> Thank you Geoffrey for your answer. Yes, that's what I want. It now
> compiles, thank you. The WAR contains the web services, and the JAR is
> a common lib, that we need to distribute.
>
> But, a new problem now pops up : can we build two versions of the JAR
> ? One light version to use with the Web services, and another, heavy
> version to distribute and full-featured ? While it works as it's now,
> the JAR included in the war, is much more heavy than before (where an
> Ant task picked up a few files to generate the "lightweight" jar). The
> few files are shared across the "lightweight" and the "heavy" jar...
> What to do now ? Put them in a seperate sub project ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Kent Närling

System Architect
SEAMLESS
Dalagatan 100, 8 tr, 113 43 Stockholm, Sweden
Phone: +46 8 5648 7800, fax: +46 8 5648 7823
Mobile: +46 70 836 9925
Mail: [email protected]
www.seamless.se

Reply via email to