file Export UML as Excel

5 months 2 weeks ago #5805 by joset
Hi,

I need to export the UML (classes+attributes) content to Excel.

Is the a way to load POI.JAR ? Or any other means ?

Thank you for helping, José Torres

Please Log in or Create an account to join the conversation.

4 months 3 weeks ago #5820 by ebr
Hi Joset,

You can develop a modeule (in Java) or a script (in Jython) to do so.
What will be your format?

Best Regards,
EBR

Please Log in or Create an account to join the conversation.

1 month 1 week ago #5918 by joset
Hi ok but how to locally deploy POI and next import it into jython ?

thx

Please Log in or Create an account to join the conversation.

3 weeks 1 day ago - 3 weeks 1 day ago #5928 by ebr
Hi,

I used the following code to be able to use some external jar in my jython code.
import sys

# add the jar to your path
sys.path.append("C:\\Project\\support\\test.jar") 


# add the jar to the ClassLoader
from java.net import URL, URLClassLoader
from java.lang import ClassLoader
from java.io import File

m = URLClassLoader.getDeclaredMethod("addURL", [URL])
m.accessible = 1
m.invoke(ClassLoader.getSystemClassLoader(), [File("C:\\Project\\support\\test.jar").toURL()])


# usage
from foo import HelloWorld
h = HelloWorld()
print h.hello("test")

Hoping it helps,
EBR

Please Log in or Create an account to join the conversation.

Moderators: andy
Time to create page: 0.038 seconds
^ Back to Top