0

モバイル、デスクトップ、タブレット向けの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。 ProxyStandard

どうすればこれらを解決できますか?これらがgwtcターゲットに問題を引き起こしている可能性があると思います。

4

1 に答える 1

1

これらのアノテーションにはプロセッサーがないため(GWTジェネレーターによって処理されます)、警告を無視しても問題ありません。

于 2012-08-24T18:42:48.207 に答える