本文介绍了如何在使用Google App Engine时关闭DataNucleus Enhancer的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我在Eclipse中使用Google AppEngine Java代码进行工作。每次保存java文件时,DataNucleus Enchancer都将从增强类开始。它非常刺激,因为当您处于全屏模式时,它会消除焦点。任何人都知道如何将其关闭?



如果我把它关闭,它会影响我从Eclipse中部署我的应用程序到App Engine的能力吗?

解决方案

您可以限制DataNucleus监视哪些类型的更改,以便在模型类实际更改时仅重新运行增强功能。



转到项目的属性,然后选择Google-> App Engine-> Orm。您可以指定要观看的文件的模式。



例如,我将所有的模型bean都放在model /子目录中,所以一个src / ** /模特儿为我工作。 添加对话框中也有示例模式。


I am working in Eclipse on a Google AppEngine Java code. Every time I save a java file, the DataNucleus Enchancer starts off "Enhancement of Classes". Its quite irritating since it takes away focus when you are in full screen mode. Anybody knows how I can turn it off?

If I turn it off, will it affect my ability to deploy my application to App Engine from within Eclipse?

解决方案

You can restrict which classes DataNucleus watches for changes so that it only re-runs the enhancement when your model classes actually change.

Go to the Project's properties, and select Google->App Engine->Orm. There you can specify patterns for the files to watch.

For example, I put all my model beans in a model/ subdirectory, so a pattern of src/**/model works for me. There are also example patterns under the 'Add' dialogue.

这篇关于如何在使用Google App Engine时关闭DataNucleus Enhancer的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 22:03