Hi,
>>>>> "V" == V Narayanan <[EMAIL PROTECTED]> wrote:
V> can you please confirm that the compilation was done with jdk16
V> variable in ant.properties pointing to mustang home. The
V> ClientPooledConnection40.java gets compiled only with this variable
V> included. thanx V.Narayanan
I trid to compile with Mustang and it worked for me. I notice,
however, that the jdbc4 target did not echo anything about number of
files compiled, as does the ordinary compilation. Then, when I
inserted a bug in a file (CallableStatement40.java), the build
proceeded in spite of my setting proceed=false in ant.propeties. The
build eventually reported BUILD SUCCEEDED, although the JDBC4 build
failed. This seems to be a bug, unless something is wrong with my
setup?
Thanks,
Dag
-------------------- ant.properties:
:
jdk16=/usr/local/java/jdk1.6.0
proceed=false
:
---------------------------------------- build log snippet:
compile_jdbc4_target:
[exec] Result: 1
[echo] [javac]
/home/dw136774/derby/trunk/java/client/org/apache/derby/client/ClientPooledConnection40.java:26:
class, interface, or enum expected
[echo] [javac] foobar public class ClientPooledConnection40 extends
ClientPooledConnection {
[echo] [javac] ^
[echo] [javac] 1 error
[echo]
[echo] BUILD FAILED
[echo] /home/dw136774/derby/trunk/java/client/build.xml:67: Compile
failed; see the compiler error output for details.
[echo]
[echo] Total time: 1 second
build:
build_base:
compile:
build:
build:
ckversioninfo:
writeversioninfo:
versioninfo:
checklocaleinfo:
localeinfo:
buildsource:
demo:
compile:
demo:
testing:
testing:
init:
compile:
copyfiles:
FTharness:
copyfiles:
testdata:
copyfiles:
compile:
FTpolicy:
util:
checkjikessource:
compilex_gump:
compilex_nosource:
compilex:
FTOtestsubdir:
compilet1:
copyfiles:
FTOtestsubdir:
compilex:
compilet2:
compilet1:
copyfiles:
FTOtestsubdir:
compilet3:
compilet2:
compilet1:
copyfiles:
FTOtestsubdir:
compile:
copyfiles:
FTOtestsubdir:
compile:
copyfiles:
FTOtestsubdir:
compilet2:
compilet1:
copyfiles:
FTOtestsubdir:
copyfiles:
FTOtestsubdir:
compile:
FTOtestsubdir:
compilet2:
compilet1:
copyfiles:
FTOtestsubdir:
copyfiles:
FTOtestsubdir:
compile:
copyfiles:
FTOtestsubdir:
compilet1:
copyfiles:
FTOtestsubdir:
copyfiles:
FTstress:
copyfiles:
FTmaster:
copyfiles:
suites:
compile_jdbc4_target:
[echo] BUILD SUCCESSFUL
[echo] Total time: 1 second
all:
BUILD SUCCESSFUL
Total time: 34 seconds
V>
V> > On 12/12/05, Rajesh Kartha <[EMAIL PROTECTED]> wrote:
V> >
V> >>Anyways till then, we can use the attached ibm15 class to run our tests
V> >>on IBM Java 5.0 as usual. Please
V> >>review the ibm15.java file and if everything looks about right can one
V> >>of the committers please commit
V> >>this into the trunk and the v10.1 branch.
V> >
V> >
V> > Committed, revision 356492 (trunk) and 356495 (10.1)
V> >
V> > Accidentally chucked an unused import from
V> > ClientPooledConnection40.class on the trunk with this change as well.
V> > Everything still compiles, I'll assume it is ok.
V> >
V> > andrew
V> >
V>
V>
--
Dag H. Wanvik
Sun Microsystems, Database Technology Group (DBTG)
Haakon VII gt. 7b, N-7485 Trondheim, Norway
Tel: x43496/+47 73842196, Fax: +47 73842101