Marshall_Daniel@emc.com wrote:
> Sure I can give you some of it. It looks like its dropping my source
> paths but I don't know why.
It is dropping directories called:-
C:\Build\build\src\com\emc\elms\keygen
C:\Build\build\src\com\emc\elms\test
C:\Build\build\src\com\emc\elms\keygen
C:\Build\build\src\com\emc\elms\test
C:\Build\build\src\com\emc\elms\keygen
C:\Build\build\src\com\emc\elms\test
C:\Build\build\src\com\emc\elms\keygen
C:\Build\build\src\com\emc\elms\test
as they do not exist? You are compiling your src files into
c:\Build\build\classes, so you may find that c:\Build\build\src does not
exist on your machine?
I think your classpath for junit need only be :-
<classpath>
<pathelement location="${classes.dir}"/>
</classpath>
as that is where javac is placing your class files? I assuming you are
compiling the EMCLmcryptKeyGeneratorTest.java into classes.dir?
If a class is called com.emc.elms.test.EMCLmcryptKeyGeneratorTest
then this class file might be found somewhere like:-
c:\Build
\build
\classes
\com
\emc
\elms
\test\EMCEMCLmcryptKeyGeneratorTest.class
To find this class, the java classpath would be :-
<classpath>
<pathelement location="c:\Build\build\classes"/>
</classpath>
So in summary...
- you are specifying too deep a level of directory.
Do a search for +java +classpath, I got :-
http://en.wikipedia.org/wiki/Classpath_(Java)
Which also decribes class file placement relative to the
classpath folder
- you are specifying src directories when perhaps only the classes ones
are needed.
--
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
|