mcc java compiler - MCRFactory.class missing dependencies
Afficher commentaires plus anciens
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
Réponses (0)
Catégories
En savoir plus sur Java Package Integration dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!