When you use the command line editor to create a new object:
e.g.
object foo extends bar {
...
If the current layer is compiled you will get an error: "No compiled class for creating: foo"
If you do this with a dynamic layer, you can immediately use the object you are creating. StrataCode should at least do an incremental build, using the in-memory version of the source code (i.e. including the code which has not yet been saved).
Workaround: do cmd.save(); and cmd.rebuild();
then close the object using "}" and reopen it with:
When you use the command line editor to create a new object:
e.g.
If the current layer is compiled you will get an error: "No compiled class for creating: foo"
If you do this with a dynamic layer, you can immediately use the object you are creating. StrataCode should at least do an incremental build, using the in-memory version of the source code (i.e. including the code which has not yet been saved).
Workaround: do cmd.save(); and cmd.rebuild();
then close the object using "}" and reopen it with:
foo {
}