Community
Participate
Working Groups
The method in which the required new instance of JavaScriptDevGenerator in WorkingCopyGenerationOperation isn't quite right, because the static instance of the IGenerator class variables isn't being copied over to this new instance.
Hi, Jeff I see that you have modified some code about JavaScriptDevGenerator in WorkingCopyGenerationOperation, do you mean I should not new a JavaScriptDevGenerator but get it from somewhere? If yes, how could I get instance of JavaScriptDevGenerator? Thanks
No, it seems you do need to do a "new" on it, because you have those override methods. The problem with this "new" technique however, is that it doesn't pick up the variables set by eclipse's startup and the loading of the static version of this class. Talk with Justin on this. The code in there now will work, but it isn't the best way.
Hi Jeff I think the override JavaScriptDevGenerator in only used for VE, it should not be used by others, so I think it is ok to use it that way. Thanks
won't be implemented