bmTas / JRecord

Cobol IO for Java/JVM languages via a Cobol Copybook
GNU Lesser General Public License v3.0
30 stars 25 forks source link

package net.sf.JRecord.cg.details.codes does not exist #11

Open archenroot opened 2 years ago

archenroot commented 2 years ago

I can compile JRecord_Project, but I fail on JRecord_Utilities with:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project jrecord-codegen: Compilation failure: Compilation failure: 
[ERROR] /data/proj/ibm/bp/external-systems/JRecord/Source/JRecord_Utilities/JRecord_CodeGen/src/main/java/net/sf/JRecord/cg/details/IGenerateOptions.java:[3,39] package net.sf.JRecord.cg.details.codes does not exist
[ERROR] /data/proj/ibm/bp/external-systems/JRecord/Source/JRecord_Utilities/JRecord_CodeGen/src/main/java/net/sf/JRecord/cg/details/ParseArgs.java:[28,39] package net.sf.JRecord.cg.details.codes does not exist
[ERROR] /data/proj/ibm/bp/external-systems/JRecord/Source/JRecord_Utilities/JRecord_CodeGen/src/main/java/net/sf/JRecord/cg/details/GenerateOptions.java:[28,39] package net.sf.JRecord.cg.details.codes does not exist
[ERROR] /data/proj/ibm/bp/external-systems/JRecord/Source/JRecord_Utilities/JRecord_CodeGen/src/main/java/net/sf/JRecord/cg/details/GenerateOptions.java:[50,32] cannot find symbol
[ERROR]   symbol:   class GenOptValues
[ERROR]   location: class net.sf.JRecord.cg.details.GenerateOptions
[ERROR] /data/proj/ibm/bp/external-systems/JRecord/Source/JRecord_Utilities/JRecord_CodeGen/src/main/java/net/sf/JRecord/cg/Generate.java:[43,40] cannot find symbol
[ERROR]   symbol:   method printOptions()
[ERROR]   location: class net.sf.JRecord.cg.details.GenerateOptions
[ERROR] /data/proj/ibm/bp/external-systems/JRecord/Source/JRecord_Utilities/JRecord_CodeGen/src/main/java/net/sf/JRecord/cg/Generate.java:[47,33] cannot find symbol
[ERROR]   symbol:   method isOk()
[ERROR]   location: variable opts of type net.sf.JRecord.cg.details.GenerateOptions
archenroot commented 2 years ago

Ok, I removed .codes from imports and it works.

Now failing on:

[ERROR] /data/proj/ibm/bp/external-systems/JRecord/Source/JRecord_Utilities/JRecord_CodeGen/src/main/java/net/sf/JRecord/cg/details/GenerateOptions.java:[50,32] cannot find symbol
[ERROR]   symbol:   class GenOptValues
[ERROR]   location: class net.sf.JRecord.cg.details.GenerateOptions
[ERROR] /data/proj/ibm/bp/external-systems/JRecord/Source/JRecord_Utilities/JRecord_CodeGen/src/main/java/net/sf/JRecord/cg/Generate.java:[43,40] cannot find symbol
[ERROR]   symbol:   method printOptions()
[ERROR]   location: class net.sf.JRecord.cg.details.GenerateOptions
[ERROR] /data/proj/ibm/bp/external-systems/JRecord/Source/JRecord_Utilities/JRecord_CodeGen/src/main/java/net/sf/JRecord/cg/Generate.java:[47,33] cannot find symbol
[ERROR]   symbol:   method isOk()
[ERROR]   location: variable opts of type net.sf.JRecord.cg.details.GenerateOptions
archenroot commented 2 years ago

It seems to me like not everything was commited last time you push to github the class GenOptValues is completely missing from the code.

bmTas commented 2 years ago

Thanks for report, you are almost certainly correct that I did not commit everything I should of. I will have to try and be more careful in the future. I will be updating JRecord shortly