Commit 61fd37ca authored by aziz's avatar aziz
Browse files

Now the .fmu doesn't appear in the component name having FMU

Signed-off-by: default avataraziz <>
parent 3ceefc9b 91c48b46b04b415df8c9ac38a6b513f2b69cff7f GREEN 8e5b1e4971499a50465e64247031ba336ee844db YELLOW c5ede1e02867805e28e6c95c52ec3557466db47a GREEN
......@@ -39,6 +39,7 @@ import;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.layout.GridDataFactory;
import org.eclipse.swt.SWT;
......@@ -189,7 +190,7 @@ public class ExternalSpecificationEditor extends FormsEditorBase<IExternalBehavi
try {
deleteDirectory(new File(tempBuildDirectoryPath));
container.setName(new File(filePath).getName());
container.setName(FilenameUtils.removeExtension(new File(filePath).getName()));
} catch(Exception e) {
MessageDialog.openInformation(currentShell, "[Error]",
"Detailed Error: \n" + e.getMessage());
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment