com.google.gwt.dev.javac.TypeOracleMediator
[gwt.javac] private static boolean maybeGeneric(TypeDeclaration typeDecl,
[gwt.javac] ^
[gwt.javac]
/home/federico/gwt/trunk/dev/core/src/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java:15:
package org.eclipse.jdt.core.compiler does not exist
[gwt.javac] import org.eclipse.jdt.core.compiler.CharOperation;
[gwt.javac] ^
[gwt.javac]
/home/federico/gwt/trunk/dev/core/src/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java:16:
package org.eclipse.jdt.internal.compiler.ast does not exist
[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.ASTNode;
[gwt.javac] ^
[gwt.javac] Note: Some input files use or override a deprecated API.
[gwt.javac] Note: Recompile with -Xlint:deprecation for details.
[gwt.javac] Note: Some input files use unchecked or unsafe operations.
[gwt.javac] Note: Recompile with -Xlint:unchecked for details.
[gwt.javac] 100 errors
BUILD FAILED
/home/federico/gwt/trunk/build.xml:37: The following error occurred
while executing this line:
/home/federico/gwt/trunk/build.xml:26: The following error occurred
while executing this line:
/home/federico/gwt/trunk/build.xml:62: The following error occurred
while executing this line:
/home/federico/gwt/trunk/platforms.ant.xml:13: The following error
occurred while executing this line:
/home/federico/gwt/trunk/dev/core/build.xml:126: Compile failed; see the
compiler error output for details.
Total time: 10 seconds
$
I suspect (but am not certain) the -lib's explain all of your trying
to override old definition of task messages. I also think they're
what's causing your errors... do you have trunk/build/out and
trunk/build/lib directories, and do they have reasonable contents? I
think I see a few class files being compiled, but I'm suspicious that
the task redefinitions caused the jar'ing to not to happen.
Also, which ant are you running? 1.7.0 has known issues (though not
these ones); 1.6.5 or 1.7.1 should both work fine.
I have ant-1.7.1
On Wed, Jul 15, 2009 at 3:31 PM, mescalinum mescali...@gmail.com
mailto:mescali...@gmail.com wrote:
I followed instructions I found somewhere to build gwt.
I checked out tools and trunk, adjusted my CLASSPATH, GWT_TOOLS and
GWT_VERSION env vars, and run ant dist-one
$ cd ~/gwt
$ ls
tools trunk
$ export GWT_TOOLS=~/gwt/tools
$ export GWT_VERSION=2.0.0-SNAPSHOT
$ cd trunk
$ CLASSPATH=.:$GWT_TOOLS/lib/tomcat/jsp-api-2.1.jar:$GWT_TOOLS/lib/
tomcat/servlet-api-2.5.jar ant -lib $GWT_TOOLS/lib/apache -lib
$GWT_TOOLS/lib/eclipse -lib $GWT_TOOLS/lib/w3c -lib
$GWT_TOOLS/lib/w3c/
sac -lib $GWT_TOOLS/lib/w3c/flute -lib $GWT_TOOLS/lib/jetty -lib
$GWT_TOOLS/lib/javaswf -lib $GWT_TOOLS/lib/selenium -lib $GWT_TOOLS/
lib/tomcat -lib $GWT_TOOLS/lib/objectweb -lib $GWT_TOOLS/lib/
jfreechart -lib $GWT_TOOLS/lib/tonicsystems -lib
$GWT_TOOLS/lib/junit -
lib $GWT_TOOLS/lib/sun -lib $GWT_TOOLS/lib/sun/swingworker -lib
$GWT_TOOLS/lib/xerces -lib $GWT_TOOLS/lib/xerces/xerces-2_9_1 dist-one
Buildfile: build.xml
Trying to override old definition of task for
[snip]--
BUILD FAILED
/home/federico/gwt/trunk/build.xml:38: The following error occurred
while executing this line:
/home/federico/gwt/trunk/build.xml:26: The following error occurred
while executing this line:
/home/federico/gwt/trunk/build.xml:68: The following error occurred
while executing this line:
/home/federico/gwt/trunk/user/build.xml:48: The following error
occurred while executing this line:
/home/federico/gwt/trunk/common.ant.xml:302: Cannot find dependency /
home/federico/gwt/trunk/build/lib/gwt-dev-linux.jar
how is that it doesn't find the jar?
it requires gwt-dev-linux.jar to build? or it assumes at some point
(erroneously) that the jar file has been built?
anyone can help?
--~--~-~--~~~---~--~~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~--~~~~--~~--~--~---
signature.asc
Description: OpenPGP digital signature