它具有属性,但如果尝试设置其不包含的属性,它不会引发异常,这一点与普通数据对象不同。
It has properties, but if you try to set a property of it which is does not contain, it will not throw an exception like normal data objects.
另外一点比较重要需要指出的是Overwrite属性被设置为真:结果,如果一个生成的EAR文件已经存在的话,那么它将会被覆盖掉。
Another important point here is the Overwrite property which is set to true: As a consequence, if the EAR file to be generated already exists, it will be overwritten.
最关键的一点是将文件的 BuildAction 属性设置为 Embedden Resource(嵌入式资源)。
What's important is that the BuildAction property of the file be set to Embedded Resource.
应用推荐