netbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Bresie <ebre...@gmail.com>
Subject Re: Build Dependency on KeyStore
Date Wed, 16 Jun 2021 16:34:40 GMT
Okay...I tried building the nbm locally and continually get requests for
keystore passwords.   Entering it manually (either made up or empty), it
eventually gets through the build locally.  I assume something similar is
happening here during the auto build (i.e. waiting for a manually entered
keystore password).

How does that work for setting the keystore passwords when building on
github?  Does something need to be added to the python build scripts (maybe
a ${storepass} type variable?

Eric Bresie
ebresie@gmail.com


On Sat, Jun 12, 2021 at 4:47 PM Eric Bresie <ebresie@gmail.com> wrote:

> I do find something about keystone here but not sure how that fits in with
> GitHub builds
>
> https://netbeans.apache.org/wiki/DevFaqSignNbm.asciidoc
>
>
>
> On Sat, Jun 12, 2021 at 2:18 PM Eric Bresie <ebresie@gmail.com> wrote:
>
>> After checking stuff in to a working branch, I get the following error on
>> "Check javadoc build" in common.xml line 432
>>
>> 2021-06-12T18:52:11.9490427Z BUILD FAILED
>> 2021-06-12T18:52:11.9491411Z
>> /home/runner/work/netbeans/netbeans/nbbuild/build.xml:315: The following
>> error occurred while executing this line:
>> 2021-06-12T18:52:11.9492596Z
>> /home/runner/work/netbeans/netbeans/nbbuild/templates/common.xml:432:
>> java.lang.NullPointerException
>> 2021-06-12T18:52:11.9494213Z at
>> org.apache.tools.ant.input.SecureInputHandler.handleInput(SecureInputHandler.java:45)
>> 2021-06-12T18:52:11.9495855Z at
>> org.apache.tools.ant.taskdefs.Input.execute(Input.java:233)
>> 2021-06-12T18:52:11.9497164Z at
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
>> 2021-06-12T18:52:11.9498503Z at
>> sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>> 2021-06-12T18:52:11.9500102Z at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> 2021-06-12T18:52:11.9501503Z at
>> java.lang.reflect.Method.invoke(Method.java:498)
>> 2021-06-12T18:52:11.9502770Z at
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
>> 2021-06-12T18:52:11.9504030Z at
>> org.apache.tools.ant.Task.perform(Task.java:350)
>> 2021-06-12T18:52:11.9505123Z at
>> org.apache.tools.ant.Target.execute(Target.java:449)
>> 2021-06-12T18:52:11.9506174Z at
>> org.apache.tools.ant.Target.performTasks(Target.java:470)
>> 2021-06-12T18:52:11.9507475Z at
>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388)
>> 2021-06-12T18:52:11.9509389Z at
>> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:36)
>> 2021-06-12T18:52:11.9511195Z at
>> org.apache.tools.ant.Project.executeTargets(Project.java:1251)
>> 2021-06-12T18:52:11.9512366Z at
>> org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:437)
>> 2021-06-12T18:52:11.9513744Z at
>> org.netbeans.nbbuild.SubAntJUnitReport.execute(SubAntJUnitReport.java:122)
>> 2021-06-12T18:52:11.9515224Z at
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
>> 2021-06-12T18:52:11.9516547Z at
>> sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>> 2021-06-12T18:52:11.9518149Z at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> 2021-06-12T18:52:11.9519566Z at
>> java.lang.reflect.Method.invoke(Method.java:498)
>> 2021-06-12T18:52:11.9520808Z at
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
>> 2021-06-12T18:52:11.9523009Z at
>> org.apache.tools.ant.Task.perform(Task.java:350)
>> 2021-06-12T18:52:11.9523934Z at
>> org.apache.tools.ant.Target.execute(Target.java:449)
>> 2021-06-12T18:52:11.9524969Z at
>> org.apache.tools.ant.Target.performTasks(Target.java:470)
>> 2021-06-12T18:52:11.9526280Z at
>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388)
>> 2021-06-12T18:52:11.9527647Z at
>> org.apache.tools.ant.Project.executeTarget(Project.java:1361)
>> 2021-06-12T18:52:11.9529263Z at
>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>> 2021-06-12T18:52:11.9530905Z at
>> org.apache.tools.ant.Project.executeTargets(Project.java:1251)
>> 2021-06-12T18:52:11.9531996Z at
>> org.apache.tools.ant.Main.runBuild(Main.java:834)
>> 2021-06-12T18:52:11.9532877Z at
>> org.apache.tools.ant.Main.startAnt(Main.java:223)
>> 2021-06-12T18:52:11.9533900Z at
>> org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
>> 2021-06-12T18:52:11.9535091Z at
>> org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
>> 2021-06-12T18:52:11.9535716Z
>>
>> Which if I read common.xml file correct errors on here
>>
>> <target name="-nbm-prompt-for-storepass" if="keystore" unless="storepass">
>>         <input addproperty="storepass" message="Enter password for
>> ${keystore}:">
>>             <handler type="secure"/>
>>         </input>
>>     </target>
>>
>> Specifically the "Enter password for ${keystore}:"> line.  Assume
>> keystore is not set in someway and causing problems.
>>
>> Is there some specific setup needed for this to work in an automated
>> build on github?
>>
>>
>> Eric Bresie
>> ebresie@gmail.com
>>
> --
> Eric Bresie
> ebresie@gmail.com
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message