X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.25a (ClamAV 0.103.6/26820) X-Junk-Score: 0 [] X-KAS-Score: 0 [] Return-Path: Received: from mail-qt1-f176.google.com ([209.85.160.176] verified) by selbstdenker.ag (CommuniGate Pro SMTP 6.3.17) with ESMTPS id 29621368 for webobjects-dev@wocommunity.org; Wed, 22 Feb 2023 21:46:47 +0100 Received-SPF: pass receiver=post.selbstdenker.com; client-ip=209.85.160.176; envelope-from=recurve@cocoanutstech.com Received: by mail-qt1-f176.google.com with SMTP id k20so5600568qtj.5 for ; Wed, 22 Feb 2023 12:46:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chatnbike.com; s=chatnbike; h=to:references:message-id:cc:date:in-reply-to:from:subject :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=uFvBUByH6F0Sz50F7yJEbjCBdWHhTBaTwComk8wI3+4=; b=Nu9ZC2LDHT5Zz8g0j64/sywAuzo1TCE1I6iAnDObRjhz6NJqXtM0i0OySORQbyd035 cYNGOxkxnjuPN+rLAI3zWJBP+kkfbv/cAmXSsm8dLBt3kDacJd8BMvdq0wxP+9o0Umwe 2wRUxfQTsF0lcL8D/F5SfS9uerkjDsEyenCCI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:cc:date:in-reply-to:from:subject :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uFvBUByH6F0Sz50F7yJEbjCBdWHhTBaTwComk8wI3+4=; b=rpNMybCU0Dsklip9rWtG5TZyiDV8d9p4vJO/x/jKF4x3VXFpkANYAhT/RC7qX7EmRW asHGTexiPXrlzErL9jChnHYU/EsK4IBxqZUmqablg8qi2KR9wLk/+1p+RKrqmn5g+Qis QyTyl8tJdWBqNHqyuyFJf4A3bPoPOTduPUtOtYJQQ4R8ag1bl0wd7eIff0n3cOL/82y+ lV+FN38lnCLWw5FRR10IlNxxQ7gd35Kbx1EPywsrWAbBJ5AaIPq9GcDAaZxfJo0JMVSL XKkJZvF3GTLBmMK1xJ5Z60tNJLasv/Ag91Y5NussBzrrs/rvdTb/fA6nJT90j/j7GOpF ymUA== X-Gm-Message-State: AO0yUKWpl4Bygc7PA5AysSrkLkEM4m6sYP2gHmOlF5QuHd1qQFyR/P1j BLo/pbDS34SNqQ6F5Lut4VgddBK+BJ43oz3TrBo= X-Google-Smtp-Source: AK7set/QX0oBwngGqPeXa2qdCelCE0NmkAoZnXuVElV6PsKIpFmrY4pARvnlx+/bEiwro+nR3ZQ4Pg== X-Received: by 2002:a05:622a:1b91:b0:3a7:e619:61a with SMTP id bp17-20020a05622a1b9100b003a7e619061amr17134972qtb.37.1677098785103; Wed, 22 Feb 2023 12:46:25 -0800 (PST) Return-Path: Received: from smtpclient.apple (pool-173-79-19-72.washdc.fios.verizon.net. [173.79.19.72]) by smtp.gmail.com with ESMTPSA id n123-20020a37bd81000000b006ee8874f5fasm2377939qkf.53.2023.02.22.12.46.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Feb 2023 12:46:24 -0800 (PST) Content-Type: multipart/alternative; boundary="Apple-Mail=_CE893A09-B21A-4967-A321-21310FEE65C2" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.2\)) Subject: Re: [WO-DEV] Load additional D2W models? From: Aaron Rosenzweig In-Reply-To: Date: Wed, 22 Feb 2023 15:46:24 -0500 Cc: markus.ruggiero@rucotec.ch Message-Id: <3C84A04F-E0A1-4FD1-BCB4-8A798E46E779@chatnbike.com> References: To: WebObjects & WOnder Development X-Mailer: Apple Mail (2.3696.120.41.1.2) --Apple-Mail=_CE893A09-B21A-4967-A321-21310FEE65C2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Sorry Markus,=20 D2W is one of those things I thought was really neat but never used in a = production environment. Only kicked the tires. Sorry I don=E2=80=99t = have any ideas to achieve what you=E2=80=99d like to do :-) > On Feb 22, 2023, at 2:58 PM, Markus Ruggiero (rucotec) = wrote: >=20 > Please tick > [ ] Nobody knows anything > [ ] Nobody ever had such an idea and does not care > [ ] Nobody out there anymore >=20 >> On 21 Feb 2023, at 15:38, Markus Ruggiero (rucotec) = > wrote: >>=20 >> I found this property = =E2=80=9Cer.directtoweb.ERD2WModel.additionalModelNames=E2=80=9D that = can be use to load additional D2W model files. I want to make this = property dynamic so that its list of model names is built from a = directory scan of the resources folder (or a subfolder) and all models = found are loaded. This would allow to have models built around some = grouping criteria like e.g. per entity without having to manually = maintain the list of names in the properties file. I am in a prototype = phase where I play extensively with a rather extensive EOModel, adding = and removing entities. Such functionality would be great to have. >>=20 >> Anyone done something like this? When during app startup would be a = good time to build this list? I think it must be done before D2W is = initialized. Probably application.run() right before calling super.run() = might already be too late? >>=20 >> Open for any tip, idea, help, code snippets, whatever. >> Thanks a lot >>=20 >> ---markus--- >>=20 >>=20 >>=20 >=20 >=20 > Markus Ruggiero >=20 > rucotec GmbH web https://rucotec.ch = > Leonhardsberg 1 email markus.ruggiero@rucotec.ch = > 4051 Basel / Switzerland mobile +41 79 508 4701 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 --Apple-Mail=_CE893A09-B21A-4967-A321-21310FEE65C2 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Sorry= Markus, 

D2W = is one of those things I thought was really neat but never used in a = production environment. Only kicked the tires. Sorry I don=E2=80=99t = have any ideas to achieve what you=E2=80=99d like to do :-)
=

On Feb 22, 2023, at 2:58 PM, Markus Ruggiero (rucotec) <markus.ruggiero@rucotec.ch> wrote:

Please = tick
[  ] Nobody knows anything
[  ] = Nobody ever had such an idea and does not care
[ =  ] Nobody out there anymore

On 21 Feb 2023, at 15:38, = Markus Ruggiero (rucotec) <markus.ruggiero@rucotec.ch> wrote:

I = found this property =E2=80=9Cer.directtoweb.ERD2WModel.additionalModelName= s=E2=80=9D that can be use to load additional D2W model files. I want to = make this property dynamic so that its list of model names is built from = a directory scan of the resources folder (or a subfolder) and all models = found are loaded. This would allow to have models built around some = grouping criteria like e.g. per entity without having to manually = maintain the list of names in the properties file. I am in a prototype = phase where I play extensively with a rather extensive EOModel, adding = and removing entities. Such functionality would be great to have.

Anyone done something like this? When during = app startup would be a good time to build this list? I think it must be = done before D2W is initialized. Probably application.run() right before = calling super.run() might already be too late?

Open for any tip, idea, help, code snippets, whatever.
Thanks a lot

---markus---





Markus = Ruggiero

rucotec GmbH              =           web https://rucotec.ch
Leonhardsberg 1         =           email markus.ruggiero@rucotec.ch
4051 Basel / = Switzerland         mobile +41 79 508 4701









= --Apple-Mail=_CE893A09-B21A-4967-A321-21310FEE65C2--