On Tue, 2003-09-30 at 09:45, Tim Anderson wrote: > 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?
Yes, but what Vincent is trying to do is capture a notion like "compiling the project". So he has started this process with the caller plugin. So if someone is using aspects and RMI then your plugin would still be off use. Vincent is trying not to tie a particular goal, the the RMI goal, to java:compile but to the notion of "compiling the project". I'm not sure how far Vincent has gone or if it is possible but for your use case we probably want to decorate the "compile a project" notion with a postGoal that does the RMI stuff. In this way various compilation mechanisms can be used any your RMI plugin would remain useful for all of them, even when you don't know in advance what those compilation mechanisms will be. Make sense? > -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] > > > > -- 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]