Forum Stats

  • 3,839,037 Users
  • 2,262,441 Discussions


Output directory problem with lb genobject -type apex

User_NIT26 Member Posts: 1 Green Ribbon


I'm trying to use lb genobject to export an APEX application. When I just run the command without specifying an output directory it seems my current directory is appended twice and it fails on the Windows driver letter in the middle of the path:

SQL> lb genobject -type apex -applicationid 2750 -skipExportDate -expOriginalIds -split
--Starting Liquibase at 12:16:55 (version 4.9.1 #0 built at 2022-05-03 17:23+2221)

Exporting application 2750

 Completed at Wed Jul 27 12:16:56 CEST 2022

Illegal char <:> at index 26: C:\Users\ogrossmann\bin\/C:\Users\ogrossmann\bin\f2750/application/shared_components/globalization/dyntranslations.xml

But when I use the -dir option I get: ERROR: Unknown parameter -dir

PS: I'm using sqlcl version 22.2 but I get the same error with older versions.

PPS: I must add that our admins are not willing to allow sql.exe and I'm using a little batch wrapper to compose the classpath and run Java directly (based on the shell script). I've checked it several times but I cannot completely exclude that I'm not missing something.

Thanks in advance,