I’m attempting to use the MagicDraw API to generate Code Engineering Sets and it appears that the CES libraries are missing.
I have the following import statements in my Java code...
import com.nomagic.magicdraw.ce.CodeEngineeringConstants;
import com.nomagic.magicdraw.ce.CodeEngineeringManager;
import com.nomagic.magicdraw.ce.CodeEngineeringSet;
Here is my command line to compile the java file…
\\jdk11.0.16\\bin\\javac -classpath "C:\\MagicDraw_19_4\\lib\\*" UMLGenerator.java
Error messages…
UMLGenerator.java:9: error: package com.nomagic.magicdraw.ce does not exist
import com.nomagic.magicdraw.ce.CodeEngineeringConstants;
UMLGenerator.java:10: error: package com.nomagic.magicdraw.ce does not exist
import com.nomagic.magicdraw.ce.CodeEngineeringManager;
UMLGenerator.java:11: error: package com.nomagic.magicdraw.ce does not exist
import com.nomagic.magicdraw.ce.CodeEngineeringSet;
I’ve tried the lib folder for MD22, MD21, and MD19 with the same results.
The other import statements work fine. For example...
import com.nomagic.magicdraw.commandline.CommandLine;
import com.nomagic.magicdraw.core.Application;
import com.nomagic.magicdraw.core.Project;
import com.nomagic.magicdraw.core.project.ProjectDescriptor;
Not sure where else to look.
