Hi Samir

Thanks for your answer.

I read those links some days ago however I'm using SBT to deploy my project 
(I'm using Play 2 framework).

Thanks.

On Wednesday, September 7, 2016 at 4:30:57 AM UTC+1, Samir Faci wrote:
>
> How are you invoking the build task? If you're using maven or gradle, 
> property loading is supported by each respective build tool. (Well, I 
> assume it is for grade, but I know maven supports it)
>
> for example:
>
> http://www.mojohaus.org/properties-maven-plugin/
>
> You could easily have a datasources.properties that you read in from your 
> maven task that loads those parameters in.  
>
>
>
>
>
> On Tue, Sep 6, 2016 at 2:12 PM, <[email protected] <javascript:>> 
> wrote:
>
>> Hi.
>>
>> I have been searching on JOOQ documentation and internet pages, but I 
>> haven't found the way to include inside the XML file used by code 
>> generation process, the jdbc configuration from external properties file.
>> I would like something like this:
>>
>> <jdbc>
>>    <driver>${driverClass}</driver>
>>    <url>${url}</url>
>>    <user>${user}</user>
>>    <password>${password}</password>
>> </jdbc>
>>
>> Where: *${driverClass}*, *${url}*, etc are loading from a 
>> *datasource.properties* file like this:
>>
>> driverClass=org.postgresql.Driver
>> databaseName=myDatabase
>> ...
>>
>> Thanks in advance
>>
>> -- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Thank you
> Samir Faci
> https://keybase.io/csgeek
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to