It ran fine with hsqldb. Thanks for this impressive product.
I then tried the samples with an Oracle 8.1.7 database with already existing tables.
Compilation fails on many generated action classes during Compile-web with:
compile-web:
Overriding previous definition of reference to compile.class.path
[javac] Compiling 1054 source files to C:\middlegen-2.0-b1\samples\build\classes
[javac] C:\middlegen-2.0-b1\samples\build\gen-src\airline\web\struts\DeleteAmTJobAction.java:60: cannot resolve symbol
[javac] symbol : constructor BigDecimal (java.math.BigDecimal)
[javac] location: class java.math.BigDecimal
[javac] java.math.BigDecimal amTJob_PK = new java.math.BigDecimal(jobId);
The generated source is typically:
public ActionForward perform(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response
)
throws IOException, ServletException {
// Create a primary key to look up
java.math.BigDecimal jobId = new java.math.BigDecimal(getParameter(request, "jobId"));
java.math.BigDecimal amTJob_PK = new java.math.BigDecimal(jobId);
job_id
This problem does not seem to have been reported.
BTW, I could not download the CVS source using WinCVS as per the instruction on the download page:
cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/middlegen login
Am I missing something here? Which modulename should I use if I could eventually login?
Thanks,
KC Lau.