Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to build Netbeans from within Netbeans #7872

Open
wumpz opened this issue Oct 14, 2024 · 5 comments
Open

unable to build Netbeans from within Netbeans #7872

wumpz opened this issue Oct 14, 2024 · 5 comments
Labels
Ant [ci] enable "build tools" tests build kind:bug Bug report or fix needs:triage Requires attention from one of the committers

Comments

@wumpz
Copy link
Contributor

wumpz commented Oct 14, 2024

Apache NetBeans version

Apache NetBeans 23

What happened

I cloned the Netbeans repository and started from within Netbeans ant build.

Then the build stops at

<javaresource name="com/sun/jdi/AbsentInformationException.class"/>

this line with the message, that com/sun/jdi/AbsentInformationException.class was not found.

I tested this using JDK 17, JDK 21 but with Netbeans internal Ant. So far I did not use a separate Ant installation.

How can I tackle this problem? How to find my missconfiguration?

Language / Project Type / NetBeans Component

Netbeans itself

How to reproduce

  1. I cloned the Netbeans repository
  2. right click on build.xml and ant build.

Did this work correctly in an earlier version?

No / Don't know

Operating System

Windows 11

JDK

17, 21

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

This happens every time.

Are you willing to submit a pull request?

No

@wumpz wumpz added kind:bug Bug report or fix needs:triage Requires attention from one of the committers labels Oct 14, 2024
@mbien mbien added the build label Oct 14, 2024
@mbien
Copy link
Member

mbien commented Oct 14, 2024

yeah the (full) build has some issues when started from within NB (the jpda module specifically too). The build instructions are in the readme.
Short version is that you build it once in the console, then you open the modules you are interested in and edit/launch/debug/rebuild from there.

@mbien mbien added the Ant [ci] enable "build tools" tests label Oct 15, 2024
@wumpz
Copy link
Contributor Author

wumpz commented Oct 15, 2024

So maybe at least the readme.md should reflect that ...

@mbien
Copy link
Member

mbien commented Oct 15, 2024

it does. If you follow the readme NB will build. The tip how to work with modules in NB is there too in the notes section.

@wumpz
Copy link
Contributor Author

wumpz commented Oct 16, 2024

So then its my missunderstanding. Thx for the help.

@wumpz wumpz closed this as completed Oct 16, 2024
@mbien
Copy link
Member

mbien commented Oct 16, 2024

the issue itself is still valid. I think we should keep it open in case someone would like to fix this.

@mbien mbien reopened this Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ant [ci] enable "build tools" tests build kind:bug Bug report or fix needs:triage Requires attention from one of the committers
Projects
None yet
Development

No branches or pull requests

2 participants