X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.25a (ClamAV 0.103.6/26797) X-Junk-Score: 0 [] X-KAS-Score: 0 [] Return-Path: Received: from mail-qv1-f43.google.com ([209.85.219.43] verified) by selbstdenker.ag (CommuniGate Pro SMTP 6.3.17) with ESMTPS id 29300457 for webobjects-dev@wocommunity.org; Mon, 30 Jan 2023 21:46:48 +0100 Received-SPF: pass receiver=post.selbstdenker.com; client-ip=209.85.219.43; envelope-from=recurve@cocoanutstech.com Received: by mail-qv1-f43.google.com with SMTP id k12so9762671qvj.5 for ; Mon, 30 Jan 2023 12:46:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chatnbike.com; s=chatnbike; h=to:references:message-id:content-transfer-encoding:date:in-reply-to :from:subject:mime-version:from:to:cc:subject:date:message-id :reply-to; bh=Bea3DSa4skYB8E0BYB5FcJkn0L5dMXeRf26g4hggB7Y=; b=UhFvpQf1YsVtRea5LIDAOIfdp5G4BdtdbSeVh4wcD9n6SKMOLy2kcL545cPSTdUoNt 0LgY1grd4QF7+sPN860fy4WblFxttL8UMvrlsonxo95MomzpPpzLTW3VVwbZdIQangio e9DF+JtT6kC1vYEJOzUCBryN0I7E6RQvyY0KQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:date:in-reply-to :from:subject:mime-version:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=Bea3DSa4skYB8E0BYB5FcJkn0L5dMXeRf26g4hggB7Y=; b=3UnYkIwvX/AuLJaiC2ysFjdExx6eCKJmJvdiosycOLT6W4+YmrdUh55LVaP18ZsjQ1 DtQVIf/0P5udOK6zgv7EXcfgN81Grc0zmwJGWk4dNiUppbyv9WDgE9iWxsWteakn75pB 0BQCFguo+Hnz55lXKpNTDY38K7V3sF8c3p+5QRiNzhZc93KoSCTSdy8S3WgxIkqVTs3W iWB8a86V8R02bPDlTWBdtHRxsOoaCNmfS1uSehp828ssD/G8etBTB99kitMX+81LyrZn 7VPsBWESyoGwEQI6kLuzHC0WSQ8ud4dNHXUsyEuJ7DBLQiDCZdhf/l3PSHbDgHKlFo23 Dbrw== X-Gm-Message-State: AO0yUKXQcjGEaLNfiuXRvZUIHcRThdykbrgezcrpjgq+UGg20PZ0rGT7 81mASfndH/h2G+WlUuEy7mNLa51zs5RmUV0aSFI= X-Google-Smtp-Source: AK7set8oo/CcROwO1CFB0kzizENrXUU1aVcTH5KVeFJWnfrSeuulhtDXEnEE8+dwQm97p+Ie/qWdYQ== X-Received: by 2002:a05:6214:cc9:b0:537:6a7c:b48b with SMTP id 9-20020a0562140cc900b005376a7cb48bmr17425555qvx.12.1675111586254; Mon, 30 Jan 2023 12:46:26 -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 w19-20020ae9e513000000b006f9f3c0c63csm8715148qkf.32.2023.01.30.12.46.25 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Jan 2023 12:46:25 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.2\)) Subject: Re: Maven Components subfolders incompatibility? From: Aaron Rosenzweig In-Reply-To: Date: Mon, 30 Jan 2023 15:46:25 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <8A845459-6563-4059-91DE-531211A4E235@chatnbike.com> References: To: WebObjects & WOnder Development X-Mailer: Apple Mail (2.3696.120.41.1.2) Hi All,=20 I discovered this option for the Maven lifecycle plugin: true I tried it and I can see inside the target directory it was honored=E2=80=A6= but the error message is still the same, cannot find UserSwitcher.=20 I=E2=80=99m trying to launch from within Eclipse but I don=E2=80=99t = understand how to get it to go. I don=E2=80=99t see the .woa built = anywhere, is this a type of bundles build process? Or where is the .woa = built? It=E2=80=99s not in the target folder.=20 Thank you, =E2=80=94 Aaron > On Jan 30, 2023, at 2:12 PM, Aaron Rosenzweig = wrote: >=20 > I=E2=80=99m trying to convert my Eclipse workspace front ANT -> Maven = builds but I=E2=80=99ve run into a snag. Hoping a kind WOrrior can lend = me their axe >=20 > When I launch the app it cannot find some WOComponents. I get errors = like:=20 >=20 > WOBundle.lookForClassInAllBundles(UserSwitcher) failed! >=20 > WARNING: = Unable to find component class named "UserSwitcher". If this is not = intended to be a classless component, check your framework settings and = the contents of your classpath file (in the .woa's = Contents/ subdirectory). >=20 > =E2=80=A6 >=20 > =E2=80=9CUserSwitcher.wo=E2=80=9D is a component in this app, not an = included framework.=20 >=20 > It lives in: Components/Permissions/UserSwitcher.wo >=20 > It seems that the =E2=80=9CPermissions=E2=80=9D subfolder is causing = issues as components defined directly under Components are discovered = and work properly.=20 >=20 > I would rather continue to keep subfolders in Components if = possible=E2=80=A6 while using Maven.=20 >=20 > What I think is the relevant part of the POM looks like: > > > Resources > false > Components > > > Resources > false > Components/Permissions > > >=20 > When I check the =E2=80=9Ctarget=E2=80=9D directory=E2=80=A6 which I = think is where the Maven temporary files live=E2=80=A6 I do find the = following intact: > target/classes/Resources/Permissions/UserSwitcher.wo >=20 > So it sort of looks like it is working but the running app in Eclipse = cannot find this component. How does Eclipse launch it from here? Is it = a type of bundle-less build? Where is the next step to debug to figure = out how UserSwitcher.wo is not getting put into the right location? >=20 > Any help appreciated, thank you :-) > =E2=80=94 Aaron