MendixCap / MX--SFTP-Module

Mendix SFTP Module
3 stars 4 forks source link

Compilation of java actions failed - Mendix 7.11.0 #5

Open abdulgaffarabu opened 6 years ago

abdulgaffarabu commented 6 years ago

I've imported and configured it with main application and no errors were occurred. But i got compile-time error while the applicaiton.

Versions: SFTP Connection 4.1 Mendix 7.11.0

Buildfile: D:\Workspace\Codebase\Main\deployment\build_core.xml

compile:
    [javac] Compiling 238 source files to D:\Workspace\MMD\Codebase\Main\deployment\run\bin
    [javac] D:\Workspace\Codebase\Main\javasource\encryption\actions\GeneratePGPKeyRing.java:74: error: cannot find symbol
    [javac]         char pass[] = this.PrivateKey.getPassPhrase_Plain().toCharArray();
    [javac]                           ^
    [javac]   symbol: variable PrivateKey
    [javac] D:\Workspace\Codebase\Main\javasource\encryption\actions\GeneratePGPKeyRing.java:75: error: cannot find symbol
    [javac]         PGPKeyRingGenerator krgen = generateKeyRingGenerator(this.PrivateKey.getEmailAddress(), pass);
    [javac]                                                                  ^
    [javac]   symbol: variable PrivateKey
    [javac] D:\Workspace\Codebase\Main\javasource\encryption\actions\GeneratePGPKeyRing.java:91: error: cannot find symbol
    [javac]         Core.storeFileDocumentContent(getContext(), this.PublicKey.getMendixObject(), pubFilename, new FileInputStream(tempASC));
    [javac]                                                         ^
    [javac]   symbol: variable PublicKey
    [javac] D:\Workspace\Codebase\Main\javasource\encryption\actions\GeneratePGPKeyRing.java:109: error: cannot find symbol
    [javac]         Core.storeFileDocumentContent(getContext(), this.PrivateKey.getMendixObject(), skrFilename, new FileInputStream(tempSKR));
    [javac]                                                         ^
    [javac]   symbol: variable PrivateKey
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 4 errors

BUILD FAILED
D:\Workspace\Codebase\Main\deployment\build_core.xml:29: Compile failed; see the compiler error output for details.

Total time: 3 seconds