Problems with Osgi plugins in Domino Designer after 9.01. FP4 - osgi

We have our own OSGI plugin with a set of custom code and some java libraries that we use cross projects. It is installed on servers via an update site and imported on developers Domino Designer.
It is working fine up to FP4, but in Domino Designer it is not added to bundles after FP4. For servers and Notes clients it works fine up to FP6 for which we have tested so far.
Tested now with FP7 on my Domino Designer, and the plugin installs fine both via update site and via manual import. However each time I open a database using this library I get build errors. It solves by going to the code, on the error select correct project configuration and adding our plugin to the required bundles. When I close the database and open again, I have to do the same process and we have the same problem with all databases using this plugin.
I have tested starting Notes with the osgi console, but all reports as it is installed normal there.
When viewing in package explorer before fixing the bundle I can see that the plugin is missing from Plugin dependecies and gets added there when doing the fix.
I just installed a fresh Domino Designer for a new user now and upgraded him directly to FP7. He got exactly the same problem. Downgrading him to FP4 solves the problem.
Anyone having the same problem or have ideas to how it can be solved?

Related

CSW extension for geoserver version 2.19.2

We have upgraded our geoserver application to version 2.19.2. Also followed the instructions for installing Catalog Services for Web (CSW). I can see that the CSW is listed as one of the Services but not listed in the Modules tab (as it is supposed to?):
I have enabled CSW and direct download:
Then I followed the instruction for Direct Download. But in the layers page, under Publishing tab, I don’t see DirectDownload Settings section.
Also to make sure our customized geoserver didn’t impose any conflict or issue, I have downloaded the geoserver web archive version 2.19.2 and added the csw plugin jar files into the WEB-INF/lib. I see the same behavior (Missing CSW from Modules and missing direct download settings from the layers publishing tab)
I would be appreciated if anyone can help me understand and fix this issue.
That means I missed that class when I was updating the module listing code. So your module (and any others that are missing, mostly community modules) will continue to work as expected.
Please submit an issue at https://osgeo-org.atlassian.net/jira/software/c/projects/GEOS/issues and we'll make sure it gets fixed the next time we look at that code.

Eclipse Marketplace: Spring Tool Suite not showing up?

I'm learning Spring Boot using a Udemy tutorial, which skips how to install Spring tools to our IDE, so I've been Googling how to do it myself.
There appears to be 2 options: (1) download the Spring Tool Suite 4, which comes with a new version of Eclipse and the Spring tools preinstalled, or, (2) add Spring Tool Suite to my existing Eclipse via searching the Marketplace.
I want to add it to my existing Eclipse Jee Oxygen IDE, as I have other langs and tools installed on it and I want to keep it all in the one place.
I've tried searching for it via the Marketplace wizard in Eclipse, but it doesn't appear.
I've also tried the "Drag & Drop" method using Eclipse.com's marketplace subdomain, and it just opens a new Marketplace wizard without any search parameters.
Does anyone know what could be wrong? Is there another way I can add the tools to my existing Eclipse?
Oxygen is the 2018 release, and is not one of the supported versions for that Marketplace entry.
2020-12 (4.18), 2020-09 (4.17), and 2020-06 (4.16) are what it lists, which is why it comes up empty when the wizard tries to load it---there's no compatible version of STS4 listed for Oxygen.
Get the current version, 2020-12, or try to update your existing install using the Update Site https://download.eclipse.org/releases/latest, then try it again.

unable to create dynamic web project in spring tool suite 4.2.1

Previously I used to create dynamic web project on eclipse but I want to make project on spring tool suite i.e 4.2.1 & I've never used it before, so does anybody knows how to create a dynamic web project in Spring Tool Suite 4.2.1 or a reference to where I can get, as I've been trying to create one since 4 hours. Please help me.
Referring to this thread
To solve this on STS 4.x.x
Click on Help.
Go to Install New Software.
Select the main Eclipse update site for 2019-09 ( if not added, you must click o add button and paste this URL:http://download.eclipse.org/releases/2019-09/ on both fields).
search for m2e-wtp which will be in the last. There are four extensions showing up and you should install the ones you prefer.
Restart your IDE
see https://github.com/spring-projects/sts4/issues/96#issuecomment-484522744 on martinlippert comment..
I've added link of latest current version.
Hope this helps..
The Spring Tools 4.2.1 for Eclipse distribution didn't contain the necessary features and extensions to create dynamic web projects. This got added for later Spring Tools 4 versions. So the easiest solution would be to install a fresh distribution of the latest Spring Tools 4.3.2 for Eclipse and go from there.
As an alternative, you could also install the missing pieces into an existing Spring Tools 4 for Eclipse installation via Install New Software, then selecting the main Eclipse repository from the dropdown list, waiting for the list of features to appear, and selecting the features you are missing.

OSGI plugin development with Domino Designer 10

Up to date I was using IBM Domino Designer V9.0.1 FP8 to develop an OSGI plugin. With this version everything was working as intended. I've created a plugin project, a feature project and an update site project. Selecting "Build all" in the update site project created all the the corresponding jar files.
Today I've installed IBM (HCL) Domino Desinger V10 FP2 (fresh install i.e. I've deinstalled V9.0.1 and deleted the old "workspace" directory in NotesData, but I kept the NotesData itself).
Now if I open my plugin projects, I can edit the plugin, save the Java classes without any errors. Up to this point everything is working as usual. But now, if I use "Build all" in the update site project I see a screen with "generating ant script" and then the build process is finished, but no jar files are generated.
Any ideas why this is happening? Am I missing some files? Am I missing some configurations?
BTW: if I use standard eclipse to build the plugin all jar files are generated.
Domino Designer is a customised version of Eclipse. 9.0.1 FP9 and lower is a very old version of Eclipse, 9.0.1 FP10+ is a much newer version, so not comparable to what was happening before. It's possible there are differences in the customisation of Eclipse that are affecting it. But every Domino OSGi plugin developer I'm aware of uses standard Eclipse.
Follow the steps for setting up your environment here https://github.com/OpenNTF/XPagesExtensionLibrary/wiki/Development-Environment. In the documentation there I've tried to document why steps are done and what they achieve, as well as just the steps themselves. The intention is to pass on understanding to a broader set of developers, for future proofing.

Re-install custom feature in Idnetity Server 4.1.0 not working

I am working on a custom feature and did install it the Identity Server. After some fixes I wanted to re-install the feature, so what I did was 1) uninstall the feature, 2) restart server (graceful) 3) install the feature. The repository points to my local p2-repos which is generated in the build of maven.
The Identity Server does NOT accept the new feature. It is NOT showing any error in the console, neither in the web-admin. But when I test the feature I can see in the console and my debug outputs that the install-manager did not renew the jars.
My workaround now is to delete the whole server and do the install-process each time I want to try my code.
Can anyone confirm this bug?
If your feature is correctly installed, you can see your new jars in /repository/components/plugins directory. If not, Please copy all OSGI (jar files) in your feature in to /repository/components/dropins directory and restart the server. Also. you can use OSGI console to check whether bundles are properly activated.
Just start server with --DosgiConsole option. then you would promote a OSGI console. you can check whether new bundles are active or not.

Resources