Closed jConquest closed 4 years ago
I confirmed that it has to do with the copying of the template files (located in main/resources/init)
Particularly, it is the FixedLayout file being copied that is stale (from previous version using different probed naming convention)
Found that there is FixedLayout in the /test/resources /main/resources/ and /target/class/init/
tried to replace all of these, still had error. Might need to double check this.
double checked if replacing all files copies with correct version fixes problem, it does not. It could be taking the olderWB version but that seems unlikely
At the end of the day, Init is adding BasemTemplates and ParamsClassTemplateConfig into the target folder for execution. We have already updated the design to include the target folder with all these template files ready to go so as to make the installation process of WB faster and easier for users. Init could be removed.
Tested WB without using Init code, everything runs perfectly. Furthermore runtime start-up has increased as there are no file copying going on
fixed problem by finding all stale versions of layout params. With testing kit being run, this code is now necessary for first start up. No longer need the target file in dir, will be created at start up. This is now working.
Found the issues out. Wrong java call and a missing '/"
However, fixing this bug found a new one as well as a design question.
Issue: layoutParams tab of simulator configuration window now incomplete, missing probed list. The error should have to do with the copying of files. If I manually replace the template files while the wb is running, the problem is resolved. Every time at start-up, however, the files are copied over again and the issue is repeated.