Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Deploying xml files in jar files doesn't work #2

Open
haesleinhuepf opened this issue Apr 30, 2020 · 1 comment
Open

Deploying xml files in jar files doesn't work #2

haesleinhuepf opened this issue Apr 30, 2020 · 1 comment

Comments

@haesleinhuepf
Copy link

Hi @Stephane-D ,

thanks again for your hint on image.sc regarding how to ship Icy toolbars to end users.

It works as you suggested. However, I observed: when I upload my jar-file to the Icy server to deploy it to users, the xml file is filtered out of the jar file. Can you check? Is this intentional?

I packed my xml file here in the jar. When I unpack the jar file installed via Icy, it's no longer in the jar. I have a workaround for now. So no hurry.

Thanks!

Cheers,
Robert

@Stephane-D
Copy link
Contributor

Hey @haesleinhuepf

I just had a look into your JAR file (both directly downloaded from the website then installed in Icy) and i can see the clij2.xml file in the root folder of unpacked JAR:

image

So it should be possible to use it as soon you properly reference it :)

Note that you have 2 plugins now as it looks like you changed the class name :
image

If the old one is deprecated maybe you can remove it when installing the new version (using PluginInstaller utility class) :)

By the way i saw you embed lot of stuff into your JAR file. Jama and Javassist libraries are already present in Icy but maybe your version are different from the ones we have. Also you embed lot of stuff about ImageJ (ImageJ is already present in Icy by the way), Fiji, ImageJ2... i wonder how much is needed to get things working correctly in Icy. But i guess you did that for safety and be sure everything will work :)
Well done for you awesome and impressive work by the way 👍
I didn't used it much yet but it seems quite powerful !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants