explicit folder for generated java stuff
This commit is contained in:
parent
97a976dadd
commit
47daf9512e
|
@ -1,5 +1,7 @@
|
||||||
package com.rusefi.config.generated;
|
package com.rusefi.config.generated;
|
||||||
|
|
||||||
|
import com.rusefi.config.*;
|
||||||
|
|
||||||
// this file was generated automatically by ConfigDefinition.jar based on integration\rusefi_config.txt Sun Jun 16 22:00:08 EDT 2019
|
// this file was generated automatically by ConfigDefinition.jar based on integration\rusefi_config.txt Sun Jun 16 22:00:08 EDT 2019
|
||||||
public class Fields {
|
public class Fields {
|
||||||
public static final int accelerometerSpiDevice_offset = 2736;
|
public static final int accelerometerSpiDevice_offset = 2736;
|
||||||
|
|
Binary file not shown.
|
@ -103,11 +103,11 @@ public class JavaFieldsConsumer implements ConfigurationConsumer {
|
||||||
@Override
|
@Override
|
||||||
public void startFile() {
|
public void startFile() {
|
||||||
javaFields.write("package " + JAVA_PACKAGE + ";" + ConfigDefinition.EOL + ConfigDefinition.EOL);
|
javaFields.write("package " + JAVA_PACKAGE + ";" + ConfigDefinition.EOL + ConfigDefinition.EOL);
|
||||||
javaFields.write("// this file " + ConfigDefinition.MESSAGE + ConfigDefinition.EOL);
|
javaFields.write("// this file " + ConfigDefinition.MESSAGE + ConfigDefinition.EOL + EOL);
|
||||||
|
javaFields.write("import com.rusefi.config.*;" + EOL + EOL);
|
||||||
javaFields.write("public class " + className + " {" + ConfigDefinition.EOL);
|
javaFields.write("public class " + className + " {" + ConfigDefinition.EOL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void handleEndStruct(ConfigStructure structure) throws IOException {
|
public void handleEndStruct(ConfigStructure structure) throws IOException {
|
||||||
if (state.stack.isEmpty()) {
|
if (state.stack.isEmpty()) {
|
||||||
|
|
Loading…
Reference in New Issue