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 1k8Mpg-0002CC-Db for pljava-dev@arkaria.postgresql.org; Wed, 19 Aug 2020 12:04:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1k8Mpf-0006ze-7y for pljava-dev@arkaria.postgresql.org; Wed, 19 Aug 2020 12:04:43 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k8Mpe-0006zX-H9 for pljava-dev@lists.postgresql.org; Wed, 19 Aug 2020 12:04:42 +0000 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1k8Mpb-000500-GS for pljava-dev@lists.postgresql.org; Wed, 19 Aug 2020 12:04:40 +0000 Received: by mail-ed1-x531.google.com with SMTP id df16so17883449edb.9 for ; Wed, 19 Aug 2020 05:04:39 -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=uixTgoMgiZ0+oupUj5WMeD2nHVtXS0KFLPLkP01BndA=; b=qIK06JGSUndBx5vl3lGYs6dRReYH6Yn48a5cfATt54yAE9IILaHDX9wESRwwNPxmId aPzLTCIlYkb8eyCXaKNm4Lex0+celADXnK006XKurFi1N9F3payBRvLv+FGg908hw4tl bsUZMJu8s3ZJa9ElshRXgiBtuH3O/UlFS2qMZykRyalldv282EYCYbuCCTpwpAYF0yp+ fh4xpfyL0UQZ8tXHPLPRV5LgNzAUAF5l2IV8ZkmQ9nf/O5gUTEr2ayd3lJo/MN2zl6V4 p/FibMnHlx6YdiYtfVuskDYCb/MvZ4wUd3Hya8/aY+QsxZhkSwiiQUVQp5TGhh9OFH1a 8xqQ== 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=uixTgoMgiZ0+oupUj5WMeD2nHVtXS0KFLPLkP01BndA=; b=BvfUQd6JGj2626T0bsRNBJsJAGDKJsXJ2zUBN1a879lmr19/oMUBF9bDJuDNr30vLq oQXShDv304n9wt7zBBuW+tjuDyUT4sob/z9RxUpzX01aMjj8oNGQDGipMqBtkghQ0Oa4 b7VH7fie26owBFnsoHO+KY4G84OTm1PWDikJ028h2G8ulTZBVUV72ZCCxpafvhhi00PP 65+xi0ujuQk4+h6biUxs1tG7YCMfAV5+pXfTl1glEw2WohFBhQnBI1lyJVtAc0e/OPAp jMDBgKXOK4sIbCTdkmFqTMO2GSyohCm+D+dd1pC8NasD+YI+l0lFI5wh9X1ukidB5S1q Df5Q== X-Gm-Message-State: AOAM530KZN2EL/mZSEOdEWHrK7cAJSLF0pzFzk/oRohHeRw01rvWmtGQ nhaB85QpmoRsT2nXPPC+yRTYncxpkZALHlVMDtWSTnxqL5/eYQ== X-Google-Smtp-Source: ABdhPJyAzmv7APi2mD9ezgvOcxUEyNpiDNve0MLEuTR5DwuQvjVlBcqAohUjVUJsyNzgC2Td/5KCRA9tUtMFzV1iPnU= X-Received: by 2002:aa7:d5d0:: with SMTP id d16mr23646911eds.212.1597838676837; Wed, 19 Aug 2020 05:04:36 -0700 (PDT) MIME-Version: 1.0 References: <5F278CCE.1090006@anastigmatix.net> <5F2897AF.9040909@anastigmatix.net> <5F2A29E4.2000803@anastigmatix.net> <5F2EB313.8090706@anastigmatix.net> <5F2EC4F4.3080608@anastigmatix.net> <5F31EFEC.1080609@anastigmatix.net> <5F368380.9070203@anastigmatix.net> <5F368A99.6070709@anastigmatix.net> <5F36965C.60707@anastigmatix.net> <5F3A7DC6.8090905@anastigmatix.net> In-Reply-To: From: Kartik Ohri Date: Wed, 19 Aug 2020 17:34:23 +0530 Message-ID: Subject: Re: the ReportScriptingMojo To: Chapman Flack Cc: pljava-dev@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000bdcc3e05ad39ce36" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000bdcc3e05ad39ce36 Content-Type: text/plain; charset="UTF-8" Hi! I saw the PR has been merged. I have accordingly updated my working branches. I am working on getting the PGXS to build pljava-so on linux first and will then port to use the dispatcher javascript object as you recommended. The changes can be seen at https://github.com/amCap1712/pljava/commit/c970e5dfd0df7d36bf5840ce01c1c065b02917ed . The only thing left here is building the jar. I am unable to figure out how that is being done. I see that maven-jar-plugin is being invoked from the debug logs (probably by nar maven plugin) but the source is not very helpful on seeing how to do that and what files to put in the jar. I looked in the jar to see the contents and was even more surprised to see that it only contains pom.xml, pom.properties, nar.properties and the manifest only. There are no real files there. However, in the same directory as the jar there are two nar files. One with the pljava-so shared lib and other with the header files. Can you explain how to approach the jar building steps and how do we want to implement it (jar + nars) or a single jar? Regards, Kartik --000000000000bdcc3e05ad39ce36 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi!
I saw the PR has been merged. I have accordingly= =C2=A0updated my working branches. I am working=C2=A0on getting the PGXS to= build pljava-so on linux first and will then port to use the dispatcher=C2= =A0javascript object as you recommended. The changes can be seen at=C2=A0https://github.com/amCap1712/pljava/commit/c970e5dfd0df7= d36bf5840ce01c1c065b02917ed.=C2=A0

The only th= ing left here is building the jar. I am unable to figure out how that is be= ing done. I see that maven-jar-plugin is being invoked from the debug logs = (probably by nar maven plugin) but the source is not very helpful on seeing= how to do that and what files to put in the jar. I looked in the jar to se= e the contents and was even more surprised to see that it only contains pom= .xml, pom.properties, nar.properties and the manifest only. There are no re= al files there. However, in the same directory as the jar there are two nar= files. One with the pljava-so shared lib and other with the header=C2=A0fi= les.

Can you explain how to approach the=C2=A0jar buildin= g steps and how do we want to implement it (jar + nars) or a single jar?

Regards,
Kartik
--000000000000bdcc3e05ad39ce36--