ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Douglas Guptill <dgupt...@thinweb.com>
Subject Re: rmic doesn't find classes when asked to verify
Date Thu, 05 Oct 2000 13:24:20 GMT
Silly me...forgot to include the classpath.
To answer your question Stefan, yes, the classpath does include ".".

------------------- start another relevant snip ------------------------
<project name="Thin" default="rmic" basedir="c:/source/Thin">

	<property name="source" value="${basedir}" />
	<property name="build-support" value="c:/build-support" />
	<property name="classpath"
value="${basedir}:.:${source}:${build-support}/jars/servlet.jar:${build-support}/jars/jh.jar"
/>
------------------ end another relevant snip -----------------------

Stefan Bodewig wrote:
> 
> >>>>> "DG" == Douglas Guptill <dguptill@thinweb.com> writes:
> 
>  DG> Any ideas?
> 
>  DG> relevant snips....
> 
>  DG> <target name="rmic_jdbcremote" depends="compile">
>  DG>   <rmic base="."  includes="com/thinweb/jdbcremote/*.class"
>  DG>         verify="true" classpath="${classpath}" />
>  DG> </target>
> 
> Does the classpath Ant has been started with contain "."?
> 
> <rmic> tries to load the class using Class.forName() and you get the
> error message because the class cannot be loaded (it doesn't seem to
> be in Ant's classpath).
> 
> Stefan

-- 
------------------------------------------------------------------
Douglas Guptill                   dguptill@thinweb.com
Quality Assurance Specialist      902-425-2802 x 222
thinWEB Technologies              http://www.thinWEB.com

Mime
View raw message