ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Davies" <aaron.dav...@gmail.com>
Subject Re: RMIC Unable to Verify Classes
Date Tue, 02 May 2006 20:06:56 GMT
Well sure, if you know ahead of time what needs stubs it's going to
work! :-) I'm trying to fix the build file for a large team project
where I have no idea what's implementing Remote and what isn't. Isn't
this what the verify attribute is *for*?

On 5/2/06, Alexey N. Solofnenko <A.Solofnenko@mdl.com> wrote:
> This is what I do, and it works fine with ANT nightly (but 1.6.5 should
> be fine too):
>
> <rmic classpath="${javac-classpath}" debug="true"
> includes="${rmic-sources}" base="${classes-output}" stubversion="1.2" />
>
> ${rmic-sources} - a list of all .class files that need stubs.
>
> - Alexey.
>
> Aaron Davies wrote:
> > I'm not having any luck. I recall from the message referenced below
> > that at the time, the verify stage read CLASSPATH, not the classpath
> > attribute of the rmic task. Is that still true?
> >
> > On 4/27/06, Alexey N. Solofnenko <A.Solofnenko@mdl.com> wrote:
> >> <rmic>'s classpath should be the whole classpath from <javac> and
> >> <javac> output directory.
> >>
> >> - Alexey.
> >>
> >> Aaron Davies wrote:
> >> > Hi, I'm having trouble getting the rmic messages about "Unable to
> >> > verify class .... It is not defined." to go away. My problem is almost
> >> > exactly like the one described in
> >> > <http://marc.theaimsgroup.com/?l=ant-user&m=97069041417063&w=2>,
> >> > except that adding . to CLASSPATH (the shell path defined when I call
> >> > ant) doesn't help. I'm running ant under Win2k and have tried this
> >> > from both CMD and ZSH under cygwin. Any ideas?
> >> >
> >> > --
> >> > Aaron Davies
> >> > aaron.davies@gmail.com
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >> > For additional commands, e-mail: user-help@ant.apache.org
> >> >
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >> For additional commands, e-mail: user-help@ant.apache.org
> >>
> >>
> >
> >
> > --
> > Aaron Davies
> > aaron.davies@gmail.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>


--
Aaron Davies
aaron.davies@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message