Opened 13 years ago
Closed 12 years ago
#1718 closed discussion (fixed)
OMEdit: change package saving
Reported by: | Anatoly Severin | Owned by: | Anatoly Severin |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Client | Version: | |
Keywords: | Cc: | Anatoly Severin |
Description
There are 2 ways to create package with some models.
1st is to create file somepackage.mo with such structure:
package somepackage
model somemodel
end somemodel;
end somepackage;
In this variant OMEdit saves package and model correctly.
The other way is to create a folder somepackagefolder and then create a number of files in it:
package.mo :
package somepackage
end somepackage;
somemodel.mo :
model somemodel
end somemodel;
usually 2nd variant is used to create a library, but it's also useful for developing complex models.
nowadays OMEdit doesn't support saveing 2nd variant packages.
I`m opening package.mo (it opens correctly), editing model, and save it. OMEdit places all code from model(models) in package.mo but doesnt saves changes neigther in package file nor in model files.
Change History (1)
comment:1 by , 12 years ago
Cc: | a_severin, → a_severin |
---|---|
Resolution: | → fixed |
Status: | new → closed |
saving package in folder structure is available now.