Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jwmCo-0004D3-HQ for pljava-dev@arkaria.postgresql.org; Sat, 18 Jul 2020 12:44:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jwmCF-0004dN-Rr for pljava-dev@arkaria.postgresql.org; Sat, 18 Jul 2020 12:44:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jwmCF-0004dG-Kf for pljava-dev@lists.postgresql.org; Sat, 18 Jul 2020 12:44:07 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jwmC7-0002wf-0v for pljava-dev@lists.postgresql.org; Sat, 18 Jul 2020 12:44:06 +0000 Received: by mail-ed1-x52c.google.com with SMTP id d18so9692733edv.6 for ; Sat, 18 Jul 2020 05:43:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sDf1k5Iiff427hv0PMDDloqIYPbNtvv1bBLuJ0NwGwQ=; b=qago+o/HCkL3QT6RrXExX9EWbx9iAnIFDAeqYrStIvCNt2FCm3WUPXG8nlM0KIKZhi fsHEyut9CV554TJVSjPv1fpRAKIwpttyiLiT/HSqakXoB3JbB9l1pAY36g8riKWYcYVD ty4q9Pk31lsrNv96nXX3LDdo4ghdxBuJdXS4hYD3Nr10hJNhFHhPQDvxZFZ9izJ8nSyv OWWNmVzvAEErN1zOCTvfUU3J8gLnS4ZevM93wMrMVDtsr2qtKjfH+n2lPMFoZeAuKoH1 b9k0QmKfN89ioAy7uoAR1ISSmTU6dVGoiCdr3QPIPbkLmuTPyHyg9iVM+epR/K6mwo95 CCYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sDf1k5Iiff427hv0PMDDloqIYPbNtvv1bBLuJ0NwGwQ=; b=DDcZX2qj3erGYLdkapv+IkHVdpxFDdfmY2sl4K8d2UOnKx3blKm62Mo8OAB3dPuEuQ H1yZZiOf1Ucg5nqmRV4rY5BliZm6TMflMoCnnyPfkEBy0ckFDpTiiw3k4WpEIKjP5FHw EuXGL2FlH8dR7489NLBUJK7SjADfOOYw6xPqDOmDn9teonnkOCiZhkBwIAPEzY5YU9fh MGjioRWYNl/ZvjmulhUBUpmyBoZuoMjjOH+qQ/RoQZPr3pGS/AFghUXx3NsTaqZGl0Cd DbBW2pTUOuym13HH72exAvWBg5ry6t/YZza7WezeW+Eky4LymJNlBuq5SvOxLx+XMK9F 5alw== X-Gm-Message-State: AOAM531sl5k0TIVP9P5SirM7zctwYmTHJBQZfgX5UGpdfIBK58B9nK9l 8PLIELReL9SVgyAoTgpItIqbaFEnyNk58TnzBZ8vskVHB1c= X-Google-Smtp-Source: ABdhPJy8WCJypUVZV/CQFL1F+u5PVNwd3LhSh69h1xdG4Gi6mW1tINi4GKMBJckGDKV99q2kMiYs4VtNJV3kVjkWka0= X-Received: by 2002:a05:6402:1bdd:: with SMTP id ch29mr13563305edb.134.1595076236390; Sat, 18 Jul 2020 05:43:56 -0700 (PDT) MIME-Version: 1.0 References: <5F071CFC.9090306@anastigmatix.net> <5F072647.50301@anastigmatix.net> <5F0734AD.7060001@anastigmatix.net> <5F077926.2050806@anastigmatix.net> <5F07C2D5.5050904@anastigmatix.net> <5F0D35BA.30904@anastigmatix.net> <5F0E3972.5070609@anastigmatix.net> <5F0F2DA2.5090603@anastigmatix.net> In-Reply-To: <5F0F2DA2.5090603@anastigmatix.net> From: Kartik Ohri Date: Sat, 18 Jul 2020 18:13:45 +0530 Message-ID: Subject: Re: PL/Java new build plugin To: Chapman Flack Cc: pljava-dev@lists.postgresql.org Content-Type: multipart/alternative; boundary="00000000000075b64205aab6a08f" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --00000000000075b64205aab6a08f Content-Type: text/plain; charset="UTF-8" I probed the ant Script task code. It does nothing much with the classpaths. It just loads those in the classloader but how it does so is unclear. Ant has its own classpath utils and uses some from plexus. I also read this https://maven.apache.org/guides/mini/guide-maven-classloading.html. Overall, I think the need is to just load the classpaths in the classloader. The maven docs say this but are not very descriptive of the process. The docs do refer to Plexus Classworlds. I'll look into it. I'll try to see if I can view what are the classpaths antrun used in the earlier build process which may throw some light on what is missing in our classloader. Regards, Kartik. --00000000000075b64205aab6a08f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I probed the ant Script task code. It does nothing much wi= th the classpaths. It just loads those in the classloader but how it does s= o is unclear. Ant has its own classpath utils and uses some from plexus. I = also read this=C2=A0https://maven.apache.org/guides/mini/guide-maven-cl= assloading.html. Overall, I think the need is to just load the classpat= hs in the classloader. The maven docs say this but are not very descriptive= of the process. The docs do refer to Plexus Classworlds. I'll look int= o it. I'll try to see if I can view what are the classpaths antrun used= in the earlier build process which may throw some light on what is missing= in our classloader.
Regards,
Kartik.
--00000000000075b64205aab6a08f--