You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Jaroslav Tulach (JIRA)" <ji...@apache.org> on 2019/02/18 11:10:00 UTC

[jira] [Created] (NETBEANS-2132) Unsigned artifact when enabling Java support

Jaroslav Tulach created NETBEANS-2132:
-----------------------------------------

             Summary: Unsigned artifact when enabling Java support
                 Key: NETBEANS-2132
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2132
             Project: NetBeans
          Issue Type: Bug
          Components: platform - HTML4J
    Affects Versions: 11.0
            Reporter: Jaroslav Tulach
            Assignee: Laszlo Kishalmi


Running NetBeans 11 VC1 on JDK11 with an empty directory. Trying to create "Java with Maven/Java Frontend App" - I am asked to "download & activate" or just "activate". I select "download & activate".

Download works OK, but then I am presented with an ugly warning: _Enable unsigned components?_ That is scary, can we get rid of that?

As far as I know the NBMs are created during NetBeans build - {{nb/updatecenters/build.xml b/nb/updatecenters/build.xml}} - I just don't know how they should be signed.
{code:java}
  <target name="javafx-nbms" description="Prepare NBMs for 3rd party libraries" depends="init">
      <subant  target="nbm" inheritall="false">
          <property name="build.dir" location="build/3rdparty-nbms"/>
          <fileset dir="${nb_all}/extra" includes="libs.javafx.*/build.xml"/>
      </subant>
      <taskdef name="makeupdatedesc" classname="org.netbeans.nbbuild.MakeUpdateDesc"
               classpath="${nbantext.jar}"/>

      <property name="3rdparty.dir" location="build/classes/org/netbeans/modules/updatecenters/resources"/>
      <mkdir dir="${3rdparty.dir}"/>
      <makeupdatedesc desc="${3rdparty.dir}/3rdparty-catalog.xml" distbase="." uselicenseurl="true">
          <fileset dir="build/3rdparty-nbms">
              <include name="*.nbm"/>
          </fileset>
      </makeupdatedesc>
      <copy todir="${3rdparty.dir}">
          <fileset dir="build/3rdparty-nbms">
              <include name="*.nbm"/>
          </fileset>
      </copy>
  </target>{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists