MATLAB Answers

Generate command-line command from library compiler project?

조회 수: 5(최근 30일)
FM
FM 2020년 10월 28일
댓글: FM 2020년 10월 29일
I am using the Library Compiler to generate a Java package. From the saved project, is there any way to generate the command-line command to perform the compilation? I looked in the `*.prj` project file, and it's way more complicated than I want to deal with.
If the answer is "no", that would be helpful as well.
Thanks.

채택된 답변

Todd Flanagan
Todd Flanagan 2020년 10월 29일
You can use:
deploytool -build foo.prj
To build from the command line using the current settings in the project.
Form the os command line, you can use
deploytool /build foo.prj
These are current supported, but are on a path to deprecation. The command will be replaced with similar, but improved functionality in a future release.
  댓글 수: 3
FM
FM 2020년 10월 29일
Thanks again, Todd.

댓글을 달려면 로그인하십시오.

추가 답변(0개)

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by