当gwt.xml没有<;来源>;里面有标签吗?
如果我没有在gwt.xml中指定类似于当gwt.xml没有<;来源>;里面有标签吗?,gwt,Gwt,如果我没有在gwt.xml中指定类似于的内容,那么gwt java2js编译器的默认行为是什么。我见过一些不使用这些标记的多模块项目,我只能说类只有在X.client.Y包中才会被翻译;我假设j2js编译器在默认情况下也使用该约定?它假设默认文件夹名为“client”,它与module.gwt.xml文件并行 例如: Location of module xml file - com.insanity.examples.gwt.HelloWorld.gwt.xml Location of de
的内容,那么gwt java2js编译器的默认行为是什么。我见过一些不使用这些标记的多模块项目,我只能说类只有在X.client.Y包中才会被翻译;我假设j2js编译器在默认情况下也使用该约定?它假设默认文件夹名为“client”,它与module.gwt.xml文件并行
例如:
Location of module xml file - com.insanity.examples.gwt.HelloWorld.gwt.xml
Location of default gwt client code - com.insanity.examples.gwt.client
这与在.gwt.xml文件中有标记一样好。
您可以在此处阅读更多信息-它假定默认文件夹名为“client”,与module.gwt.xml文件并行 例如:
Location of module xml file - com.insanity.examples.gwt.HelloWorld.gwt.xml
Location of default gwt client code - com.insanity.examples.gwt.client
这与在.gwt.xml文件中有标记一样好。
您可以在这里阅读更多信息-但它也会检查com.insanity.examples.gwt.client.*对吗?是的。com.insanity.examples.gwt.client的包和子包下的所有文件都被视为与JAVAScript兼容的代码。但它也会检查com.insanity.examples.gwt.client。*对吗?是的。com.insanity.examples.gwt.client的包和子包下的所有文件都被视为与JAVAScript兼容的代码。