I still need help on this. Let me add adaitional context just in case that 
helps understand this a little better. After playing around with my project 
a bit more and editing the ant build file I noticed that when I remove the 
gwt-user.jar, gwt-dev.jar and gwt-servlet.jar from the front of the 
classpath I can now build. I still do not fully understand why doing this 
causes the compiler to start up now nor do I understand why the original 
setup worked until late last week and stopped working all of a sudden. Any 
help is much appreciated. 

Disabling the injection of the gwt-*.jar files from the front of the 
classpath as show in the target below makes it build. Putting them back 
stops the compiler from working. Any thoughts?

<target name="do-gwt-compile-25" if="gwt.version.25" 
            unless="gwt.compile.unneeded" depends="-init-gwt-dir">
        <!-- You can override this property in the 'gwt.properties' file -->
        <property name="gwt.compiler.output.style" value="OBFUSCATED"/>
        <property name="gwt.compiler.logLevel" value="WARN"/>
        <echo>Now GWT Compiling client-side code MP why cant we fork 
GWTCompiler.</echo>
        <java failonerror="false"
              classname="com.google.gwt.dev.Compiler" fork="true"
              jvmargs="${gwt.compiler.jvmargs}">
            <classpath>
                <!--
                GWT libraries are mentioned here explicitly so they are 
always
                at the front of the class path.
                -->
<!--                <pathelement 
location="${gwt.dir}/validation-api-1.0.0.GA.jar" />
                <pathelement 
location="${gwt.dir}/validation-api-1.0.0.GA-sources.jar" />
                <pathelement path="${gwt.dir}/gwt-user.jar"/>
                <pathelement path="${gwt.dir}/gwt-dev.jar"/>
                <pathelement path="${gwt.dir}/gwt-servlet.jar"/>-->
                <pathelement path="${javac.classpath}"/>
                <pathelement path="${src.dir}"/>
                <pathelement path="${build.classes.dir}"/>
            </classpath>
            <arg value="-war"/>
            <arg path="${build.web.dir}/"/>
            <arg value="-style"/>
            <arg value="${gwt.compiler.output.style}"/>
            <arg value="-localWorkers"/>
            <arg value="${gwt.compiler.local.workers}"/>
            <arg value="-logLevel"/>
            <arg value="${gwt.compiler.logLevel}"/>
            <arg line="${gwt.compiler.args}"/>
            <arg line="${gwt.module}"/>
        </java>
        <touch file="${build.dir}/gwtc.run"/>
    </target>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to