On 30 August 2010 15:06, Wendy Smoak <[email protected]> wrote:

> On Mon, Aug 30, 2010 at 9:53 AM, D D <[email protected]> wrote:
> > My problem is that I can't set dependency on that rar file. The compiled
> > code is in a jar inside the rar. Any idea what I'm doing wrong?
>
> Then you should probably build the jar as a separate module and have
> it as a dependency from both the rar and the other thing you are
> trying to build.
>
> If that is impossible, then check out the way the war plugin is able
> to deploy both the war _and_ a jar containing the classes.  That
> behavior could probably be added to the rar plugin.
>

IIRC, the rar plugin already has that capability, but it is somewhat less
than stellar in real use.  in any case two modules is the way to go, esp if
you are using openejb to test your rar from junit tests...

[Note to self, must write up a blog post on end-to-end testing of a
enterprise-data-source <--> jca <--> ejb <--> web <--> browser <-->selenium
test case I have using jetty (for a mock enterprise data source), openejb
(for the jca & ejb container), jetty (2nd instance for the web container)
all within a single JVM!

-Stephen


> --
> Wendy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to