You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Geoffrey <jc...@hotmail.com> on 2004/04/03 14:52:44 UTC
RMI in a normal J2SE app
Hi all,
Specs: Maven rc2, Sun SDK 1.4.2 (and IntelliJ 4)
How do I configure project.xml to automatically rmic my RMI classes?
Which target do I call?
Which target do I call to run my application?
Thanks for any and all help,
Geoffrey
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: RMI in a normal J2SE app
Posted by Christian Andersson <ca...@ofs.no>.
if I understand things correctly, ther eis no such target, atleast not
when i wanted to do it, I ended up making my own target for rmic..
/Christian
Geoffrey wrote:
> Hi all,
>
> Specs: Maven rc2, Sun SDK 1.4.2 (and IntelliJ 4)
>
> How do I configure project.xml to automatically rmic my RMI classes?
> Which target do I call?
>
> Which target do I call to run my application?
>
> Thanks for any and all help,
> Geoffrey
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: RMI in a normal J2SE app
Posted by Al Robertson <al...@digitalunion.com>.
Geoffrey,
You need to call the ant rmic task. I simply added the following to
maven.xml, so the rmic is performed after each java compile.
<postGoal name="java:compile">
<ant:rmic
base="${maven.build.dest}"
includes="com/xxx/yyy/Classname.class"
/>
</postGoal>
HTH,
Al.
Digital Union UK
al.robertson@digitalunion.com
www.digitalunion.com
t: +44 (0) 1483 889482 m:+44 (0) 7713 631367 f: +44 (0) 1483 889450
The information in this email and in any attachment(s) is confidential. If
you are not the named addressee(s) or if you receive this email in error
then any distribution, copying or use of this communication or the
information in it is strictly prohibited.
While attachments are virus checked, Digital Union UK Limited does not
accept any liability in respect of any virus which is not detected.
"Geoffrey" <jc...@hotmail.com>
Sent by: news <ne...@sea.gmane.org>
03/04/2004 13:52
Please respond to
"Maven Users List" <us...@maven.apache.org>
To
users@maven.apache.org
cc
Subject
RMI in a normal J2SE app
Hi all,
Specs: Maven rc2, Sun SDK 1.4.2 (and IntelliJ 4)
How do I configure project.xml to automatically rmic my RMI classes?
Which target do I call?
Which target do I call to run my application?
Thanks for any and all help,
Geoffrey
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org