我正在尝试为移动、桌面和平板电脑的 GWTP+MGWT 项目编写 build.xml。
<property name="in.src.folder" location="src" />
<property name="apt_generated" location=".apt_generated" />
<property name="out.classes.folder" location="war/WEB-INF/classes" />
<property name="warlib.folder" location="war/WEB-INF/lib" />
<target name="javac" depends="cleanwar,libs" description="Compile java source to bytecode">
<mkdir dir="war/WEB-INF/classes" />
<javac srcdir="${apt_generated}" destdir="${out.classes.folder}" includeantruntime="true" source="1.6" target="1.6" nowarn="false" debug="true" debuglevel="lines,vars,source" >
<classpath refid="project.class.path" />
<compilerarg value="-Xlint"/>
</javac>
<javac srcdir="${in.src.folder}" includes="**" encoding="utf-8" destdir="${out.classes.folder}" source="1.6" target="1.6" nowarn="false" debug="true" debuglevel="lines,vars,source" includeantruntime="true">
<classpath refid="project.class.path" />
<compilerarg value="-Xlint"/>
</javac>
<copy todir="${out.classes.folder}">
<fileset dir="${in.src.folder}" includes="**/*.class" />
</copy>
<delete dir="${in.src.folder}" includes="**/*.class" failonerror="false" />
</target>
该应用程序在开发模式下运行良好,直到现在我可以将它构建到 javac 目标,但我看到这些警告 -
没有处理器声称任何这些注释:
com.gwtplatform.mvp.client.annotations.RequestTabs, com.gwtplatform.mvp.client.annotations.NameToken, com.gwtplatform.mvp.client.annotations.ChangeTab, com.google.gwt.safehtml.client.SafeHtmlTemplates.Template, com.google.inject.Inject、com.gwtplatform.mvp.client.annotations.TabInfo、com.gwtplatform.mvp.client.annotations.ProxyCodeSplit、com.gwtplatform.mvp.client.annotations.ContentSlot、com.google.inject。 BindingAnnotation、com.google.gwt.uibinder.client.UiHandler、com.google.gwt.user.client.rpc.RemoteServiceRelativePath、com.google.gwt.inject.client.GinModules、com.gwtplatform.mvp.client.annotations。 ProxyEvent、com.gwtplatform.mvp.client.annotations.UseGatekeeper、com.synopsys.iims.fe.client.place.DefaultPlace、com.google.gwt.uibinder.client.UiField、com.gwtplatform.mvp.client.annotations。代理标准
我该如何解决这些问题?我相信这些可能会导致 gwtc 目标出现问题。