On Thu, Sep 18, 2025 at 7:48 AM Blake McBride <[email protected]> wrote:

> On Thu, Sep 18, 2025 at 3:30 AM Michael Bien <[email protected]> wrote:
>
>> On 9/18/25 01:48, Blake McBride wrote:
>> > Greetings,
>> >
>> > NetBeans starts up just fine but when I try to open a project it
>> hangs.  The bottom of the screen says "Opening Project."  When I expand it
>> it says "Activating HTML5."  At that point it just hangs.  In fact, if I go
>> to File / Exit it doesn't exit.  I have to kill the process.
>> >
>> > The particulars:
>> >
>> > NetBeans 27
>> > Fedora Linux 42 / X11
>> > Java 21.0.8
>> > Good Internet connection
>> > Plenty of RAM and disk space
>> >
>> > The project I am trying to open is at Kiss <
>> https://github.com/blakemcbride/Kiss>
>> > Before I try to open it I build it (so the jars are downloaded).
>> (./bld build)
>> > I also remove pom.xml and build.gradle since it is not a Maven or
>> Gradle system.
>>
>> Well, that project is quite something ;). I see maven, ant, gradle and
>> bld configuration
>> files and various scripts in the root folder.
>>
>
>
> bld is the build system.  (Maven & Gradle can't build the system without
> all sorts of complex and convoluted configurations.  bld is off-the-charts
> simple and portable. The documentation makes this clear and gives a full
> explanation why.)
>
> ant is used as a bridge between bld and an IDE's ant integration.
>
> Maven is used to describe dependencies to GitHub.
>
> Gradle is an experiment.
>
> Maven and Gradle build files were removed before I started NetBeans.
>
> It is not expected nor necessary for NetBeans to know about bld.
>
> The scripts are ancillary utility scripts not normally used.
>
> --blake
> blakemcbride.com
>


I would also like to add that because of the way Kiss <https://kissweb.org>
uses *bld*, a developer can use the following two lines of code on Linux,
Mac, Windows, BSD, OpenIndiana, or Haiku to download, acquire the necessary
jars and server, build the system, and start a full running web application:

git clone https://github.com/blakemcbride/Kiss.git
./bld develop                  (Just "bld develop" on Windows)


After that, both frontend and backend development may occur without ever
having to bring the system down, rebuild, deploy, or boot the server
again.  Also, production systems can be updated without bringing the server
down or disrupting current users.  That's why Kiss uses *bld*.

--blake






>
>
>
>>
>> In situations with multiple project build configs you would have to pick
>> one before
>> opening it.  By default it would open it as gradle project i believe. To
>> change that you have
>> to take a look at the gradle options (tools -> options -> java -> gradle
>> -> maven)
>> and check "prefer maven over gradle projects" and you could open it as
>> maven project.
>>
>> Don't remove project configuration files while the project is already
>> open - close it first.
>>
>> If the maven/gradle project config is valid (and it builds via CLI) but
>> does not open
>> with NB, please file a bug with reproducer.
>>
>> NB doesn't have any support for bld projects.
>>
>> best regards,
>> michael
>>
>>
>> >
>> > It has been a long time since I tried to take a look at NetBeans.
>> >
>> > Thanks.
>> >
>> > Blake
>> >
>>
>>

Reply via email to