generating a JAR from matlab

8 views (last 30 days)
ABDOU ABDOUL-DALIBOU
ABDOU ABDOUL-DALIBOU on 10 Apr 2019
ant:
<ant>
<mkdir dir="C:\MATLAB\test\makesqr\for_redistribution" />
<mkdir dir="C:\MATLAB\test\makesqr\for_testing" />
<mkdir dir="C:\MATLAB\test\makesqr\for_redistribution_files_only" />
</ant>
mcc -W 'java:makesqr,Class1' -T link:lib -d C:\MATLAB\test\makesqr\for_testing class{Class1:C:\MATLAB\test\makesqr.m}
[Warning: Adding path "C:\MATLAB\test" to Compiler path instance.]
Loading source files for package makesqr...
Constructing Javadoc information...
Creating destination directory: "C:\MATLAB\test\makesqr\for_testing\doc\html\"
Standard Doclet version 1.8.0_191
Building tree for all the packages and classes...
Generating C:\MATLAB\test\makesqr\for_testing\doc\html\makesqr\Class1.html...
C:\MATLAB\test\makesqr\for_testing\makesqr\Class1.java:108: warning: no @param for args
public static void main (String[] args)
^
C:\MATLAB\test\makesqr\for_testing\makesqr\Class1.java:58: warning: no @throws for com.mathworks.toolbox.javabuilder.MWException
public Class1() throws MWException
^
C:\MATLAB\test\makesqr\for_testing\makesqr\Class1.java:87: warning: no @throws for com.mathworks.toolbox.javabuilder.MWException
public Class1(MWComponentOptions componentOptions) throws MWException
^
C:\MATLAB\test\makesqr\for_testing\makesqr\Class1.java:76: warning: no @throws for com.mathworks.toolbox.javabuilder.MWException
public Class1(String pathToComponent) throws MWException
^
Generating C:\MATLAB\test\makesqr\for_testing\doc\html\makesqr\Class1Remote.html...
C:\MATLAB\test\makesqr\for_testing\makesqr\Class1Remote.java:57: error: reference not found
* @throws java.jmi.RemoteException An error has occurred during the function call or
^
C:\MATLAB\test\makesqr\for_testing\makesqr\Class1Remote.java:60: warning: no @throws for java.rmi.RemoteException
public Object[] makesqr(int nargout, Object... rhs) throws RemoteException;
^
C:\MATLAB\test\makesqr\for_testing\makesqr\Class1Remote.java:63: warning: no @throws for java.rmi.RemoteException
void dispose() throws RemoteException;
^
Generating C:\MATLAB\test\makesqr\for_testing\doc\html\makesqr\MakesqrMCRFactory.html...
Generating C:\MATLAB\test\makesqr\for_testing\doc\html\makesqr\package-frame.html...
Generating C:\MATLAB\test\makesqr\for_testing\doc\html\makesqr\package-summary.html...
C:\MATLAB\test\makesqr\for_testing\makesqr\package-info.java:8: warning: empty <p> tag
* <p>
^
C:\MATLAB\test\makesqr\for_testing\makesqr\package-info.java:15: error: unexpected end tag: </p>
* </p>
^
C:\MATLAB\test\makesqr\for_testing\makesqr\package-info.java:21: warning: empty <p> tag
* <p>
^
C:\MATLAB\test\makesqr\for_testing\makesqr\package-info.java:27: error: unexpected end tag: </p>
* </p>
^
Generating C:\MATLAB\test\makesqr\for_testing\doc\html\makesqr\package-tree.html...
Generating C:\MATLAB\test\makesqr\for_testing\doc\html\constant-values.html...
Building index for all the packages and classes...
Generating C:\MATLAB\test\makesqr\for_testing\doc\html\overview-tree.html...
Generating C:\MATLAB\test\makesqr\for_testing\doc\html\index-all.html...
Generating C:\MATLAB\test\makesqr\for_testing\doc\html\deprecated-list.html...
Building index for all classes...
Generating C:\MATLAB\test\makesqr\for_testing\doc\html\allclasses-frame.html...
Generating C:\MATLAB\test\makesqr\for_testing\doc\html\allclasses-noframe.html...
Generating C:\MATLAB\test\makesqr\for_testing\doc\html\index.html...
Generating C:\MATLAB\test\makesqr\for_testing\doc\html\help-doc.html...
3 errors
8 warnings
Error: An error occurred while shelling out to javadoc (error code = 1).
Unable to build executable (specify the -v option for more information).
Thans for helping me for this errors.

Answers (0)

Categories

Find more on Deployable Archive Creation in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!