And indeed the problem was the value of the 'base' attribute which was accidently set to
the JVM target ... so instead of 'maven.compile.target', put 'maven.build.dest' and it works
fine ;-)


--mike

Michael Niemaz wrote:

Hi all,
Sorry to bother with that question but i could not make it work looking at other posts ;-(
I having to rmic some classes and I seem not to be able to do it with maven.
Here's my code in maven.xml:


           <postGoal name="java:compile">
           <ant:rmic
   classname="com.xerox.similX.servers.RemoteInterfaceImpl"
   base="${maven.compile.target}" />
           <ant:rmic classpath="${basedir}/xip/lib/jxip.jar"
   classname="com.xerox.similX.servers.xip.XIPInterfaceImpl"
   base="${maven.compile.target}" />
           </postGoal>

   I thought we could access ant like that but I get the following error:

       Element... ant:rmic
       Line...... 58
       Column.... 109
       base does not exist!

My question is : What should I use instead of 'base'? Are the 'Maven ant' tasks attributes different from the Ant ones?
Or is it just that '${maven.compile.target}' is not defined at all? I should check that btw.


Any ideas?

Thx,

--mike



---------------------------------------------------------------------
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