我正在尝试为移动、桌面和移动设备的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.gwtpplatform.mvp.chlient.annorations.NameToken,com.gwtplatform.mvp.client.aannotations.ChangeTab,com.google.gwt.safehtml.client.SafeHtmlTemplates.Template,com.google.inject.inject.,com.gwtplatform.mvp客户端.annotations.TabInfo,com.gwpPlatform.mvp.client.annotations.ProxyCodeSplit,com.gwp平台.mvp.c客户端.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.aannotations.UseGatekeeper,com.synopys.iims.fe.client.place.DefaultPlace,com.google_gwt.uibinner.client.UiField,com.gwtplatform.mvp.client.annotations.ProxyStandard
我该如何解决这些问题?我相信这些可能会给gwtc目标带来问题。
这些注释没有处理器(由GWT生成器处理),因此可以安全地忽略警告。