Hi Thorsten,

I'm not entirely sure if I understand the problems you're having... In any
case, do note that you can always use programmatic configuration of the
code generator:
https://www.jooq.org/doc/latest/manual/code-generation/codegen-programmatic/

Thanks,
Lukas

On Fri, Feb 7, 2020 at 6:12 PM Thorsten Schöning <[email protected]>
wrote:

> Guten Tag Lukas Eder,
> am Freitag, 7. Februar 2020 um 16:40 schrieben Sie:
>
> > jOOQ 3.13 will have a configuration/basedir property for that:
> > https://github.com/jOOQ/jOOQ/issues/9727
>
> > In the mean time, you could run the code generation with your XYZ
> directory
> > as the JVM's working directory, I suspect.
>
> I don't think either of both will help me: The current directory is
> already so that I can configure most files with relative paths. Not
> only for jOOQ itself, but e.g. Logback as well.
>
> The only problem is the target directory of the generator, which needs
> to leave that directory and where I need to hard-code many "..".
>
> An additional "baseDir" doesn't help, because the current working dir
> still needs to be like it is so that jOOQ can find it's config to read
> the base dir and Logback is supported as well, which isn't aware of
> "baseDir" at all. Additionally, without replacing some sort of
> environment variables, "baseDir" itself could only be relative or
> absolute again, with the latter is what I'm trying to avoid.
>
> In my case, Eclipse already knows everything I need, e.g. the absolute
> path to my project, I simply can't forward that easily. The only thing
> I can use is the current working directory, for some things of jOOQ
> the class path still works as well, but not for all, like loading
> XML-schema files.
>
> But things are not that important as well. :-)
>
> Mit freundlichen Grüßen,
>
> Thorsten Schöning
>
> --
> Thorsten Schöning       E-Mail: [email protected]
> AM-SoFT IT-Systeme      http://www.AM-SoFT.de/
>
> Telefon...........05151-  9468- 55
> Fax...............05151-  9468- 88
> Mobil..............0178-8 9468- 04
>
> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
> AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
>
> --
> You received this message because you are subscribed to the Google Groups
> "jOOQ User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jooq-user/709825060.20200207181157%40am-soft.de
> .
>

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jooq-user/CAB4ELO7uXTiymKN%2BgNQ4Y%3DJeAccxfVgDoHeo1wVHoOAjFSDtsA%40mail.gmail.com.

Reply via email to