Skip to content
  • Categories
Collapse
Solibri Society Forum
  1. Home
  2. General Discussion
  3. Deleted custom rules when updating to Solibri 9.12.8.33

Deleted custom rules when updating to Solibri 9.12.8.33

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 587 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    ThangLV9
    wrote on last edited by
    #1

    Hello @Solibrians,

    Our customers had an issue where all of our custom rules (inside lib folder) are deleted after updating to Solibri 9.12.8.33.

    Is it an intended installer behavior from now on, and we have to deploy our custom rules again after every update, or is it just in Solibri 9.12.8.33’s installer?

    Thanks and Best Regards,
    ThangLV9

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lasse.lindqvist
      wrote on last edited by
      #2

      Hi. The (un)installation does blindly remove old JARs from the lib folder. This is to prevent issues where earlier versions had JARs we no longer want to provide.

      There is no easy way to make it know which JARs are API resources and should be left.

      One workaround is to keep the JARs in

      C:\Users\user.name\API
      

      folder where they are also loaded from. This direcetory is not deleted in installation process.

      T 1 Reply Last reply
      0
      • T Offline
        T Offline
        ThangLV9
        replied to lasse.lindqvist on last edited by ThangLV9
        #3

        Hello @lasse-lindqvist,

        About the uninstallation process, doesn’t the installer keep a list of extracted file to remove in uninstallation process? So I think those that are other than these files are considered API resources.

        About the path you gave, I’ve checked this path C:\Users\Public\Solibri\SOLIBRI\API and it seems to work as intended, though we will have to make some tests.

        But when using Custom Views with resource bundles, it does not load the resource correctly.

        You can recreate the issue using view-template project and remove getName method of ExampleView.java to make it load from resource bundles.
        Sample code: view-template.zip

        When loaded in lib folder, it loads from resource bundle:
        5d8719ca-a4ca-4e67-89b6-8cde80509d45-image.png

        When loaded in API folder, it defaults to view’s unique id, bypassing the resource bundle.
        f2ef552d-d7b3-4174-9ed0-0a99470e15f8-image.png

        1 Reply Last reply
        0
        • L Offline
          L Offline
          lasse.lindqvist
          wrote on last edited by
          #4

          C:\Users\user.name\API
          is different from
          C:\Users\Public\Solibri\SOLIBRI\API

          not sure that makes the difference there.

          I am not sure we want to change how deleting JARs from the lib folder works really. It is anyway an admin-restricted path in most systems, so it is not the usual way for users to add API resources, even though it works.

          1 Reply Last reply
          0

          Copyright © 2025 Solibri Inc. | Powered by NodeBB

          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories