You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Leif Mortenson <le...@silveregg.co.jp> on 2002/01/23 02:29:10 UTC

Excalibur Build Problem when modifying AbstractJdbcConnection.java

The current javac task to compile the Excalibur classes does not work
correctly if you first build Excalibur. Then modify
AbstractJdbcConnection.java and try to run build again. The updated
AbstractJdbcConnection.java is correctly copied into the build/src
directory. But it is never recompiled. This is being caused because it
is being excluded in the javac task.


This will work correctly after a clean build because javac is smart
about compiling dependant classes.

Here is the patch to fix this. This may be a problem with other classes
as well??

cvs -z3 diff build.xml (in directory E:\Jakarta\jakarta-avalon-excalibur\)
Index: build.xml
===================================================================
RCS file: /home/cvspublic/jakarta-avalon-excalibur/build.xml,v
retrieving revision 1.88
diff -r1.88 build.xml
252d251
< <src path="${build.src}"/>
276a276,285
>
> <javac srcdir="${build.src}"
> destdir="${build.classes}"
> debug="${build.debug}"
> optimize="${build.optimize}"
> deprecation="${build.deprecation}"
> target="1.2">
> <classpath refid="project.class.path" />
> </javac>
>


Cheers,
Leif



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>