Yeah ... 

already committed ... wanted to create the PR but Dinner interrupted ... but I 
think in general a little cleanup of the getPropsUrl() to also allow explicitly 
naming the property file differently.

With my changes I have to name the config-url "classpath:" which sort of feels 
silly ;-)

Chris


Am 30.08.20, 17:23 schrieb "Julian Feinauer" <[email protected]>:

    Hey Chris,

    Good idea... What about... A PR? :D

    Julian

    Von meinem Mobiltelefon gesendet


    -------- Ursprüngliche Nachricht --------
    Von: Christofer Dutz <[email protected]>
    Datum: So., 30. Aug. 2020, 17:19
    An: [email protected]
    Betreff: Configuring IoTDB when run programatically
    Hi all,

    I’m currently doing my first steps with IoTDB and am currently struggling 
to get IoTDB to startup in an embedded mode.
    I am setting up IoTDB to be setup as a service in my SpringBoot 
application. For this I have my iotdb-engine.properties in my classpath.
    However I want IoTDB to have all of its files in my applications home 
directory.

    Now it seems as if this szenario isn’t supported nicely as If I specify the 
IOTDB_HOME, it wants to load the properties from there too, but I would like to 
leave the properties in my classpath.
    The reason for this is that I don’t need any setup steps to prepare the 
directories.

    It would be cool if in IoTDBDescriptor line 128 wouldn’t expect the URL to 
be a File URL. I could also have a classpath URL 
“classpath:/iotdb-engine.properties” but that causes trouble ;-)

    Chris

Reply via email to