mcc java compiler - MCRFactory.class missing dependencies
显示 更早的评论
Hi -
I am trying to compile an updated .m script into a jar file to run in our BPEL environment using the following command:
mcc -v -nocache -W java:$package,$class $source.m
[instructions on how to do this was left by a previous employee. Seems to be missing a path/command or config file edit ??]
The jar file that mcc generates is much smaller today than previously and fails in our environment.
MatlabService.info.full: Executing constructor public ovloaderklanl.OVLOADERKLANL() throws com.mathworks.toolbox.javabuilder.MWException
We even recompiled the old code to compare.
When I look inside the compiled jar, I find the MCRFactory.class is the difference. The class seems to be missing links to all of the toolbox components. (example: $TOOLBOXMATLABDIR/general/)
mccexlcudedfiles.log is empty (minus the header of course)
Do we need to include the more components in the $class statement?
Or is it possible that the license which we have does not allow us to bundle the components into the MCRFactory.class?
Thanks!
-Rick
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Java Package Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!