37
37
import java .util .Map ;
38
38
39
39
import processing .app .Base ;
40
+ import processing .app .BaseNoGui ;
40
41
import processing .app .I18n ;
41
42
import processing .app .PreferencesData ;
42
43
import processing .app .SketchCode ;
@@ -578,7 +579,7 @@ private String[] getCommandCompilerS(List<File> includeFolders,
578
579
throws RunnerException {
579
580
String includes = prepareIncludes (includeFolders );
580
581
PreferencesMap dict = new PreferencesMap (prefs );
581
- dict .put ("ide_version" , "" + Base .REVISION );
582
+ dict .put ("ide_version" , "" + BaseNoGui .REVISION );
582
583
dict .put ("includes" , includes );
583
584
dict .put ("source_file" , sourceFile .getAbsolutePath ());
584
585
dict .put ("object_file" , objectFile .getAbsolutePath ());
@@ -597,7 +598,7 @@ private String[] getCommandCompilerC(List<File> includeFolders,
597
598
String includes = prepareIncludes (includeFolders );
598
599
599
600
PreferencesMap dict = new PreferencesMap (prefs );
600
- dict .put ("ide_version" , "" + Base .REVISION );
601
+ dict .put ("ide_version" , "" + BaseNoGui .REVISION );
601
602
dict .put ("includes" , includes );
602
603
dict .put ("source_file" , sourceFile .getAbsolutePath ());
603
604
dict .put ("object_file" , objectFile .getAbsolutePath ());
@@ -616,7 +617,7 @@ private String[] getCommandCompilerCPP(List<File> includeFolders,
616
617
String includes = prepareIncludes (includeFolders );
617
618
618
619
PreferencesMap dict = new PreferencesMap (prefs );
619
- dict .put ("ide_version" , "" + Base .REVISION );
620
+ dict .put ("ide_version" , "" + BaseNoGui .REVISION );
620
621
dict .put ("includes" , includes );
621
622
dict .put ("source_file" , sourceFile .getAbsolutePath ());
622
623
dict .put ("object_file" , objectFile .getAbsolutePath ());
@@ -778,7 +779,7 @@ void compileCore()
778
779
for (File file : coreObjectFiles ) {
779
780
780
781
PreferencesMap dict = new PreferencesMap (prefs );
781
- dict .put ("ide_version" , "" + Base .REVISION );
782
+ dict .put ("ide_version" , "" + BaseNoGui .REVISION );
782
783
dict .put ("archive_file" , afile .getName ());
783
784
dict .put ("object_file" , file .getAbsolutePath ());
784
785
@@ -819,7 +820,7 @@ void compileLink()
819
820
dict .put ("compiler.c.elf.flags" , flags );
820
821
dict .put ("archive_file" , "core.a" );
821
822
dict .put ("object_files" , objectFileList );
822
- dict .put ("ide_version" , "" + Base .REVISION );
823
+ dict .put ("ide_version" , "" + BaseNoGui .REVISION );
823
824
824
825
String [] cmdArray ;
825
826
try {
@@ -834,7 +835,7 @@ void compileLink()
834
835
// 5. extract EEPROM data (from EEMEM directive) to .eep file.
835
836
void compileEep () throws RunnerException {
836
837
PreferencesMap dict = new PreferencesMap (prefs );
837
- dict .put ("ide_version" , "" + Base .REVISION );
838
+ dict .put ("ide_version" , "" + BaseNoGui .REVISION );
838
839
839
840
String [] cmdArray ;
840
841
try {
@@ -849,7 +850,7 @@ void compileEep() throws RunnerException {
849
850
// 6. build the .hex file
850
851
void compileHex () throws RunnerException {
851
852
PreferencesMap dict = new PreferencesMap (prefs );
852
- dict .put ("ide_version" , "" + Base .REVISION );
853
+ dict .put ("ide_version" , "" + BaseNoGui .REVISION );
853
854
854
855
String [] cmdArray ;
855
856
try {
0 commit comments