Hi Ya'll,
I have a fairly simple question that may be a little difficult to explain. But I'll give it a try.
When specifying properties for Jenny (The JDBC Facade library), you must specify a Destination and a Package. The descriptions for each are as follows:
Destination:
# Base directory where the generated files will be put.
#
# Everything in this directory will be deleted when Jenny starts. Then the generated facade class and all the
# generated table classes will be created here, in a subdirectory appropriate to the package.
#
# Make sure you include the trailing slash.
#
# This property is required.
Package:
# The package name to use at the top of all the generated files.
#
# This property is required.
When I compile using the following properties I get a strange directory structure:
Destination=src/java/com/javaranch/drive/db/
Package=com.javaranch.drive.db
Resulting directory path:
src\java\com\javaranch\drive\db\com\javaranch\drive\db
Resulting Package description at the top of generated Jenny source files:
package com.javaranch.drive.db;
It appears to be taking the Package and adding that on to the Destination. But the comments state that the Package property is only for the bit of text at the top of the generated files. And of course when I try to compile my java code, I get errors saying 'cannot find symbol' for the classes in that package.
Is there a bug in the Jenny code?
- Jeremy