> >The jars created at the end contains only the Manifest.mf and the
> >Sample.class file
> >
>
> Tha't correct - because its only a template - you would notmally throw
> away the Sample.java and put in place you own sources.  They are only
> there to validate that the build is working, that unit tests using
> merlin are running, and that the site generate is correctly aggregating
> content.
>
> Cheers, Steve.
>

Am I correct if I say that under api one should write the
interfaces/exceptions, while under impl one should write the actual classes?
If so, in a real project, shouldn't the jar include both the
interfaces/exceptions and implementation classes? If so, I imagine at a
certain point I would have something:

/api
    /target
        Interface1.class
        Interface2.class
        Exception1.class
        Exception2.class
        ...
/impl
    /target
        Interface1_Impl.class
        Interface2_Impl.class
        ...

All of this should be grouped in an armonic jar (i.e. template-1.0.jar). How
could I obtain this result? How could I tell the build process to compile
both the classes under api and impl and to build a jar from the two
different /target folders?

Marco




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to