Jacek Gębal

Results 157 comments of Jacek Gębal

Unfortunately that doesn't work :/ ``` [INFO] Found GraalVM installation from JAVA_HOME variable. [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.371 s [INFO] Finished at: 2022-08-17T17:58:41+03:00 [INFO]...

Looks like comma (`,`) works [The property is defined as java.util.List(String)](https://graalvm.github.io/native-build-tools/latest/javadocs/native-maven-plugin/org/graalvm/buildtools/maven/AbstractNativeMojo.html#classpath) ``` ${project.build.directory}${file.separator}${project.build.finalName}.jar,${settings.localRepository}${file.separator}oracle${file.separator}dbtools${file.separator}dbtools-common${file.separator}${sqlcl.version}${file.separator}dbtools-common-${sqlcl.version}.jar,${settings.localRepository}${file.separator}org${file.separator}reflections${file.separator}reflections${file.separator}${reflections.version}${file.separator}reflections-${reflections.version}.jar,${settings.localRepository}${file.separator}org${file.separator}javassist${file.separator}javassist${file.separator}${javassist.version}${file.separator}javassist-${javassist.version}.jar,${settings.localRepository}${file.separator}org${file.separator}slf4j${file.separator}slf4j-api${file.separator}${slf4j.version}${file.separator}slf4j-api-${slf4j.version}.jar,${settings.localRepository}${file.separator}org${file.separator}slf4j${file.separator}slf4j-jdk14${file.separator}${slf4j.version}${file.separator}slf4j-jdk14-${slf4j.version}.jar,${settings.localRepository}${file.separator}org${file.separator}graalvm${file.separator}js${file.separator}js-scriptengine${file.separator}${graalvm.version}${file.separator}js-scriptengine-${graalvm.version}.jar ```

This is really strange. I assume it is a maven plugin (datatype) issue

No. I get the following issue: ``` PS C:\Users\JacekGebal\DataGripProjects\plsql-formatter-settings\standalone\target> .\tvdformat.exe Exception in thread "main" javax.script.ScriptException: org.graalvm.polyglot.PolyglotException: SyntaxError: :1:0 Expected an operand but found . ../../../../sqlcl/format.js ^ at com.oracle.truffle.js.scriptengine.GraalJSScriptEngine.toScriptException(GraalJSScriptEngine.java:503) at com.oracle.truffle.js.scriptengine.GraalJSScriptEngine.eval(GraalJSScriptEngine.java:480)...

I was building in VS 2022 v17.3.0 command prompt. ``` ********************************************************************** ** Visual Studio 2022 Developer Command Prompt v17.3.0 ** Copyright (c) 2022 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for:...

Seems that copy & paste of formatter.js file from `sqlcl` to `standalone/src/main/resourece` did the trick. Another small glitch but now I get: ``` PS C:\Users\JacekGebal\DataGripProjects\plsql-formatter-settings\standalone\target> .\tvdformat.exe SPM_ACCOUNT_OLD.Table.sql file or directory...

And it actually formats. ``` PS C:\Users\JacekGebal\DataGripProjects\plsql-formatter-settings\standalone\target> .\tvdformat.exe scratch_1.json ext=sql,prc,fnc,pks,pkb,trg,vw,tps,tpb,tbp,plb,pls,rcv,spc,typ,aqt,aqp,ctx,dbl,tab,dim,snp,con,collt,seq,syn,grt,sp,spb,sps,pck mext=markdown,mdown,mkdn,md xml=trivadis_advanced_format.xml arbori=trivadis_custom_format.arbori Formatting file 1 of 2: IMPEXP_CONFIGURATION_TO_CSV.pkb... done. Formatting file 2 of 2: IMPEXP_CONFIGURATION_TO_CSV.pks... done. PS C:\Users\JacekGebal\DataGripProjects\plsql-formatter-settings\standalone\target> ```...

@PhilippSalvisberg Is the solution for issue #228 provided in #231 applicable for native image? If not, is there anything I can/should do to make native image work with UTF-8 files...

To add more context: ``` $ java -version java version "1.8.0_144" Java(TM) SE Runtime Environment (build 1.8.0_144-b01) Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode) ``` After a bit...

I get exactly the same error when running script generated with flag: `endorsedDir=true`