Hi,

I've run into a very funny problem here, I've got an skeleton project
which I generated with applicationCreator, I then wrote a ant target:

<target name="gwt-compile">
  <java classname="com.google.gwt.dev.GWTCompiler"
            fork="yes"
            failonerror="true"
            classpath="${src};${java.class.path};$
{classpath.compile}">
        <jvmarg value="-Xmx256M" />
        <arg value="-logLevel" />
        <arg value="ALL" />
        <arg value="-out" />
        <arg file="${www}" />
        <arg value="${gwt.module.id}" />
  </java>
</target>

The above target gives me this error:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException:
-2
     [java]     at
org.eclipse.jdt.internal.compiler.parser.Parser.concatExpressionLists(Parser.java:
1185)
     [java]     at
org.eclipse.jdt.internal.compiler.parser.Parser.consumeDimWithOrWithOutExprs(Parser.java:
2694)
     [java]     at
org.eclipse.jdt.internal.compiler.parser.Parser.consumeRule(Parser.java:
5681)
     [java]     at
org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:
9020)
     [java]     at
org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:
9251)
     [java]     at
org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:
9208)
     [java]     at
org.eclipse.jdt.internal.compiler.parser.Parser.dietParse(Parser.java:
7864)
     [java]     at
org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:
587)
     [java]     at
org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:
357)
     [java]     at
org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:371)
     [java]     at
com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:277)
     [java]     at
com.google.gwt.dev.javac.JdtCompiler.compile(JdtCompiler.java:193)
     [java]     at
com.google.gwt.dev.javac.CompilationState.compile(CompilationState.java:
115)
     [java]     at
com.google.gwt.dev.GWTCompiler.distill(GWTCompiler.java:327)
     [java]     at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:
564)
     [java]     at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:
554)
     [java]     at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:
214)

However, If I compile it with the shellscript generated by
applicationCreator which is basically the same command, it compiles
fine.

I'm probably missing something trivial, but can anybody point me in
the right direction?

Thanks in advance.

-- Joe

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to