We've just introduced datastore callbacks into our app and they work fine 
in Eclipse but I can't figure out how to compile the app with them in Ant. 
This is my target:

<target name="javac" depends="clean,libs" description="Compile java source">
<mkdir dir="war/WEB-INF/classes" />
<javac srcdir="src" includes="**" encoding="utf-8" 
destdir="war/WEB-INF/classes" source="1.6" target="1.6" nowarn="true" 
debug="true" debuglevel="lines,vars,source">
<classpath refid="project.class.path" />
<compilerarg line="-processorpath 
${appengine.folder}/lib/impl/appengine-api.jar" />
<compilerarg line="-s .apt_generated" />
</javac>
<copy todir="war/WEB-INF/classes">
<fileset dir="src" excludes="**/*.java" />
</copy>
</target>

The error I get is:
    [javac] Caused by: java.io.FileNotFoundException: Resource does not 
exist : CLASS_OUTPUT//META-INF\datastorecallbacks.xml
    [javac]         at 
org.eclipse.jdt.internal.compiler.apt.dispatch.BatchFilerImpl.getResource(BatchFilerImpl.java:158)

NOTE: We're using the eclipse internal compiler through ant because our app 
makes use of a feature that requires some later version of Java. But we ran 
into this 
issue<http://stackoverflow.com/questions/9414106/devserver-fails-after-updating-to-java-6u31>with
 the timezone and the indicated fix *really* messed up our UI tests. 
(It's a scheduling application so mucking with the timezone introduced some 
weird test failures.)

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/UpWgUFfEH8oJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to