[Libreoffice-bugs] [Bug 121682] Command Shell Java -jar ...doesn't execute (on Linux)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Nov 24 15:02:13 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=121682

Julien Nabet <serval2412 at yahoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |serval2412 at yahoo.fr

--- Comment #2 from Julien Nabet <serval2412 at yahoo.fr> ---
On pc Debian x86-64 with master sources updated yesterday, I gave it a try.

I noticed that if I install the extension for all users, it doesn't work but if
I choose "only for me", I don't reproduce the problem.

In macros contained in the oxt, I noticed this block:
Function getUrl()
   oPSM = GetProcessServiceManager().DefaultContext()
   oFac =
oPSM.getValueByName("/singletons/com.sun.star.deployment.thePackageManagerFactory")
   oMan = oFac.getPackageManager("user")
   oExt() = oMan.getDeployedPackages(null, null)

  For i = LBound(oExt) to UBound(oExt)
      if oExt(i).getDisplayName() = "PlantUML in LibreOffice" then

                Part2= right(oExt(i).URL, len(oExt(i).URL)-57)
                oPathSub = CreateUnoService(
"com.sun.star.util.PathSubstitution" )

                Part1= oPathSub.getSubstituteVariableValue("user") 
                CompleteUrl=  Part1 & "/uno_packages/cache/uno_packages" &
Part2
                getUrl = CompleteUrl

      endif
   Next i
End Function

when using, install for all, we don't enter the "For" loop.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181124/f51e59e1/attachment.html>


More information about the Libreoffice-bugs mailing list