Added a max line count of the schema tree in root element .java file. Added missing gYear. Handle dots in names. Fix regression tests to work the same in JDK5 and JDK1.4. Allow duplicate bean names. BLD200501051900
authorcliffwd@netbeans.org
Tue, 04 Jan 2005 23:05:44 +0000
changeset 1651eb1db7b36ab2
parent 1650 971b353d5150
child 1652 83ad145a4050
Added a max line count of the schema tree in root element .java file. Added missing gYear. Handle dots in names. Fix regression tests to work the same in JDK5 and JDK1.4. Allow duplicate bean names.
schema2beans/test/unit/src/TestMain.java
     1.1 --- a/schema2beans/test/unit/src/TestMain.java	Mon Jan 03 13:43:41 2005 +0000
     1.2 +++ b/schema2beans/test/unit/src/TestMain.java	Tue Jan 04 23:05:44 2005 +0000
     1.3 @@ -267,7 +267,7 @@
     1.4              ref(beanTreeFile);
     1.5  
     1.6              ref("Compiling");
     1.7 -            String cmd = "javac -classpath "+workDir.toString()+File.pathSeparator+dataDir.toString()+File.pathSeparator+theClassPath+" "+dataDir.toString()+"/"+testName+".java";
     1.8 +            String cmd = "javac -nowarn -classpath "+workDir.toString()+File.pathSeparator+dataDir.toString()+File.pathSeparator+theClassPath+" "+dataDir.toString()+"/"+testName+".java";
     1.9              int result = runCommand(cmd);
    1.10              ref("Finished compiling: "+result);
    1.11  
    1.12 @@ -355,7 +355,7 @@
    1.13              beanTreeFile.delete();
    1.14              
    1.15              ref("Compiling");
    1.16 -            String cmd = "javac -classpath "+workDir.toString()+File.pathSeparator+dataDir.toString()+File.pathSeparator+theClassPath+" "+dataDir.toString()+"/"+testName+".java";
    1.17 +            String cmd = "javac -nowarn -classpath "+workDir.toString()+File.pathSeparator+dataDir.toString()+File.pathSeparator+theClassPath+" "+dataDir.toString()+"/"+testName+".java";
    1.18              int result = runCommand(cmd);
    1.19              ref("Finished compiling: "+result);
    1.20