Re: ServerRuntime.builder().addConfig

2019-07-18 Thread John Huss
tion with addConfig() - and > one > >>> that cayenne runtime is complaining about in this case. > >>> > >>> I am trying to come up a connection configuration strategy that uses > >>> cayanne best practices, as well as conforms to gradle and jen

Re: ServerRuntime.builder().addConfig

2019-07-18 Thread Joe Baldwin
mp; ServerModule): ServerRuntime cayenneRuntime = ServerRuntime.builder() .addConfig(CayenneConfPath) .addModule(binder -> ServerModule.contributeProperties(binder)

Re: ServerRuntime.builder().addConfig

2019-07-17 Thread Joe Baldwin
ing to override for testing? If it's the database >>> connection properties there are better ways to do that. >>> >>> On Wed, Jul 17, 2019 at 9:25 AM Joe Baldwin >> wrote: >>> >>>> Goal: >>>> My goal is to provide an unambigu

Re: ServerRuntime.builder().addConfig

2019-07-17 Thread Mike Kienenberger
put the project file in the root of the > > > classpath. > > > > > > What are you trying to override for testing? If it's the database > > > connection properties there are better ways to do that. > > > > > > On Wed, Jul 17, 2019 at 9:25 A

Re: ServerRuntime.builder().addConfig

2019-07-17 Thread John Huss
t; wrote: > > > >> Goal: > >> My goal is to provide an unambiguous (deterministic) path to my project > >> xml file to ServerRuntime during automated testing (the plan is to have > >> multiple stages of testing). > >> > >> My understanding is

Re: ServerRuntime.builder().addConfig

2019-07-17 Thread Joe Baldwin
multiple stages of testing). >> >> My understanding is that 4.0.1 uses: >> ServerRuntime.builder().addConfig() >> to accomplish this normally. >> >> Problems: >> 1. While trying to understand the behavior of .addConfig(), I have had to >> rely primari

Re: ServerRuntime.builder().addConfig

2019-07-17 Thread John Huss
provide an unambiguous (deterministic) path to my project > xml file to ServerRuntime during automated testing (the plan is to have > multiple stages of testing). > > My understanding is that 4.0.1 uses: > ServerRuntime.builder().addConfig() > to accomplish this normally. >

ServerRuntime.builder().addConfig

2019-07-17 Thread Joe Baldwin
Goal: My goal is to provide an unambiguous (deterministic) path to my project xml file to ServerRuntime during automated testing (the plan is to have multiple stages of testing). My understanding is that 4.0.1 uses: ServerRuntime.builder().addConfig() to accomplish this normally