Hi Michael,
thanks a lot for looking into my project and your help and sorry for the
"Schnitzeljagt" -
the status of this project is really experimental:-(
You have brought me back to right way. I have to look carefully to the
transitive dependencies and to add those.
L.34 fixed:-)
osgi was not a probem:-)
I could fix the problem and start the weekend now. Thanks again.
best
Oliver
Am 08.11.25 um 02:09 schrieb Michael Bien:
Hi,
trying to build the project was a fun Schnitzeljagd due to so many snapshot
dependencies ;)
I think I found most repos, but started to remove dependencies at some point -
so I didn't
fully build it.
Some projects did also need the jogamp remote
<repository>
<id>jogamp</id>
<name>Jogamp Repository</name>
<url>https://jogamp.org/deployment/maven</url>
</repository>
netbeans-ocga/nbactions-netbeans-ide.xml has a xml syntax error due to missing
! in L34
finally regarding the error: I got a different error but it is essentially the
same idea:
"Private classes referenced in module: [com.google.common.collect.Lists,
com.google.common.collect.ArrayListMultimap]"
adding the the dependency resolved it.
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>33.4.6-jre</version>
</dependency>
i suppose in your case that would be
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.9</version>
</dependency>
you can add those via right click -> "declare as direct dependency" if you find
them in the Dependencies list.
i suspect the reason those have to be added is because the osgi dep resolution
is disabled
<useOSGiDependencies>false</useOSGiDependencies>
probably because of a different issue.
best regards,
michael
On 11/7/25 22:37, Oliver Rettig wrote:
Hi,
after upgrade netbeans ide to V27 and JDK24 my plugin
https://github.com/orat/netbeans-ocga
does not build any more. I got the following error:
[INFO] Private classes referenced in module:
[com.google.gson.JsonSyntaxException, com.google.gson.Gson,
com.google.gson.GsonBuilder, com.google.gson.JsonParser,
com.google.gson.JsonElement, com.google.gson.reflect.TypeToken]
[ERROR] Project depends on packages not accessible at runtime in module
org.netbeans.api:org-netbeans-modules-textmate-lexer:jar:RELEASE270
Remove and re-adding of the dependency to textmate lib does not help. I got
similar problems with usage of lsp-client.
Maybe something has changed in the context of java modules visiblity of classes.
Any ideas?
best regards
Oliver
p.s. the project is part of a new language
(https://github.com/MobMonRob/DSL4GeometricAlgebra) implemented with
Truffle/Graal to work with geometric algebra - and we are working on
full-netbeans-support.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists