I not sure I see how the caller plugin helps
in this regard. The objective is to run rmic after
java:compile, not replace it.
A small rmi plugin (as Brett indicated) which simply
invokes rmic as a postGoal to java:compile would be all
that is required no?

-Tim

> From: Jason van Zyl [mailto:[EMAIL PROTECTED]
> Sent: Monday, 29 September 2003 10:18 AM
>
> On Sun, 2003-09-28 at 19:31, Brett Porter wrote:
> > I don't think so. Its not the java plugin's responsibility to know about
> > every other technology needing to post-process its results. It
> should be an
> > rmi plugin (small as it is).
>
> Vincent's caller plugin will probably be able to help with this. So if
> your small project deals with your RMI stuff then setting some
> properties will allow the RMI compiler to kick in. Vincent is just
> waiting on me to punt the release out so he can check in his caller
> plugin.
>
> > - Brett
> >
> > > -----Original Message-----
> > > From: Tim Anderson [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, 29 September 2003 9:31 AM
> > > To: Maven Developers List
> > > Subject: [maven-java-plugin] add support for rmic?
> > >
> > >
> > > In a couple of projects I work on, I add a postGoal
> > > to java:compile to invoke rmic - from other posts, this seems
> > > to be a fairly common approach.
> > >
> > > Would it be worth adding support for this to the java plugin?
> > > E.g (OTOH):
> > >
> > > <postGoal name="java:compile">
> > >   <j:if test="${context.getVariable('maven.rmi.classes') != null">
> > >      <rmic base="${maven.build.dest}"
> > >            includes="${maven.rmi.classes}">
> > >        <classpath refid="maven.dependency.classpath"/>
> > >      </rmic>
> > >   </j:if>
> > > </postGoal>
> > >
> > >
> > > -Tim
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> --
> jvz.
>
> Jason van Zyl
> [EMAIL PROTECTED]
> http://tambora.zenplex.org
>
> In short, man creates for himself a new religion of a rational
> and technical order to justify his work and to be justified in it.
>
>   -- Jacques Ellul, The Technological Society
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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

Reply via email to