You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Jeremy Cavanagh <je...@protonmail.com.INVALID> on 2021/09/17 18:36:19 UTC

Failure to compile modules

Hi,

Although I have managed to get four modules to build the majority of 
those that have failed give the same error:

     error: package org.netbeans.junit does not exist

But I can find no evidence to support this.

Any ideas would as usual be greatly appreciated.

Kindest regards

Jeremy

Re: Failure to compile modules

Posted by Eric Bresie <eb...@gmail.com>.
Just a thought...

Are you trying to build from the command line or from Netbeans?

During some of the builds I've attempted in the past, it pulls down
external dependencies.  In some cases the connection to the source of the
dependencies is not always robust and fails at the time preventing pulling
some of the dependencies.

Sometimes trying a little later a clean connection occurs, the dependencies
are successfully pulled and things compiled at that point a little more
smoothly.

In some cases I've seen these sorts of issues within NB IDE which may
resolution at the time was to close out of Netbeans, compile from command
line and then reopen in Netbeans after which the index occurs and
eventually has the dependencies established.

Eric Bresie
ebresie@gmail.com


On Fri, Sep 17, 2021 at 2:09 PM Geertjan Wielenga
<ge...@googlemail.com.invalid> wrote:

> Can you tell me what to do in steps? I really have no clue at all.
>
> Fj
>
> On Fri, 17 Sep 2021 at 21:07, Jeremy Cavanagh <je...@orange.fr>
> wrote:
>
> > Hi Geertjan,
> >
> > Well it's somewhat unusual as you may know I mentioned that I found the
> > formatting of NetBeans to be very difficult to read, and that may well
> > be just my problem. However, I felt it was worth the effort because
> > there genuinely is no consistency in the current code. There are many
> > things that become obvious if you see my formatting. However, until I
> > can get it to build I don't want to release it to the wild.
> >
> > Also, I have been trying to handle some of the many warnings generated
> > by the static analyser using the hints. Which I have to say is quite
> > impressive, although, not altogether generous in explanation.
> >
> > So I have spent many hours over the last four months to do the
> > formatting and now I wish to make sure everything builds and passes the
> > tests.
> >
> > The error appears in virtually all of the failed builds and yet the
> > modules all have both JUnit 4 and NB Junit in the Unit/Functional test
> > libraries and I assume the appropriate classes in the import list.
> >
> > If you need a copy of a suitable build output I can provide one.
> >
> > Kindest regards
> >
> > Jeremy
> >
> > On 17/09/2021 20:42, Geertjan Wielenga wrote:
> > > Can you provide some context?
> > >
> > > Gj
> > >
> > > On Fri, Sep 17, 2021 at 8:41 PM Jeremy Cavanagh
> > > <je...@protonmail.com.invalid> wrote:
> > >
> > >> Hi,
> > >>
> > >> Although I have managed to get four modules to build the majority of
> > >> those that have failed give the same error:
> > >>
> > >>       error: package org.netbeans.junit does not exist
> > >>
> > >> But I can find no evidence to support this.
> > >>
> > >> Any ideas would as usual be greatly appreciated.
> > >>
> > >> Kindest regards
> > >>
> > >> Jeremy
> > >>
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> > For additional commands, e-mail: dev-help@netbeans.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
> >
> >
>

Re: Failure to compile modules

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
Can you tell me what to do in steps? I really have no clue at all.

Fj

On Fri, 17 Sep 2021 at 21:07, Jeremy Cavanagh <je...@orange.fr>
wrote:

> Hi Geertjan,
>
> Well it's somewhat unusual as you may know I mentioned that I found the
> formatting of NetBeans to be very difficult to read, and that may well
> be just my problem. However, I felt it was worth the effort because
> there genuinely is no consistency in the current code. There are many
> things that become obvious if you see my formatting. However, until I
> can get it to build I don't want to release it to the wild.
>
> Also, I have been trying to handle some of the many warnings generated
> by the static analyser using the hints. Which I have to say is quite
> impressive, although, not altogether generous in explanation.
>
> So I have spent many hours over the last four months to do the
> formatting and now I wish to make sure everything builds and passes the
> tests.
>
> The error appears in virtually all of the failed builds and yet the
> modules all have both JUnit 4 and NB Junit in the Unit/Functional test
> libraries and I assume the appropriate classes in the import list.
>
> If you need a copy of a suitable build output I can provide one.
>
> Kindest regards
>
> Jeremy
>
> On 17/09/2021 20:42, Geertjan Wielenga wrote:
> > Can you provide some context?
> >
> > Gj
> >
> > On Fri, Sep 17, 2021 at 8:41 PM Jeremy Cavanagh
> > <je...@protonmail.com.invalid> wrote:
> >
> >> Hi,
> >>
> >> Although I have managed to get four modules to build the majority of
> >> those that have failed give the same error:
> >>
> >>       error: package org.netbeans.junit does not exist
> >>
> >> But I can find no evidence to support this.
> >>
> >> Any ideas would as usual be greatly appreciated.
> >>
> >> Kindest regards
> >>
> >> Jeremy
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Re: Failure to compile modules

Posted by Jeremy Cavanagh <je...@orange.fr>.
Hi Geertjan,

Well it's somewhat unusual as you may know I mentioned that I found the 
formatting of NetBeans to be very difficult to read, and that may well 
be just my problem. However, I felt it was worth the effort because 
there genuinely is no consistency in the current code. There are many 
things that become obvious if you see my formatting. However, until I 
can get it to build I don't want to release it to the wild.

Also, I have been trying to handle some of the many warnings generated 
by the static analyser using the hints. Which I have to say is quite 
impressive, although, not altogether generous in explanation.

So I have spent many hours over the last four months to do the 
formatting and now I wish to make sure everything builds and passes the 
tests.

The error appears in virtually all of the failed builds and yet the 
modules all have both JUnit 4 and NB Junit in the Unit/Functional test 
libraries and I assume the appropriate classes in the import list.

If you need a copy of a suitable build output I can provide one.

Kindest regards

Jeremy

On 17/09/2021 20:42, Geertjan Wielenga wrote:
> Can you provide some context?
> 
> Gj
> 
> On Fri, Sep 17, 2021 at 8:41 PM Jeremy Cavanagh
> <je...@protonmail.com.invalid> wrote:
> 
>> Hi,
>>
>> Although I have managed to get four modules to build the majority of
>> those that have failed give the same error:
>>
>>       error: package org.netbeans.junit does not exist
>>
>> But I can find no evidence to support this.
>>
>> Any ideas would as usual be greatly appreciated.
>>
>> Kindest regards
>>
>> Jeremy
>>
> 

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

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




Re: Failure to compile modules

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
Can you provide some context?

Gj

On Fri, Sep 17, 2021 at 8:41 PM Jeremy Cavanagh
<je...@protonmail.com.invalid> wrote:

> Hi,
>
> Although I have managed to get four modules to build the majority of
> those that have failed give the same error:
>
>      error: package org.netbeans.junit does not exist
>
> But I can find no evidence to support this.
>
> Any ideas would as usual be greatly appreciated.
>
> Kindest regards
>
> Jeremy
>