Subject Problems compiling under Windows?
Author Rick Fincher
Hi,

Is anyone else having a problem compiling the current source under Windows?
When I do a build, all works OK until it gets to compile-tests then I get 39
errors and one warning (see below).

I've tried a clean download to no avail.

The code seems to be valid, so I suspect there's something missing from the
build.xml or build.bat file in terms of setting up the classpath for the
test files.

Thanks,

Rick

Output from build:

compile-j2ee:

compile-driver:

compile-pool:

compile-tests:
[javac] Compiling 44 source files to C:\JayBird\client-java\output\test
[javac] This version of java does not support the classic compiler;
upgrading to modern
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jca\TestXABase.java:56:
cannot resolve symbol
[javac] symbol : method getDefaultGDS ()
[javac] location: class org.firebirdsql.gds.GDSFactory
[javac] FBConnectionRequestInfo cri = new
FBConnectionRequestInfo(GDSFactory.getDefaultGDS());
[javac]
^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jdbc\TestFBBlobStream.java:3
75: cannot resolve symbo
[javac] symbol : method length ()
[javac] location: class org.firebirdsql.jdbc.FBBlob.FBBlobInputStream
[javac] int blobSize = (int)in.length();
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jdbc\TestFBBlobStream.java:3
81: cannot resolve symbo
[javac] symbol : method readFully (byte[])
[javac] location: class org.firebirdsql.jdbc.FBBlob.FBBlobInputStream
[javac] in.readFully(fullBlob);
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jdbc\TestFBBlobStream.java:3
91: cannot resolve symbo
[javac] symbol : method seek (int)
[javac] location: class org.firebirdsql.jdbc.FBBlob.FBBlobInputStream
[javac] in.seek(10);
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jdbc\TestFBBlobStream.java:3
97: cannot resolve symbo
[javac] symbol : method readFully (byte[])
[javac] location: class org.firebirdsql.jdbc.FBBlob.FBBlobInputStream
[javac] in.readFully(truncatedBlob);
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jdbc\TestFBDriver.java:280:
warning: Date(java.lang.
.Date has been deprecated
[javac] Date d1 = new Date("Sat Feb 17 20:59:31 EST
1917");
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jgds\TestGds.java:96: cannot
resolve symbol
[javac] symbol : method getDefaultGDS ()
[javac] location: class org.firebirdsql.gds.GDSFactory
[javac] gds = GDSFactory.getDefaultGDS();
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jgds\TestGds.java:97: cannot
resolve symbol
[javac] symbol : method newClumplet (int,byte[])
[javac] location: interface org.firebirdsql.gds.GDS
[javac] c =
(ClumpletImpl)gds.newClumplet(ISCConstants.isc_dpb_num_buffers, new byte[]
{90});
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jgds\TestGds.java:98: cannot
resolve symbol
[javac] symbol : method newClumplet (int,byte[])
[javac] location: interface org.firebirdsql.gds.GDS
[javac]
c.append(gds.newClumplet(ISCConstants.isc_dpb_dummy_packet_interval, new
byte[] {120, 10, 0,
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jgds\TestGds.java:101:
cannot resolve symbol
[javac] symbol : method newClumplet (int,byte[])
[javac] location: interface org.firebirdsql.gds.GDS
[javac] c.append(gds.newClumplet(ISCConstants.isc_dpb_sql_dialect,
new byte[] {3, 0, 0, 0}));
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jgds\TestGds.java:102:
cannot resolve symbol
[javac] symbol : method newClumplet (int,java.lang.String)
[javac] location: interface org.firebirdsql.gds.GDS
[javac] c.append(gds.newClumplet(ISCConstants.isc_dpb_user_name,
DB_USER));
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jgds\TestGds.java:103:
cannot resolve symbol
[javac] symbol : method newClumplet (int,java.lang.String)
[javac] location: interface org.firebirdsql.gds.GDS
[javac] c.append(gds.newClumplet(ISCConstants.isc_dpb_password,
DB_PASSWORD));
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jgds\TestGds.java:211:
cannot resolve symbol
[javac] symbol : method getDefaultGDS ()
[javac] location: class org.firebirdsql.gds.GDSFactory
[javac] GDS gds = GDSFactory.getDefaultGDS();
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jgds\TestGds.java:213:
cannot resolve symbol
[javac] symbol : method newClumplet (int,byte[])
[javac] location: interface org.firebirdsql.gds.GDS
[javac] Clumplet c =
(Clumplet)gds.newClumplet(ISCConstants.isc_dpb_num_buffers, new byte[]
{90});
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jgds\TestGds.java:215:
cannot resolve symbol
[javac] symbol : method newClumplet (int,byte[])
[javac] location: interface org.firebirdsql.gds.GDS
[javac]
c.append(gds.newClumplet(ISCConstants.isc_dpb_dummy_packet_interval, new
byte[] {120, 10, 0, 0
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jgds\TestGds.java:216:
cannot resolve symbol
[javac] symbol : method newClumplet (int,java.lang.String)
[javac] location: interface org.firebirdsql.gds.GDS
[javac] c.append(gds.newClumplet(ISCConstants.isc_dpb_user_name,
DB_USER));
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jgds\TestGds.java:217:
cannot resolve symbol
[javac] symbol : method newClumplet (int,java.lang.String)
[javac] location: interface org.firebirdsql.gds.GDS
[javac] c.append(gds.newClumplet(ISCConstants.isc_dpb_password,
DB_PASSWORD));
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jgds\TestGds.java:218:
cannot resolve symbol
[javac] symbol : method newClumplet (int,int)
[javac] location: interface org.firebirdsql.gds.GDS
[javac] c.append(gds.newClumplet(ISCConstants.isc_dpb_overwrite,
0));
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jgds\TestGds.java:219:
cannot resolve symbol
[javac] symbol : method newClumplet (int,byte[])
[javac] location: interface org.firebirdsql.gds.GDS
[javac] c.append(gds.newClumplet(ISCConstants.isc_dpb_sql_dialect,
new byte[] {3, 0, 0, 0}));
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jgds\TestGds.java:489:
cannot resolve symbol
[javac] symbol : method newClumplet (int,int)
[javac] location: interface org.firebirdsql.gds.GDS
[javac] Clumplet bpb = gds.newClumplet(ISCConstants.isc_bpb_type,
ISCConstants.isc_bpb_type_segmented);
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jgds\TestGds.java:565:
cannot resolve symbol
[javac] symbol : method newClumplet (int,int)
[javac] location: interface org.firebirdsql.gds.GDS
[javac] Clumplet bpb = gds.newClumplet(ISCConstants.isc_bpb_type,
ISCConstants.isc_bpb_type_segmented);
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jgds\TestGds.java:651:
cannot resolve symbol
[javac] symbol : method newClumplet (int,int)
[javac] location: interface org.firebirdsql.gds.GDS
[javac] Clumplet bpb = gds.newClumplet(ISCConstants.isc_bpb_type,
ISCConstants.isc_bpb_type_segmented);
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\jgds\TestGds.java:734:
cannot resolve symbol
[javac] symbol : method newClumplet (int,int)
[javac] location: interface org.firebirdsql.gds.GDS
[javac] Clumplet bpb = gds.newClumplet(ISCConstants.isc_bpb_type,
ISCConstants.isc_bpb_type_stream);
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\ngds\TestNgds.java:57:
cannot resolve symbol
[javac] symbol : variable GdsType
[javac] location: class org.firebirdsql.gds.GDSFactory
[javac] gds =
GDSFactory.getGDSForType(GDSFactory.GdsType.NATIVE);
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\ngds\TestNgds.java:59:
cannot resolve symbol
[javac] symbol : method newClumplet (int,byte[])
[javac] location: interface org.firebirdsql.gds.GDS
[javac] c =
(ClumpletImpl)gds.newClumplet(ISCConstants.isc_dpb_num_buffers, new byte[]
{90});
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\ngds\TestNgds.java:61:
cannot resolve symbol
[javac] symbol : method newClumplet (int,byte[])
[javac] location: interface org.firebirdsql.gds.GDS
[javac]
c.append(gds.newClumplet(ISCConstants.isc_dpb_dummy_packet_interval, new
byte[] {120, 10, 0,
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\ngds\TestNgds.java:63:
cannot resolve symbol
[javac] symbol : method newClumplet (int,byte[])
[javac] location: interface org.firebirdsql.gds.GDS
[javac]
c.append(gds.newClumplet(ISCConstants.isc_dpb_sql_dialect, new byte[] {3, 0,
0, 0}));
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\ngds\TestNgds.java:65:
cannot resolve symbol
[javac] symbol : method newClumplet (int,java.lang.String)
[javac] location: interface org.firebirdsql.gds.GDS
[javac] c.append(gds.newClumplet(ISCConstants.isc_dpb_user_name,
DB_USER));
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\ngds\TestNgds.java:67:
cannot resolve symbol
[javac] symbol : method newClumplet (int,java.lang.String)
[javac] location: interface org.firebirdsql.gds.GDS
[javac] c.append(gds.newClumplet(ISCConstants.isc_dpb_password,
DB_PASSWORD));
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\ngds\TestNgds.java:176:
cannot resolve symbol
[javac] symbol : variable GdsType
[javac] location: class org.firebirdsql.gds.GDSFactory
[javac] GDS gds =
GDSFactory.getGDSForType(GDSFactory.GdsType.NATIVE);
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\ngds\TestNgds.java:178:
cannot resolve symbol
[javac] symbol : method newClumplet (int,byte[])
[javac] location: interface org.firebirdsql.gds.GDS
[javac] Clumplet c =
(Clumplet)gds.newClumplet(ISCConstants.isc_dpb_num_buffers, new byte[]
{90});
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\ngds\TestNgds.java:180:
cannot resolve symbol
[javac] symbol : method newClumplet (int,byte[])
[javac] location: interface org.firebirdsql.gds.GDS
[javac]
c.append(gds.newClumplet(ISCConstants.isc_dpb_dummy_packet_interval, new
byte[] {120, 10, 0, 0}))
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\ngds\TestNgds.java:182:
cannot resolve symbol
[javac] symbol : method newClumplet (int,java.lang.String)
[javac] location: interface org.firebirdsql.gds.GDS
[javac] c.append(gds.newClumplet(ISCConstants.isc_dpb_user_name,
DB_USER));
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\ngds\TestNgds.java:184:
cannot resolve symbol
[javac] symbol : method newClumplet (int,java.lang.String)
[javac] location: interface org.firebirdsql.gds.GDS
[javac] c.append(gds.newClumplet(ISCConstants.isc_dpb_password,
DB_PASSWORD));
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\ngds\TestNgds.java:186:
cannot resolve symbol
[javac] symbol : method newClumplet (int,int)
[javac] location: interface org.firebirdsql.gds.GDS
[javac] c.append(gds.newClumplet(ISCConstants.isc_dpb_overwrite,
0));
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\ngds\TestNgds.java:188:
cannot resolve symbol
[javac] symbol : method newClumplet (int,byte[])
[javac] location: interface org.firebirdsql.gds.GDS
[javac] c.append(gds.newClumplet(ISCConstants.isc_dpb_sql_dialect,
new byte[] {3, 0, 0, 0}));
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\ngds\TestNgds.java:538:
cannot resolve symbol
[javac] symbol : method newClumplet (int,int)
[javac] location: interface org.firebirdsql.gds.GDS
[javac] Clumplet bpb = gds.newClumplet(ISCConstants.isc_bpb_type,
ISCConstants.isc_bpb_type_segmented);
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\ngds\TestNgds.java:656:
cannot resolve symbol
[javac] symbol : method newClumplet (int,int)
[javac] location: interface org.firebirdsql.gds.GDS
[javac] Clumplet bpb = gds.newClumplet(ISCConstants.isc_bpb_type,
ISCConstants.isc_bpb_type_segmented);
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\ngds\TestNgds.java:787:
cannot resolve symbol
[javac] symbol : method newClumplet (int,int)
[javac] location: interface org.firebirdsql.gds.GDS
[javac] Clumplet bpb = gds.newClumplet(ISCConstants.isc_bpb_type,
ISCConstants.isc_bpb_type_segmented);
[javac] ^
[javac]
C:\JayBird\client-java\src\test\org\firebirdsql\ngds\TestNgds.java:917:
cannot resolve symbol
[javac] symbol : method newClumplet (int,int)
[javac] location: interface org.firebirdsql.gds.GDS
[javac] Clumplet bpb = gds.newClumplet(ISCConstants.isc_bpb_type,
ISCConstants.isc_bpb_type_stream);
[javac] ^
[javac] 39 errors
[javac] 1 warning

BUILD FAILED
file:C:/JayBird/client-java/build.xml:319: Compile failed; see the compiler
error output for details.