Hi Neil,
If you are looking to build nb-javac nbms, please use project
make/langtools/netbeans/nb-javac-modules - Package as nbms.
nb-javac plugin on Update Center is self-signed zip file containing
these three signed nbms. (I understand this should not be self signed,
will work on this.)
Specific steps to build nb-javac plugin are in below mail from Jan.
Thanks,
Reema
On 5/16/2018 9:03 PM, Jan Lahoda wrote:
I am afraid the steps are a little bit complex. First, this needs a
patched harness (as plugin portal does not like
"OpenIDE-Module-Fragment-Host" in NBMs.
So the steps are mostly like this:
-apply the attached patch, rebuild netbeans
-update the Specification-Version in:
make/langtools/netbeans/nb-javac-modules/api/manifest.mf
make/langtools/netbeans/nb-javac-modules/impl/manifest.mf
make/langtools/netbeans/nb-javac-modules/kit/manifest.mf
And also update them in the dependencies:
make/langtools/netbeans/nb-javac-modules/impl/nbproject/project.xml
make/langtools/netbeans/nb-javac-modules/kit/nbproject/project.xml
-build as:
ant -Dnbplatform.default.netbeans.dest.dir=${path-to-built-nb}
-Dnbplatform.default.harness.dir=${path-to-built-nb}/harness clean
ant -Dnbplatform.default.netbeans.dest.dir=${path-to-built-nb}
-Dnbplatform.default.harness.dir=${path-to-built-nb}/harness build
ant -Dnbplatform.default.netbeans.dest.dir=${path-to-built-nb}
-Dnbplatform.default.harness.dir=${path-to-built-nb}/harness nbms
That should (I hope) produce viable NBMs in:
make/langtools/netbeans/nb-javac-modules/build/updates
Jan
On 8/20/2018 2:54 PM, Dusan Balek wrote:
Hi,
the current nb-javac sources can be found in the
https://urldefense.proofpoint.com/v2/url?u=http-3A__hg.netbeans.org_main_nb-2Djava-2Dx&d=DwICaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=I_-Y15BecdUmuYLJbvbi0hFUs7JgHZnV_jPFSP8DQF0&m=wRr3H3gAWa5VLWiQLRQJKmBucUyT0JghmJEM-qJudu4&s=TjWg4y6YH9ByyZP_8JAr8C1A2xIYlz6n0aZWeaNXkKU&e=
repository. To build nb-javac, use the NetBeans J2SE project located
in make/langtools/netbeans/nb-javac subdirectory.
As for the particular the revision currently used in NetBeans 9.0, it
is better to ask Reema Taneja <[email protected]> (my guess
would be revision d1788e48de9c).
Dusan
On 2018/08/08 12:31:14, Neil C Smith <[email protected]> wrote:
> Hi,>
>
> Not sure if I've missed some info somewhere, but is a source repo link>
> and relevant tag for the nb-javac that users are prompted to install>
> documented somewhere they (or I for that matter) can easily find? Is>
> it still at
https://urldefense.proofpoint.com/v2/url?u=http-3A__hg.netbeans.org_main_nb-2Djavac&d=DwICaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=I_-Y15BecdUmuYLJbvbi0hFUs7JgHZnV_jPFSP8DQF0&m=wRr3H3gAWa5VLWiQLRQJKmBucUyT0JghmJEM-qJudu4&s=XfTrE-JF3jYeVyzdmh95UgRVxW6omz2w5Ti0wsOuDgA&e=
? What revision />
> branch? Specifically I'm personally looking at updating my IDE>
> project to use NetBeans 9.0 but want to ship with nb-javac>
> pre-included.>
>
> Also, what are the barriers to having nb-javac signed in such a way>
> that it doesn't provoke a self-signed warning for NetBeans end users?>
>
> Thanks and best wishes,>
>
> Neil>
>
> --------------------------------------------------------------------->
> To unsubscribe, e-mail: [email protected]>
> For additional commands, e-mail:
[email protected]>
>
> For further information about the NetBeans mailing lists, visit:>
>
https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_NETBEANS_Mailing-2Blists&d=DwICaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=I_-Y15BecdUmuYLJbvbi0hFUs7JgHZnV_jPFSP8DQF0&m=wRr3H3gAWa5VLWiQLRQJKmBucUyT0JghmJEM-qJudu4&s=7RZjD1XEk-D-nFk3xHfW6D9R9wtMFPz8y0vEF-7UsWs&e=>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_NETBEANS_Mailing-2Blists&d=DwICaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=I_-Y15BecdUmuYLJbvbi0hFUs7JgHZnV_jPFSP8DQF0&m=wRr3H3gAWa5VLWiQLRQJKmBucUyT0JghmJEM-qJudu4&s=7RZjD1XEk-D-nFk3xHfW6D9R9wtMFPz8y0vEF-7UsWs&e=
diff --git a/nbbuild/antsrc/org/netbeans/nbbuild/MakeNBM.java
b/nbbuild/antsrc/org/netbeans/nbbuild/MakeNBM.java
index ad0ae3b..10aa5db 100644
--- a/nbbuild/antsrc/org/netbeans/nbbuild/MakeNBM.java
+++ b/nbbuild/antsrc/org/netbeans/nbbuild/MakeNBM.java
@@ -1003,7 +1003,7 @@ public class MakeNBM extends Task {
Collections.sort(attrNames);
for(String name: attrNames) {
if
(name.matches("OpenIDE-Module(|-(Name|(Specification|Implementation)-Version|(Module|Package|Java|IDE)-Dependencies|"
+
-
"(Short|Long)-Description|Display-Category|Provides|Requires|Recommends|Needs|Fragment-Host))|AutoUpdate-(Show-In-Client|Essential-Module)"))
{
+
"(Short|Long)-Description|Display-Category|Provides|Requires|Recommends|Needs))|AutoUpdate-(Show-In-Client|Essential-Module)"))
{
el.setAttribute(name, attr.getValue(name));
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists