[gwt-contrib] Re: Trouble building GWT 2.0 from svn

2009-07-23 Thread mescali...@gmail.com
update:
I tried it on a ubuntu laptop and build flawlessy.

perhaps my problem is Gentoo specific, or perhaps the build system is
making some (wrong) assumptions about my system


I'm working hard to provide a patch for making it compile on Gentoo. do
you guys have any hints?




signature.asc
Description: OpenPGP digital signature


[gwt-contrib] Re: Trouble building GWT 2.0 from svn

2009-07-22 Thread mescali...@gmail.com
John Tamplin wrote:
 On Tue, Jul 21, 2009 at 9:51 AM, mescali...@gmail.com
 mailto:mescali...@gmail.com mescali...@gmail.com
 mailto:mescali...@gmail.com wrote:

 so I did I.
 I repeated the above steps today.
 ant (1.7.1) run up to some point, then I get this error:

 [gwt.javac] Compiling 725 source files to
 /home/federico/gwt-trunk/trunk/build/out/dev/core/bin
 [gwt.javac]
 
 /home/federico/gwt-trunk/trunk/dev/core/src/com/google/gwt/dev/javac/CompilationUnit.java:32:
 package org.eclipse.jdt.core.compiler does not exist
 [gwt.javac] import org.eclipse.jdt.core.compiler.CategorizedProblem;
 [gwt.javac] ^
 [gwt.javac]
 
 /home/federico/gwt-trunk/trunk/dev/core/src/com/google/gwt/dev/javac/CompilationUnit.java:33:
 cannot find symbol


 Can you svn up in the tools directory?  It sounds like perhaps you are
 missing the more recent JDT.


feder...@gentoo64 ~/gwt-trunk/tools $ svn up
At revision 5768.


my guess is that's not finding JDT (or anytinhg else).

that's why I had to put all (latest version of) jars I found in toolls
directory to CLASSPATH.
when doing so, compile goes well for a while, but stop later -for the
error reported in original message-


-- 




signature.asc
Description: OpenPGP digital signature


[gwt-contrib] Re: Trouble building GWT 2.0 from svn

2009-07-22 Thread mescali...@gmail.com
John Tamplin wrote:
 Can you svn up in the tools directory?  It sounds like perhaps you are
 missing the more recent JDT.


btw,
feder...@gentoo64 ~/gwt-trunk/tools $ ls -1 lib/eclipse/jdt*
lib/eclipse/jdt-3.1.1.jar
lib/eclipse/jdt-3.1.1-src.zip
lib/eclipse/jdt-3.3.1.jar
lib/eclipse/jdt-3.3.1-src.zip
lib/eclipse/jdt-3.4.2.jar
lib/eclipse/jdt-3.4.2-src.zip

when declaring the classpath (first try - original message) I was
referring to latest available (3.4.2) version




signature.asc
Description: OpenPGP digital signature


[gwt-contrib] Re: Trouble building GWT 2.0 from svn

2009-07-21 Thread mescali...@gmail.com
Kango_V wrote:
 Same as Brett, that's all you need.  Using ant 1.7.1 java 6u14 amd64.

 On Jul 19, 4:01 am, brett.wooldridge brett.wooldri...@gmail.com
 wrote:
   
 Not sure what the problem is.  This is all I did (literally):

 mkdir gwt-trunk
 cd gwt-trunk
 svn checkouthttp://google-web-toolkit.googlecode.com/svn/tools/tools
 svn checkouthttp://google-web-toolkit.googlecode.com/svn/trunk/trunk
 cd trunk
 ant

 

so I did I.
I repeated the above steps today.
ant (1.7.1) run up to some point, then I get this error:

[gwt.javac] Compiling 725 source files to
/home/federico/gwt-trunk/trunk/build/out/dev/core/bin
[gwt.javac]
/home/federico/gwt-trunk/trunk/dev/core/src/com/google/gwt/dev/javac/CompilationUnit.java:32:
package org.eclipse.jdt.core.compiler does not exist
[gwt.javac] import org.eclipse.jdt.core.compiler.CategorizedProblem;
[gwt.javac] ^
[gwt.javac]
/home/federico/gwt-trunk/trunk/dev/core/src/com/google/gwt/dev/javac/CompilationUnit.java:33:
cannot find symbol


that's why I was passing all the classpaths and the directories.



here is:

amd64
ant-1.7.1
java version 1.6.0_13
javac 1.6.0_13




signature.asc
Description: OpenPGP digital signature


[gwt-contrib] Re: Trouble building GWT 2.0 from svn

2009-07-17 Thread mescali...@gmail.com
 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