Re: compilation error with 2.8.0-SNAPSHOT (guava problem)

2016-04-12 Thread Norbert Sándor
Thanks for the quick reply.
Then I check the classpath of the Maven build again (although I've already 
done it and found no conflicts or duplications).
--
Norbi

On Tuesday, 12 April 2016 21:55:24 UTC+2, Juan Pablo Gardella wrote:
>
> 20-SNAPSHOT
>
> On Tue, 12 Apr 2016 at 14:48 Norbert Sándor  > wrote:
>
>> Maybe someone can help which guava version is the "supported" for 
>> gwt-2.8.0-snapshot?
>>
>> Thanks,
>> Norbi
>>
>>
>> On Sunday, 10 April 2016 16:06:01 UTC+2, Norbert Sándor wrote:
>>>
>>> Hello,
>>>
>>> I use the latest gwt-2.8.0-snapshot + guava-20.0-snapshot.
>>> When I perform GWT compilation in Eclipse (by directly calling the 
>>> Compiler from a launch config) everything works as expected.
>>> But when I compile using gwt-maven-plugin, the following error is raised:
>>>
>>> [INFO][ERROR] Errors in 
>>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/Maps.java'
>>> [INFO]   [ERROR] Line 2880: The method and(Predicate>> ? super Map.Entry>, Predicate>) 
>>> is undefined for the type Predicates
>>> [INFO]   [ERROR] Line 3134: The method and(Predicate>> ? super Map.Entry>, Predicate>) 
>>> is undefined for the type Predicates
>>> [INFO]Tracing compile failure path for type 
>>> 'com.google.common.collect.Maps'
>>> [INFO]   [ERROR] Errors in 
>>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/Maps.java'
>>> [INFO]  [ERROR] Line 2880: The method 
>>> and(Predicate>, 
>>> Predicate>) is undefined for the type 
>>> Predicates
>>> [INFO]  [ERROR] Line 3134: The method 
>>> and(Predicate>, 
>>> Predicate>) is undefined for the type 
>>> Predicates
>>> [INFO]   [ERROR] Errors in 
>>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java'
>>> [INFO]  [ERROR] com.google.common.collect.ImmutableSetMultimap 
>>> cannot be resolved to a type
>>> [INFO]   [ERROR] Errors in 
>>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ForwardingMap.java'
>>> [INFO]  [ERROR] com.google.common.collect.Maps.Values cannot be 
>>> resolved to a type
>>> [INFO]   [ERROR] Errors in 
>>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ImmutableSetMultimap.java'
>>> [INFO]  [ERROR] 
>>> com.google.common.collect.ImmutableMultimap.Builder cannot be resolved to a 
>>> type
>>> [INFO]   [ERROR] Errors in 
>>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ImmutableMultimap.java'
>>> [INFO]  [ERROR] com.google.common.collect.AbstractMultimap 
>>> cannot be resolved to a type
>>> [INFO]   [ERROR] Errors in 
>>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/AbstractMultimap.java'
>>> [INFO]  [ERROR] com.google.common.collect.Multimaps.Entries 
>>> cannot be resolved to a type
>>>
>>> Do you have any idea how can I fix it?
>>>
>>> Thanks.
>>> BR,
>>> Norbi
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "GWT Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to google-web-toolkit+unsubscr...@googlegroups.com .
>> To post to this group, send email to google-we...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/google-web-toolkit.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: compilation error with 2.8.0-SNAPSHOT (guava problem)

2016-04-12 Thread Juan Pablo Gardella
20-SNAPSHOT

On Tue, 12 Apr 2016 at 14:48 Norbert Sándor 
wrote:

> Maybe someone can help which guava version is the "supported" for
> gwt-2.8.0-snapshot?
>
> Thanks,
> Norbi
>
>
> On Sunday, 10 April 2016 16:06:01 UTC+2, Norbert Sándor wrote:
>>
>> Hello,
>>
>> I use the latest gwt-2.8.0-snapshot + guava-20.0-snapshot.
>> When I perform GWT compilation in Eclipse (by directly calling the
>> Compiler from a launch config) everything works as expected.
>> But when I compile using gwt-maven-plugin, the following error is raised:
>>
>> [INFO][ERROR] Errors in
>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/Maps.java'
>> [INFO]   [ERROR] Line 2880: The method and(Predicate> super Map.Entry>, Predicate>) is
>> undefined for the type Predicates
>> [INFO]   [ERROR] Line 3134: The method and(Predicate> super Map.Entry>, Predicate>) is
>> undefined for the type Predicates
>> [INFO]Tracing compile failure path for type
>> 'com.google.common.collect.Maps'
>> [INFO]   [ERROR] Errors in
>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/Maps.java'
>> [INFO]  [ERROR] Line 2880: The method
>> and(Predicate>,
>> Predicate>) is undefined for the type
>> Predicates
>> [INFO]  [ERROR] Line 3134: The method
>> and(Predicate>,
>> Predicate>) is undefined for the type
>> Predicates
>> [INFO]   [ERROR] Errors in
>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java'
>> [INFO]  [ERROR] com.google.common.collect.ImmutableSetMultimap
>> cannot be resolved to a type
>> [INFO]   [ERROR] Errors in
>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ForwardingMap.java'
>> [INFO]  [ERROR] com.google.common.collect.Maps.Values cannot be
>> resolved to a type
>> [INFO]   [ERROR] Errors in
>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ImmutableSetMultimap.java'
>> [INFO]  [ERROR]
>> com.google.common.collect.ImmutableMultimap.Builder cannot be resolved to a
>> type
>> [INFO]   [ERROR] Errors in
>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ImmutableMultimap.java'
>> [INFO]  [ERROR] com.google.common.collect.AbstractMultimap cannot
>> be resolved to a type
>> [INFO]   [ERROR] Errors in
>> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/AbstractMultimap.java'
>> [INFO]  [ERROR] com.google.common.collect.Multimaps.Entries
>> cannot be resolved to a type
>>
>> Do you have any idea how can I fix it?
>>
>> Thanks.
>> BR,
>> Norbi
>>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit+unsubscr...@googlegroups.com.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: compilation error with 2.8.0-SNAPSHOT (guava problem)

2016-04-12 Thread Norbert Sándor
Maybe someone can help which guava version is the "supported" for 
gwt-2.8.0-snapshot?

Thanks,
Norbi

On Sunday, 10 April 2016 16:06:01 UTC+2, Norbert Sándor wrote:
>
> Hello,
>
> I use the latest gwt-2.8.0-snapshot + guava-20.0-snapshot.
> When I perform GWT compilation in Eclipse (by directly calling the 
> Compiler from a launch config) everything works as expected.
> But when I compile using gwt-maven-plugin, the following error is raised:
>
> [INFO][ERROR] Errors in 
> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/Maps.java'
> [INFO]   [ERROR] Line 2880: The method and(Predicate super Map.Entry>, Predicate>) is 
> undefined for the type Predicates
> [INFO]   [ERROR] Line 3134: The method and(Predicate super Map.Entry>, Predicate>) is 
> undefined for the type Predicates
> [INFO]Tracing compile failure path for type 
> 'com.google.common.collect.Maps'
> [INFO]   [ERROR] Errors in 
> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/Maps.java'
> [INFO]  [ERROR] Line 2880: The method and(Predicate ? super Map.Entry>, Predicate>) 
> is undefined for the type Predicates
> [INFO]  [ERROR] Line 3134: The method and(Predicate ? super Map.Entry>, Predicate>) 
> is undefined for the type Predicates
> [INFO]   [ERROR] Errors in 
> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java'
> [INFO]  [ERROR] com.google.common.collect.ImmutableSetMultimap 
> cannot be resolved to a type
> [INFO]   [ERROR] Errors in 
> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ForwardingMap.java'
> [INFO]  [ERROR] com.google.common.collect.Maps.Values cannot be 
> resolved to a type
> [INFO]   [ERROR] Errors in 
> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ImmutableSetMultimap.java'
> [INFO]  [ERROR] 
> com.google.common.collect.ImmutableMultimap.Builder cannot be resolved to a 
> type
> [INFO]   [ERROR] Errors in 
> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/ImmutableMultimap.java'
> [INFO]  [ERROR] com.google.common.collect.AbstractMultimap cannot 
> be resolved to a type
> [INFO]   [ERROR] Errors in 
> 'jar:file:/C:/Dev/m2-repo/com/google/guava/guava-gwt/20.0-SNAPSHOT/guava-gwt-20.0-SNAPSHOT.jar!/com/google/common/collect/AbstractMultimap.java'
> [INFO]  [ERROR] com.google.common.collect.Multimaps.Entries cannot 
> be resolved to a type
>
> Do you have any idea how can I fix it?
>
> Thanks.
> BR,
> Norbi
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Compilation Error with jar dependency

2012-03-07 Thread Vicky
Solved it. Need to include java src files in the jar along with the
class files.

FYI, for folks who might not know, GWT needs the java source (and not
the byte code) to compile to javascript.

On Mar 6, 9:38 pm, Vicky vicky...@gmail.com wrote:
 Hi

 I am using GWT 2.4. I have a use case where i need to use classes from
 a certain jar file. As part of the GWT project in eclipse i added that
 jar file as a classpath dependency. With this my java compilation went
 through successfully. However when i tried to do a GWT compile it
 failed with the followingerror,

 [java]    [ERROR] An internal compiler exception occurred
 [java] com.google.gwt.dev.jjs.InternalCompilerException: Failed to get
 JNode
 [java]     at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:
 140)
 [java]     at com.google.gwt.dev.jjs.impl.TypeMap.get(TypeMap.java:71)
 [java]     at
 com.google.gwt.dev.jjs.impl.BuildTypeMap.getType(BuildTypeMap.java:
 730)
 [java]     at com.google.gwt.dev.jjs.impl.BuildTypeMap.access
 $000(BuildTypeMap.java:99)
 [java]     at com.google.gwt.dev.jjs.impl.BuildTypeMap
 $BuildDeclMapVisitor.visit(BuildTypeMap.java:195)
 [java]     at
 org.eclipse.jdt.internal.compiler.ast.LocalDeclaration.traverse(LocalDeclaration.java:
 237)
 [java]     at
 org.eclipse.jdt.internal.compiler.ast.ForeachStatement.traverse(ForeachStatement.java:
 527)
 [java]     at
 org.eclipse.jdt.internal.compiler.ast.MethodDeclaration.traverse(MethodDeclaration.java:
 239)
 [java]     at
 org.eclipse.jdt.internal.compiler.ast.TypeDeclaration.traverse(TypeDeclaration.java:
 1239)
 [java]     at
 org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration.traverse(CompilationUnitDeclaration.java:
 687)
 [java]     at
 com.google.gwt.dev.jjs.impl.BuildTypeMap.createPeersForNonTypeDecls(BuildTypeMap.java:
 637)
 [java]     at
 com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:514)
 [java]     at
 com.google.gwt.dev.jjs.impl.BuildTypeMap.exec(BuildTypeMap.java:523)
 [java]     at
 com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:
 599)
 [java]     at
 com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:
 33)
 [java]     at com.google.gwt.dev.Precompile.precompile(Precompile.java:
 284)
 [java]     at com.google.gwt.dev.Precompile.precompile(Precompile.java:
 233)
 [java]     at com.google.gwt.dev.Precompile.precompile(Precompile.java:
 145)
 [java]     at com.google.gwt.dev.Compiler.run(Compiler.java:232)
 [java]     at com.google.gwt.dev.Compiler.run(Compiler.java:198)
 [java]     at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
 [java]     at
 com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
 [java]     at
 com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:
 82)
 [java]     at com.google.gwt.dev.Compiler.main(Compiler.java:177)
 [java]       [ERROR] nosourceinfo:publicinterface
 com.temp.operator.IBuilderOperator
 [java]     extends java.lang.Object
 [java] /*   methods   */
 [java]publicabstract java.lang.String getValue()
 [java]

 Firstly why is GWT not able to resolve this dependency. Secondly how
 do i solve this issue.

 Thanks,
 Vicky

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compilation Error

2011-11-22 Thread wangzheng422
use com.google.gwt.i18n.shared.DateTimeFormat instead.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/vxteFPPZJ2kJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compilation Error

2010-04-22 Thread rxm0203
I am getting following error in GWT development console when I try to
use Run Configuration from Eclipse.

00:00:20.360 [TRACE] Finding entry point classes
00:00:20.360 [ERROR] Unable to find type
'org.drools.guvnor.client.JBRMSEntryPoint'
00:00:20.407 [ERROR] Hint: Check that the type name
'org.drools.guvnor.client.JBRMSEntryPoint' is really what you meant
00:00:20.407 [ERROR] Hint: Check that your classpath includes 
all
required source roots
00:00:20.407 [ERROR] Failed to load module 'org.drools.guvnor.Guvnor'
from user agent 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.1.249.1059 Safari/
532.5' at localhost:2247

I tried workaround listed on following web link (Unable to find type
'com.foo.client.MyApp') without any success. Any ideas on resolution
will be helpful.

http://code.google.com/webtoolkit/doc/1.6/FAQ_Troubleshooting.html

On Apr 21, 10:36 am, Rajeev Dayal rda...@google.com wrote:
 Great, glad it is working.



 On Wed, Apr 21, 2010 at 9:41 AM, rxm0203 rxm0...@gmail.com wrote:
  Here is the update. I removed the mentioned jar file from Drools-
  Guvnor's dependent projects class path. Now, I am able to compile
  successfully. Thanks for your help.

  On Apr 20, 6:51 pm, rxm0203 rxm0...@gmail.com wrote:
   I removed the mentioned jar file. I am still getting
  samecompilationerror. Which is second entry should I remove?

   On Apr 20, 12:08 pm, Rajeev Dayal rda...@google.com wrote:

These two entries look to be problematic:

  classpathentry kind=var path=M2_REPO/org/apache/jasper/
springsource/
com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/
6.0.20.S2-r5956/

  com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-
r5956.jar/

Are these jars required? Can you remove them?

On Mon, Apr 19, 2010 at 2:49 PM, rxm0203 rxm0...@gmail.com wrote:
 Here are the contents of .classpath file.

 ?xml version=1.0 encoding=UTF-8?
 classpath
        classpathentry kind=src output=target/test-classes
  path=src/
 test/java/
        classpathentry excluding=**/*.java including=**
  kind=src
 output=target/test-classes path=src/test/resources/
        classpathentry including=**/*.java kind=src
 path=src/main/java/

        classpathentry excluding=**/*.java kind=src
  path=src/main/
 resources/
        classpathentry kind=var
 path=M2_REPO/javax/activation/activation/
 1.1/activation-1.1.jar/
        classpathentry kind=var
  path=M2_REPO/javax/ejb/ejb-api/3.0/ejb-
 api-3.0.jar/
        classpathentry kind=var
  path=M2_REPO/javax/el/el-api/1.2/el-
 api-1.2.jar/
        classpathentry kind=var
  path=M2_REPO/javax/el/el-ri/1.2/el-
 ri-1.2.jar/
        classpathentry kind=var
 path=M2_REPO/javax/xml/bind/jaxb-api/2.1/
 jaxb-api-2.1.jar/
        classpathentry kind=var path=M2_REPO/javax/jcr/jcr/1.0/
 jcr-1.0.jar/
        classpathentry kind=var
 path=M2_REPO/javax/faces/jsf-api/1.2/jsf-
 api-1.2.jar/
        classpathentry kind=var
  path=M2_REPO/javax/servlet/jsp/jsp-api/
 2.1/jsp-api-2.1.jar/
        classpathentry kind=var
  path=M2_REPO/javax/transaction/jta/1.1/
 jta-1.1.jar/
        classpathentry kind=var path=M2_REPO/javax/persistence/
 persistence-api/1.0/persistence-api-1.0.jar/
        classpathentry kind=var
  path=M2_REPO/javax/servlet/servlet-api/
 2.3/servlet-api-2.3.jar/
        classpathentry kind=var
  path=M2_REPO/javax/xml/stream/stax-api/
 1.0-2/stax-api-1.0-2.jar/
        classpathentry kind=var path=M2_REPO/antlr/antlr/2.7.6/
 antlr-2.7.6.jar/
        classpathentry kind=var
  path=M2_REPO/org/antlr/antlr-runtime/
 3.1.3/antlr-runtime-3.1.3.jar/
        classpathentry kind=var
 path=M2_REPO/asm/asm/1.5.3/asm-1.5.3.jar/

        classpathentry kind=var
  path=M2_REPO/asm/asm-attrs/1.5.3/asm-
 attrs-1.5.3.jar/
        classpathentry kind=var
  path=M2_REPO/avalon-framework/avalon-
 framework/4.1.3/avalon-framework-4.1.3.jar/
        classpathentry kind=var path=M2_REPO/bouncycastle/bcmail-
 jdk14/138/bcmail-jdk14-138.jar/
        classpathentry kind=var path=M2_REPO/bouncycastle/bcprov-
 jdk14/138/bcprov-jdk14-138.jar/
        classpathentry kind=var path=M2_REPO/cglib/cglib/2.1_3/
 cglib-2.1_3.jar/
        classpathentry kind=var
  path=M2_REPO/org/cobogw/gwt/cobogw/1.0/
 cobogw-1.0.jar/
        classpathentry kind=var path=M2_REPO/org/apache/jasper/
 springsource/
 com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/
 6.0.20.S2-r5956/

  com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-
 r5956.jar/
        classpathentry kind=var
 path=M2_REPO/commons-codec/commons-codec/
 1.2/commons-codec-1.2.jar/
        classpathentry kind=var
 

Re: Compilation Error

2010-04-21 Thread rxm0203
Here is the update. I removed the mentioned jar file from Drools-
Guvnor's dependent projects class path. Now, I am able to compile
successfully. Thanks for your help.

On Apr 20, 6:51 pm, rxm0203 rxm0...@gmail.com wrote:
 I removed the mentioned jar file. I am still getting samecompilationerror. 
 Which is second entry should I remove?

 On Apr 20, 12:08 pm, Rajeev Dayal rda...@google.com wrote:

  These two entries look to be problematic:

    classpathentry kind=var path=M2_REPO/org/apache/jasper/
  springsource/
  com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/
  6.0.20.S2-r5956/
  com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-
  r5956.jar/

  Are these jars required? Can you remove them?

  On Mon, Apr 19, 2010 at 2:49 PM, rxm0203 rxm0...@gmail.com wrote:
   Here are the contents of .classpath file.

   ?xml version=1.0 encoding=UTF-8?
   classpath
          classpathentry kind=src output=target/test-classes path=src/
   test/java/
          classpathentry excluding=**/*.java including=** kind=src
   output=target/test-classes path=src/test/resources/
          classpathentry including=**/*.java kind=src
   path=src/main/java/

          classpathentry excluding=**/*.java kind=src path=src/main/
   resources/
          classpathentry kind=var
   path=M2_REPO/javax/activation/activation/
   1.1/activation-1.1.jar/
          classpathentry kind=var path=M2_REPO/javax/ejb/ejb-api/3.0/ejb-
   api-3.0.jar/
          classpathentry kind=var path=M2_REPO/javax/el/el-api/1.2/el-
   api-1.2.jar/
          classpathentry kind=var path=M2_REPO/javax/el/el-ri/1.2/el-
   ri-1.2.jar/
          classpathentry kind=var
   path=M2_REPO/javax/xml/bind/jaxb-api/2.1/
   jaxb-api-2.1.jar/
          classpathentry kind=var path=M2_REPO/javax/jcr/jcr/1.0/
   jcr-1.0.jar/
          classpathentry kind=var
   path=M2_REPO/javax/faces/jsf-api/1.2/jsf-
   api-1.2.jar/
          classpathentry kind=var path=M2_REPO/javax/servlet/jsp/jsp-api/
   2.1/jsp-api-2.1.jar/
          classpathentry kind=var path=M2_REPO/javax/transaction/jta/1.1/
   jta-1.1.jar/
          classpathentry kind=var path=M2_REPO/javax/persistence/
   persistence-api/1.0/persistence-api-1.0.jar/
          classpathentry kind=var path=M2_REPO/javax/servlet/servlet-api/
   2.3/servlet-api-2.3.jar/
          classpathentry kind=var path=M2_REPO/javax/xml/stream/stax-api/
   1.0-2/stax-api-1.0-2.jar/
          classpathentry kind=var path=M2_REPO/antlr/antlr/2.7.6/
   antlr-2.7.6.jar/
          classpathentry kind=var path=M2_REPO/org/antlr/antlr-runtime/
   3.1.3/antlr-runtime-3.1.3.jar/
          classpathentry kind=var
   path=M2_REPO/asm/asm/1.5.3/asm-1.5.3.jar/

          classpathentry kind=var path=M2_REPO/asm/asm-attrs/1.5.3/asm-
   attrs-1.5.3.jar/
          classpathentry kind=var path=M2_REPO/avalon-framework/avalon-
   framework/4.1.3/avalon-framework-4.1.3.jar/
          classpathentry kind=var path=M2_REPO/bouncycastle/bcmail-
   jdk14/138/bcmail-jdk14-138.jar/
          classpathentry kind=var path=M2_REPO/bouncycastle/bcprov-
   jdk14/138/bcprov-jdk14-138.jar/
          classpathentry kind=var path=M2_REPO/cglib/cglib/2.1_3/
   cglib-2.1_3.jar/
          classpathentry kind=var path=M2_REPO/org/cobogw/gwt/cobogw/1.0/
   cobogw-1.0.jar/
          classpathentry kind=var path=M2_REPO/org/apache/jasper/
   springsource/
   com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/
   6.0.20.S2-r5956/
   com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-
   r5956.jar/
          classpathentry kind=var
   path=M2_REPO/commons-codec/commons-codec/
   1.2/commons-codec-1.2.jar/
          classpathentry kind=var
   path=M2_REPO/commons-collections/commons-
   collections/3.1/commons-collections-3.1.jar/
          classpathentry kind=var 
   path=M2_REPO/commons-fileupload/commons-
   fileupload/1.2.1/commons-fileupload-1.2.1.jar/
          classpathentry kind=var 
   path=M2_REPO/commons-httpclient/commons-
   httpclient/3.1/commons-httpclient-3.1.jar/
          classpathentry kind=var path=M2_REPO/commons-io/commons-io/1.4/
   commons-io-1.4.jar/
          classpathentry kind=var path=M2_REPO/commons-logging/commons-
   logging/1.1/commons-logging-1.1.jar/
          classpathentry kind=var
   path=M2_REPO/concurrent/concurrent/1.3.4/
   concurrent-1.3.4.jar/
          classpathentry kind=var path=M2_REPO/org/apache/derby/derby/
   10.2.1.6/derby-10.2.1.6.jar/
          classpathentry kind=var path=M2_REPO/dom4j/dom4j/1.6.1-brew/
   dom4j-1.6.1-brew.jar/
          classpathentry kind=src path=/drools-api/
          classpathentry kind=src path=/drools-bpmn2/
          classpathentry kind=src path=/drools-compiler/
          classpathentry kind=src path=/drools-core/
          classpathentry kind=src path=/drools-decisiontables/
          classpathentry kind=src path=/drools-doc/
          classpathentry kind=src path=/drools-factconstraint/
          classpathentry kind=src 

Re: Compilation Error

2010-04-21 Thread Rajeev Dayal
Great, glad it is working.

On Wed, Apr 21, 2010 at 9:41 AM, rxm0203 rxm0...@gmail.com wrote:

 Here is the update. I removed the mentioned jar file from Drools-
 Guvnor's dependent projects class path. Now, I am able to compile
 successfully. Thanks for your help.

 On Apr 20, 6:51 pm, rxm0203 rxm0...@gmail.com wrote:
  I removed the mentioned jar file. I am still getting
 samecompilationerror. Which is second entry should I remove?
 
  On Apr 20, 12:08 pm, Rajeev Dayal rda...@google.com wrote:
 
   These two entries look to be problematic:
 
 classpathentry kind=var path=M2_REPO/org/apache/jasper/
   springsource/
   com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/
   6.0.20.S2-r5956/
  
 com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-
   r5956.jar/
 
   Are these jars required? Can you remove them?
 
   On Mon, Apr 19, 2010 at 2:49 PM, rxm0203 rxm0...@gmail.com wrote:
Here are the contents of .classpath file.
 
?xml version=1.0 encoding=UTF-8?
classpath
   classpathentry kind=src output=target/test-classes
 path=src/
test/java/
   classpathentry excluding=**/*.java including=**
 kind=src
output=target/test-classes path=src/test/resources/
   classpathentry including=**/*.java kind=src
path=src/main/java/
 
   classpathentry excluding=**/*.java kind=src
 path=src/main/
resources/
   classpathentry kind=var
path=M2_REPO/javax/activation/activation/
1.1/activation-1.1.jar/
   classpathentry kind=var
 path=M2_REPO/javax/ejb/ejb-api/3.0/ejb-
api-3.0.jar/
   classpathentry kind=var
 path=M2_REPO/javax/el/el-api/1.2/el-
api-1.2.jar/
   classpathentry kind=var
 path=M2_REPO/javax/el/el-ri/1.2/el-
ri-1.2.jar/
   classpathentry kind=var
path=M2_REPO/javax/xml/bind/jaxb-api/2.1/
jaxb-api-2.1.jar/
   classpathentry kind=var path=M2_REPO/javax/jcr/jcr/1.0/
jcr-1.0.jar/
   classpathentry kind=var
path=M2_REPO/javax/faces/jsf-api/1.2/jsf-
api-1.2.jar/
   classpathentry kind=var
 path=M2_REPO/javax/servlet/jsp/jsp-api/
2.1/jsp-api-2.1.jar/
   classpathentry kind=var
 path=M2_REPO/javax/transaction/jta/1.1/
jta-1.1.jar/
   classpathentry kind=var path=M2_REPO/javax/persistence/
persistence-api/1.0/persistence-api-1.0.jar/
   classpathentry kind=var
 path=M2_REPO/javax/servlet/servlet-api/
2.3/servlet-api-2.3.jar/
   classpathentry kind=var
 path=M2_REPO/javax/xml/stream/stax-api/
1.0-2/stax-api-1.0-2.jar/
   classpathentry kind=var path=M2_REPO/antlr/antlr/2.7.6/
antlr-2.7.6.jar/
   classpathentry kind=var
 path=M2_REPO/org/antlr/antlr-runtime/
3.1.3/antlr-runtime-3.1.3.jar/
   classpathentry kind=var
path=M2_REPO/asm/asm/1.5.3/asm-1.5.3.jar/
 
   classpathentry kind=var
 path=M2_REPO/asm/asm-attrs/1.5.3/asm-
attrs-1.5.3.jar/
   classpathentry kind=var
 path=M2_REPO/avalon-framework/avalon-
framework/4.1.3/avalon-framework-4.1.3.jar/
   classpathentry kind=var path=M2_REPO/bouncycastle/bcmail-
jdk14/138/bcmail-jdk14-138.jar/
   classpathentry kind=var path=M2_REPO/bouncycastle/bcprov-
jdk14/138/bcprov-jdk14-138.jar/
   classpathentry kind=var path=M2_REPO/cglib/cglib/2.1_3/
cglib-2.1_3.jar/
   classpathentry kind=var
 path=M2_REPO/org/cobogw/gwt/cobogw/1.0/
cobogw-1.0.jar/
   classpathentry kind=var path=M2_REPO/org/apache/jasper/
springsource/
com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/
6.0.20.S2-r5956/
   
 com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-
r5956.jar/
   classpathentry kind=var
path=M2_REPO/commons-codec/commons-codec/
1.2/commons-codec-1.2.jar/
   classpathentry kind=var
path=M2_REPO/commons-collections/commons-
collections/3.1/commons-collections-3.1.jar/
   classpathentry kind=var
 path=M2_REPO/commons-fileupload/commons-
fileupload/1.2.1/commons-fileupload-1.2.1.jar/
   classpathentry kind=var
 path=M2_REPO/commons-httpclient/commons-
httpclient/3.1/commons-httpclient-3.1.jar/
   classpathentry kind=var
 path=M2_REPO/commons-io/commons-io/1.4/
commons-io-1.4.jar/
   classpathentry kind=var
 path=M2_REPO/commons-logging/commons-
logging/1.1/commons-logging-1.1.jar/
   classpathentry kind=var
path=M2_REPO/concurrent/concurrent/1.3.4/
concurrent-1.3.4.jar/
   classpathentry kind=var
 path=M2_REPO/org/apache/derby/derby/
10.2.1.6/derby-10.2.1.6.jar/
   classpathentry kind=var
 path=M2_REPO/dom4j/dom4j/1.6.1-brew/
dom4j-1.6.1-brew.jar/
   classpathentry kind=src path=/drools-api/
   classpathentry kind=src path=/drools-bpmn2/
   classpathentry kind=src path=/drools-compiler/
   classpathentry kind=src path=/drools-core/
 

Re: Compilation Error

2010-04-20 Thread Rajeev Dayal
These two entries look to be problematic:

  classpathentry kind=var path=M2_REPO/org/apache/jasper/
springsource/
com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/
6.0.20.S2-r5956/
com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-
r5956.jar/

Are these jars required? Can you remove them?


On Mon, Apr 19, 2010 at 2:49 PM, rxm0203 rxm0...@gmail.com wrote:

 Here are the contents of .classpath file.

 ?xml version=1.0 encoding=UTF-8?
 classpath
classpathentry kind=src output=target/test-classes path=src/
 test/java/
classpathentry excluding=**/*.java including=** kind=src
 output=target/test-classes path=src/test/resources/
classpathentry including=**/*.java kind=src
 path=src/main/java/
 
classpathentry excluding=**/*.java kind=src path=src/main/
 resources/
classpathentry kind=var
 path=M2_REPO/javax/activation/activation/
 1.1/activation-1.1.jar/
classpathentry kind=var path=M2_REPO/javax/ejb/ejb-api/3.0/ejb-
 api-3.0.jar/
classpathentry kind=var path=M2_REPO/javax/el/el-api/1.2/el-
 api-1.2.jar/
classpathentry kind=var path=M2_REPO/javax/el/el-ri/1.2/el-
 ri-1.2.jar/
classpathentry kind=var
 path=M2_REPO/javax/xml/bind/jaxb-api/2.1/
 jaxb-api-2.1.jar/
classpathentry kind=var path=M2_REPO/javax/jcr/jcr/1.0/
 jcr-1.0.jar/
classpathentry kind=var
 path=M2_REPO/javax/faces/jsf-api/1.2/jsf-
 api-1.2.jar/
classpathentry kind=var path=M2_REPO/javax/servlet/jsp/jsp-api/
 2.1/jsp-api-2.1.jar/
classpathentry kind=var path=M2_REPO/javax/transaction/jta/1.1/
 jta-1.1.jar/
classpathentry kind=var path=M2_REPO/javax/persistence/
 persistence-api/1.0/persistence-api-1.0.jar/
classpathentry kind=var path=M2_REPO/javax/servlet/servlet-api/
 2.3/servlet-api-2.3.jar/
classpathentry kind=var path=M2_REPO/javax/xml/stream/stax-api/
 1.0-2/stax-api-1.0-2.jar/
classpathentry kind=var path=M2_REPO/antlr/antlr/2.7.6/
 antlr-2.7.6.jar/
classpathentry kind=var path=M2_REPO/org/antlr/antlr-runtime/
 3.1.3/antlr-runtime-3.1.3.jar/
classpathentry kind=var
 path=M2_REPO/asm/asm/1.5.3/asm-1.5.3.jar/
 
classpathentry kind=var path=M2_REPO/asm/asm-attrs/1.5.3/asm-
 attrs-1.5.3.jar/
classpathentry kind=var path=M2_REPO/avalon-framework/avalon-
 framework/4.1.3/avalon-framework-4.1.3.jar/
classpathentry kind=var path=M2_REPO/bouncycastle/bcmail-
 jdk14/138/bcmail-jdk14-138.jar/
classpathentry kind=var path=M2_REPO/bouncycastle/bcprov-
 jdk14/138/bcprov-jdk14-138.jar/
classpathentry kind=var path=M2_REPO/cglib/cglib/2.1_3/
 cglib-2.1_3.jar/
classpathentry kind=var path=M2_REPO/org/cobogw/gwt/cobogw/1.0/
 cobogw-1.0.jar/
classpathentry kind=var path=M2_REPO/org/apache/jasper/
 springsource/
 com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/
 6.0.20.S2-r5956/
 com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-
 r5956.jar/
classpathentry kind=var
 path=M2_REPO/commons-codec/commons-codec/
 1.2/commons-codec-1.2.jar/
classpathentry kind=var
 path=M2_REPO/commons-collections/commons-
 collections/3.1/commons-collections-3.1.jar/
classpathentry kind=var path=M2_REPO/commons-fileupload/commons-
 fileupload/1.2.1/commons-fileupload-1.2.1.jar/
classpathentry kind=var path=M2_REPO/commons-httpclient/commons-
 httpclient/3.1/commons-httpclient-3.1.jar/
classpathentry kind=var path=M2_REPO/commons-io/commons-io/1.4/
 commons-io-1.4.jar/
classpathentry kind=var path=M2_REPO/commons-logging/commons-
 logging/1.1/commons-logging-1.1.jar/
classpathentry kind=var
 path=M2_REPO/concurrent/concurrent/1.3.4/
 concurrent-1.3.4.jar/
classpathentry kind=var path=M2_REPO/org/apache/derby/derby/
 10.2.1.6/derby-10.2.1.6.jar/
classpathentry kind=var path=M2_REPO/dom4j/dom4j/1.6.1-brew/
 dom4j-1.6.1-brew.jar/
classpathentry kind=src path=/drools-api/
classpathentry kind=src path=/drools-bpmn2/
classpathentry kind=src path=/drools-compiler/
classpathentry kind=src path=/drools-core/
classpathentry kind=src path=/drools-decisiontables/
classpathentry kind=src path=/drools-doc/
classpathentry kind=src path=/drools-factconstraint/
classpathentry kind=src path=/drools-repository/
classpathentry kind=src path=/drools-templates/
classpathentry kind=src path=/drools-verifier/
classpathentry kind=var
 path=M2_REPO/net/sf/ehcache/ehcache/1.2.3/
 ehcache-1.2.3.jar/
classpathentry kind=var
 path=M2_REPO/ch/ethz/ganymed/ganymed-ssh2/
 build210/ganymed-ssh2-build210.jar/
classpathentry kind=var path=M2_REPO/com/google/collections/
 google-collections/0.8/google-collections-0.8.jar/
classpathentry kind=var path=M2_REPO/org/antlr/gunit/3.1.3/
 gunit-3.1.3.jar/
classpathentry kind=var 

Re: Compilation Error

2010-04-20 Thread rxm0203
I removed the mentioned jar file. I am still getting same compilation
error. Which is second entry should I remove?

On Apr 20, 12:08 pm, Rajeev Dayal rda...@google.com wrote:
 These two entries look to be problematic:

   classpathentry kind=var path=M2_REPO/org/apache/jasper/
 springsource/
 com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/
 6.0.20.S2-r5956/
 com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-
 r5956.jar/

 Are these jars required? Can you remove them?

 On Mon, Apr 19, 2010 at 2:49 PM, rxm0203 rxm0...@gmail.com wrote:
  Here are the contents of .classpath file.

  ?xml version=1.0 encoding=UTF-8?
  classpath
         classpathentry kind=src output=target/test-classes path=src/
  test/java/
         classpathentry excluding=**/*.java including=** kind=src
  output=target/test-classes path=src/test/resources/
         classpathentry including=**/*.java kind=src
  path=src/main/java/

         classpathentry excluding=**/*.java kind=src path=src/main/
  resources/
         classpathentry kind=var
  path=M2_REPO/javax/activation/activation/
  1.1/activation-1.1.jar/
         classpathentry kind=var path=M2_REPO/javax/ejb/ejb-api/3.0/ejb-
  api-3.0.jar/
         classpathentry kind=var path=M2_REPO/javax/el/el-api/1.2/el-
  api-1.2.jar/
         classpathentry kind=var path=M2_REPO/javax/el/el-ri/1.2/el-
  ri-1.2.jar/
         classpathentry kind=var
  path=M2_REPO/javax/xml/bind/jaxb-api/2.1/
  jaxb-api-2.1.jar/
         classpathentry kind=var path=M2_REPO/javax/jcr/jcr/1.0/
  jcr-1.0.jar/
         classpathentry kind=var
  path=M2_REPO/javax/faces/jsf-api/1.2/jsf-
  api-1.2.jar/
         classpathentry kind=var path=M2_REPO/javax/servlet/jsp/jsp-api/
  2.1/jsp-api-2.1.jar/
         classpathentry kind=var path=M2_REPO/javax/transaction/jta/1.1/
  jta-1.1.jar/
         classpathentry kind=var path=M2_REPO/javax/persistence/
  persistence-api/1.0/persistence-api-1.0.jar/
         classpathentry kind=var path=M2_REPO/javax/servlet/servlet-api/
  2.3/servlet-api-2.3.jar/
         classpathentry kind=var path=M2_REPO/javax/xml/stream/stax-api/
  1.0-2/stax-api-1.0-2.jar/
         classpathentry kind=var path=M2_REPO/antlr/antlr/2.7.6/
  antlr-2.7.6.jar/
         classpathentry kind=var path=M2_REPO/org/antlr/antlr-runtime/
  3.1.3/antlr-runtime-3.1.3.jar/
         classpathentry kind=var
  path=M2_REPO/asm/asm/1.5.3/asm-1.5.3.jar/

         classpathentry kind=var path=M2_REPO/asm/asm-attrs/1.5.3/asm-
  attrs-1.5.3.jar/
         classpathentry kind=var path=M2_REPO/avalon-framework/avalon-
  framework/4.1.3/avalon-framework-4.1.3.jar/
         classpathentry kind=var path=M2_REPO/bouncycastle/bcmail-
  jdk14/138/bcmail-jdk14-138.jar/
         classpathentry kind=var path=M2_REPO/bouncycastle/bcprov-
  jdk14/138/bcprov-jdk14-138.jar/
         classpathentry kind=var path=M2_REPO/cglib/cglib/2.1_3/
  cglib-2.1_3.jar/
         classpathentry kind=var path=M2_REPO/org/cobogw/gwt/cobogw/1.0/
  cobogw-1.0.jar/
         classpathentry kind=var path=M2_REPO/org/apache/jasper/
  springsource/
  com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/
  6.0.20.S2-r5956/
  com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-
  r5956.jar/
         classpathentry kind=var
  path=M2_REPO/commons-codec/commons-codec/
  1.2/commons-codec-1.2.jar/
         classpathentry kind=var
  path=M2_REPO/commons-collections/commons-
  collections/3.1/commons-collections-3.1.jar/
         classpathentry kind=var path=M2_REPO/commons-fileupload/commons-
  fileupload/1.2.1/commons-fileupload-1.2.1.jar/
         classpathentry kind=var path=M2_REPO/commons-httpclient/commons-
  httpclient/3.1/commons-httpclient-3.1.jar/
         classpathentry kind=var path=M2_REPO/commons-io/commons-io/1.4/
  commons-io-1.4.jar/
         classpathentry kind=var path=M2_REPO/commons-logging/commons-
  logging/1.1/commons-logging-1.1.jar/
         classpathentry kind=var
  path=M2_REPO/concurrent/concurrent/1.3.4/
  concurrent-1.3.4.jar/
         classpathentry kind=var path=M2_REPO/org/apache/derby/derby/
  10.2.1.6/derby-10.2.1.6.jar/
         classpathentry kind=var path=M2_REPO/dom4j/dom4j/1.6.1-brew/
  dom4j-1.6.1-brew.jar/
         classpathentry kind=src path=/drools-api/
         classpathentry kind=src path=/drools-bpmn2/
         classpathentry kind=src path=/drools-compiler/
         classpathentry kind=src path=/drools-core/
         classpathentry kind=src path=/drools-decisiontables/
         classpathentry kind=src path=/drools-doc/
         classpathentry kind=src path=/drools-factconstraint/
         classpathentry kind=src path=/drools-repository/
         classpathentry kind=src path=/drools-templates/
         classpathentry kind=src path=/drools-verifier/
         classpathentry kind=var
  path=M2_REPO/net/sf/ehcache/ehcache/1.2.3/
  ehcache-1.2.3.jar/
         classpathentry kind=var
  path=M2_REPO/ch/ethz/ganymed/ganymed-ssh2/
  

Re: Compilation Error

2010-04-19 Thread rxm0203
Hi Rajeev,

I don't see JDT appearing on the build path. Let  me know your
suggestions for the next step.

Thanks,

Rahul

On Apr 16, 10:28 am, Rajeev Dayal rda...@google.com wrote:
 Hm, I'm wondering if there is some sort of issue with multiple versions of
 JDT appearing on the classpath. Does Drools utilize JDT? What does your
 build path look like?



 On Thu, Apr 15, 2010 at 5:00 PM, rxm0203 rxm0...@gmail.com wrote:
  I hope this is the correct mailing list for the question. We are
  working on Custom Business Rules designer for our application suite.
  We are going to customize Drools Guvnor user interface as per our
  requirements. I checked out latest Drools Guvnor source code from SVN.
  I am trying to compile and build source code. I am using Eclipse 3.5
  for EE and latest GWT Eclipse plug in. However, Drools Guvnor fails to
  compile when I click GWT plug in button from Eclipse menu bar. Here is
  an error log from GWT console.

  Compiling module org.drools.guvnor.Guvnor
  [ERROR] Unexpected
  java.lang.NoSuchFieldError:
  reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
     at
  com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:
  310)
     at com.google.gwt.dev.javac.JdtCompiler
  $CompilerImpl.init(JdtCompiler.java:148)
     at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:
  466)
     at com.google.gwt.dev.javac.CompilationStateBuilder
  $CompileMoreLater.compile(CompilationStateBuilder.java:142)
     at

  com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:
  281)
     at

  com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:
  182)
     at
  com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:
  280)
     at com.google.gwt.dev.Precompile.precompile(Precompile.java:502)
     at com.google.gwt.dev.Precompile.precompile(Precompile.java:414)
     at com.google.gwt.dev.Compiler.run(Compiler.java:201)
     at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
     at
  com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
     at

  com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:
  81)
     at com.google.gwt.dev.Compiler.main(Compiler.java:159)

  Does anyone has resolution to the issue?

  --
  You received this message because you are subscribed to the Google Groups
  Google Web Toolkit group.
  To post to this group, send email to google-web-tool...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

 --
 You received this message because you are subscribed to the Google Groups 
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compilation Error

2010-04-19 Thread Rajeev Dayal
Can you post the contents of your .classpath file?

On Mon, Apr 19, 2010 at 11:42 AM, rxm0203 rxm0...@gmail.com wrote:

 Hi Rajeev,

 I don't see JDT appearing on the build path. Let  me know your
 suggestions for the next step.

 Thanks,

 Rahul

 On Apr 16, 10:28 am, Rajeev Dayal rda...@google.com wrote:
  Hm, I'm wondering if there is some sort of issue with multiple versions
 of
  JDT appearing on the classpath. Does Drools utilize JDT? What does your
  build path look like?
 
 
 
  On Thu, Apr 15, 2010 at 5:00 PM, rxm0203 rxm0...@gmail.com wrote:
   I hope this is the correct mailing list for the question. We are
   working on Custom Business Rules designer for our application suite.
   We are going to customize Drools Guvnor user interface as per our
   requirements. I checked out latest Drools Guvnor source code from SVN.
   I am trying to compile and build source code. I am using Eclipse 3.5
   for EE and latest GWT Eclipse plug in. However, Drools Guvnor fails to
   compile when I click GWT plug in button from Eclipse menu bar. Here is
   an error log from GWT console.
 
   Compiling module org.drools.guvnor.Guvnor
   [ERROR] Unexpected
   java.lang.NoSuchFieldError:
   reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
  at
  
 com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:
   310)
  at com.google.gwt.dev.javac.JdtCompiler
   $CompilerImpl.init(JdtCompiler.java:148)
  at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:
   466)
  at com.google.gwt.dev.javac.CompilationStateBuilder
   $CompileMoreLater.compile(CompilationStateBuilder.java:142)
  at
 
  
 com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:
   281)
  at
 
  
 com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:
   182)
  at
   com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:
   280)
  at com.google.gwt.dev.Precompile.precompile(Precompile.java:502)
  at com.google.gwt.dev.Precompile.precompile(Precompile.java:414)
  at com.google.gwt.dev.Compiler.run(Compiler.java:201)
  at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
  at
   com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
  at
 
  
 com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:
   81)
  at com.google.gwt.dev.Compiler.main(Compiler.java:159)
 
   Does anyone has resolution to the issue?
 
   --
   You received this message because you are subscribed to the Google
 Groups
   Google Web Toolkit group.
   To post to this group, send email to
 google-web-tool...@googlegroups.com.
   To unsubscribe from this group, send email to
   google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com
 
   .
   For more options, visit this group at
  http://groups.google.com/group/google-web-toolkit?hl=en.
 
  --
  You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
  To post to this group, send email to google-web-toolkit@googlegroups.com
 .
  To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
  For more options, visit this group athttp://
 groups.google.com/group/google-web-toolkit?hl=en.

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compilation Error

2010-04-19 Thread rxm0203
Here are the contents of .classpath file.

?xml version=1.0 encoding=UTF-8?
classpath
classpathentry kind=src output=target/test-classes path=src/
test/java/
classpathentry excluding=**/*.java including=** kind=src
output=target/test-classes path=src/test/resources/
classpathentry including=**/*.java kind=src path=src/main/java/

classpathentry excluding=**/*.java kind=src path=src/main/
resources/
classpathentry kind=var path=M2_REPO/javax/activation/activation/
1.1/activation-1.1.jar/
classpathentry kind=var path=M2_REPO/javax/ejb/ejb-api/3.0/ejb-
api-3.0.jar/
classpathentry kind=var path=M2_REPO/javax/el/el-api/1.2/el-
api-1.2.jar/
classpathentry kind=var path=M2_REPO/javax/el/el-ri/1.2/el-
ri-1.2.jar/
classpathentry kind=var path=M2_REPO/javax/xml/bind/jaxb-api/2.1/
jaxb-api-2.1.jar/
classpathentry kind=var path=M2_REPO/javax/jcr/jcr/1.0/
jcr-1.0.jar/
classpathentry kind=var path=M2_REPO/javax/faces/jsf-api/1.2/jsf-
api-1.2.jar/
classpathentry kind=var path=M2_REPO/javax/servlet/jsp/jsp-api/
2.1/jsp-api-2.1.jar/
classpathentry kind=var path=M2_REPO/javax/transaction/jta/1.1/
jta-1.1.jar/
classpathentry kind=var path=M2_REPO/javax/persistence/
persistence-api/1.0/persistence-api-1.0.jar/
classpathentry kind=var path=M2_REPO/javax/servlet/servlet-api/
2.3/servlet-api-2.3.jar/
classpathentry kind=var path=M2_REPO/javax/xml/stream/stax-api/
1.0-2/stax-api-1.0-2.jar/
classpathentry kind=var path=M2_REPO/antlr/antlr/2.7.6/
antlr-2.7.6.jar/
classpathentry kind=var path=M2_REPO/org/antlr/antlr-runtime/
3.1.3/antlr-runtime-3.1.3.jar/
classpathentry kind=var path=M2_REPO/asm/asm/1.5.3/asm-1.5.3.jar/

classpathentry kind=var path=M2_REPO/asm/asm-attrs/1.5.3/asm-
attrs-1.5.3.jar/
classpathentry kind=var path=M2_REPO/avalon-framework/avalon-
framework/4.1.3/avalon-framework-4.1.3.jar/
classpathentry kind=var path=M2_REPO/bouncycastle/bcmail-
jdk14/138/bcmail-jdk14-138.jar/
classpathentry kind=var path=M2_REPO/bouncycastle/bcprov-
jdk14/138/bcprov-jdk14-138.jar/
classpathentry kind=var path=M2_REPO/cglib/cglib/2.1_3/
cglib-2.1_3.jar/
classpathentry kind=var path=M2_REPO/org/cobogw/gwt/cobogw/1.0/
cobogw-1.0.jar/
classpathentry kind=var path=M2_REPO/org/apache/jasper/
springsource/
com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/
6.0.20.S2-r5956/
com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2-
r5956.jar/
classpathentry kind=var path=M2_REPO/commons-codec/commons-codec/
1.2/commons-codec-1.2.jar/
classpathentry kind=var path=M2_REPO/commons-collections/commons-
collections/3.1/commons-collections-3.1.jar/
classpathentry kind=var path=M2_REPO/commons-fileupload/commons-
fileupload/1.2.1/commons-fileupload-1.2.1.jar/
classpathentry kind=var path=M2_REPO/commons-httpclient/commons-
httpclient/3.1/commons-httpclient-3.1.jar/
classpathentry kind=var path=M2_REPO/commons-io/commons-io/1.4/
commons-io-1.4.jar/
classpathentry kind=var path=M2_REPO/commons-logging/commons-
logging/1.1/commons-logging-1.1.jar/
classpathentry kind=var path=M2_REPO/concurrent/concurrent/1.3.4/
concurrent-1.3.4.jar/
classpathentry kind=var path=M2_REPO/org/apache/derby/derby/
10.2.1.6/derby-10.2.1.6.jar/
classpathentry kind=var path=M2_REPO/dom4j/dom4j/1.6.1-brew/
dom4j-1.6.1-brew.jar/
classpathentry kind=src path=/drools-api/
classpathentry kind=src path=/drools-bpmn2/
classpathentry kind=src path=/drools-compiler/
classpathentry kind=src path=/drools-core/
classpathentry kind=src path=/drools-decisiontables/
classpathentry kind=src path=/drools-doc/
classpathentry kind=src path=/drools-factconstraint/
classpathentry kind=src path=/drools-repository/
classpathentry kind=src path=/drools-templates/
classpathentry kind=src path=/drools-verifier/
classpathentry kind=var path=M2_REPO/net/sf/ehcache/ehcache/1.2.3/
ehcache-1.2.3.jar/
classpathentry kind=var path=M2_REPO/ch/ethz/ganymed/ganymed-ssh2/
build210/ganymed-ssh2-build210.jar/
classpathentry kind=var path=M2_REPO/com/google/collections/
google-collections/0.8/google-collections-0.8.jar/
classpathentry kind=var path=M2_REPO/org/antlr/gunit/3.1.3/
gunit-3.1.3.jar/
classpathentry kind=var path=M2_REPO/pl/balon/gwt/gwt-diagrams/
0.2-RC00/gwt-diagrams-0.2-RC00.jar/
classpathentry kind=var path=M2_REPO/com/google/gwt/gwt-servlet/
1.5.3/gwt-servlet-1.5.3.jar/
classpathentry kind=var path=M2_REPO/com/gwtext/gwtext/2.0.5/
gwtext-2.0.5.jar/
classpathentry kind=var path=M2_REPO/org/hibernate/hibernate/
3.2.4.sp1/hibernate-3.2.4.sp1.jar/
classpathentry kind=var path=M2_REPO/org/hibernate/hibernate-

Re: Compilation Error

2010-04-16 Thread Rajeev Dayal
Hm, I'm wondering if there is some sort of issue with multiple versions of
JDT appearing on the classpath. Does Drools utilize JDT? What does your
build path look like?

On Thu, Apr 15, 2010 at 5:00 PM, rxm0203 rxm0...@gmail.com wrote:

 I hope this is the correct mailing list for the question. We are
 working on Custom Business Rules designer for our application suite.
 We are going to customize Drools Guvnor user interface as per our
 requirements. I checked out latest Drools Guvnor source code from SVN.
 I am trying to compile and build source code. I am using Eclipse 3.5
 for EE and latest GWT Eclipse plug in. However, Drools Guvnor fails to
 compile when I click GWT plug in button from Eclipse menu bar. Here is
 an error log from GWT console.

 Compiling module org.drools.guvnor.Guvnor
 [ERROR] Unexpected
 java.lang.NoSuchFieldError:
 reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
at
 com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:
 310)
at com.google.gwt.dev.javac.JdtCompiler
 $CompilerImpl.init(JdtCompiler.java:148)
at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:
 466)
at com.google.gwt.dev.javac.CompilationStateBuilder
 $CompileMoreLater.compile(CompilationStateBuilder.java:142)
at

 com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:
 281)
at

 com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:
 182)
at
 com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:
 280)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:502)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:414)
at com.google.gwt.dev.Compiler.run(Compiler.java:201)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
at
 com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
at

 com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:
 81)
at com.google.gwt.dev.Compiler.main(Compiler.java:159)

 Does anyone has resolution to the issue?

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compilation error

2010-01-08 Thread Raman
Looks like I have finally solved the problem.

The case was something like this.
I am using ExtGWT which has a class TreePanel with an inner class
TreeNode, which looks like below:

public class TreePanelM extends ModelData {


-
class TreeNode {
  
  ---
  private M data;
}
--
}

And, since the TreeNode class is public inside TreePanel, I was
directly using TreeNode class in my code.

I would do:

import ..TrePanel.TreeNode;
-
--

TreeNode node = ;

As you can see, TreeNode internally uses the type M, which is not
defined in the above kind of usage.
And GWT compiler gets confused when it sees this.

I solved this problem by removing the import statement as accessing
the TreeNode only in the context of the outer class(TreePanel) like
this:

TreePanelMyModeldata.TreeNode node = x;

This solved the issue.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Compilation error

2010-01-08 Thread dangle
I rebuilt the toolkit from source and narrowed down the issue a bit
myself, definitely seems to have something to do with inner classes
being defined inside generic classes.  Unfortunately my codebase is
pretty big and we do this in multiple spots, so I'm still trying to
get around it.  Will see if i can make similar changes to what Raman
has done... but I think that the code around this part of resolving
generic types could use a little more error handling to identify these
cases at least, because without compiling from source with my own
debug statements I wasn't even able to figure out which classes it
first started complaining about.

cheers
Dan

On Jan 8, 4:23 am, Raman rama...@gmail.com wrote:
 Looks like I have finally solved the problem.

 The case was something like this.
 I am using ExtGWT which has a class TreePanel with an inner class
 TreeNode, which looks like below:

 public class TreePanelM extends ModelData {

 
 -
     class TreeNode {
       
       ---
       private M data;
     }
 --

 }

 And, since the TreeNode class is public inside TreePanel, I was
 directly using TreeNode class in my code.

 I would do:

 import ..TrePanel.TreeNode;
 -
 --

 TreeNode node = ;

 As you can see, TreeNode internally uses the type M, which is not
 defined in the above kind of usage.
 And GWT compiler gets confused when it sees this.

 I solved this problem by removing the import statement as accessing
 the TreeNode only in the context of the outer class(TreePanel) like
 this:

 TreePanelMyModeldata.TreeNode node = x;

 This solved the issue.
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Compilation error

2010-01-08 Thread dangle
As a temporary workaround since I've already burned a whole day on
this one, I just refactored several inner classes to the top level.
It just compiled.

I think my case may have actually done something similar, only where
(to use Raman's example) it actually defined TreePanel.TreeNode as
part of a method signature, without specifying any type on the
parent...

This stuff all used to compile fine, so hopefully my other projects
don't require too much refactoring, but at least there seem to be ways
to work around it.  Thanks for the post, Raman.

Dan

On Jan 8, 4:23 am, Raman rama...@gmail.com wrote:
 Looks like I have finally solved the problem.

 The case was something like this.
 I am using ExtGWT which has a class TreePanel with an inner class
 TreeNode, which looks like below:

 public class TreePanelM extends ModelData {

 
 -
     class TreeNode {
       
       ---
       private M data;
     }
 --

 }

 And, since the TreeNode class is public inside TreePanel, I was
 directly using TreeNode class in my code.

 I would do:

 import ..TrePanel.TreeNode;
 -
 --

 TreeNode node = ;

 As you can see, TreeNode internally uses the type M, which is not
 defined in the above kind of usage.
 And GWT compiler gets confused when it sees this.

 I solved this problem by removing the import statement as accessing
 the TreeNode only in the context of the outer class(TreePanel) like
 this:

 TreePanelMyModeldata.TreeNode node = x;

 This solved the issue.
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Compilation error

2010-01-07 Thread dangle
I just got the same error on one project, although I've successfully
been able to compile others.  No idea why yet... anyone have any
ideas?


On Jan 7, 12:28 am, Raman rama...@gmail.com wrote:
 I just upgraded to GWT 2.0.
 But when I compile my source code with com.google.gwt.dev.Compiler, I
 get a NullPointerException as below. What am I doing wrong?

 [ERROR] Unexpected
 java.lang.NullPointerException
         at
 com.google.gwt.dev.javac.asm.ResolveTypeSignature.mergeTypeParamBound
 s(ResolveTypeSignature.java:229)
         at
 com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGeneric(Reso
 lveTypeSignature.java:300)
         at
 com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGeneric(Reso
 lveTypeSignature.java:297)
         at
 com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGenerics(Res
 olveTypeSignature.java:339)
         at com.google.gwt.dev.javac.asm.ResolveTypeSignature.visitEnd
 (ResolveTyp
 eSignature.java:155)
         at com.google.gwt.dev.asm.signature.SignatureReader.parseType
 (SignatureR
 eader.java:188)
         at com.google.gwt.dev.asm.signature.SignatureReader.accept
 (SignatureRead
 er.java:100)
         at com.google.gwt.dev.javac.TypeOracleMediator.resolveMethod
 (TypeOracleM
 ediator.java:972)
         at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass
 (TypeOracleMe
 diator.java:767)
         at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass
 (TypeOracleMe
 diator.java:792)
         at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass
 (TypeOracleMe
 diator.java:698)
         at com.google.gwt.dev.javac.TypeOracleMediator.addNewUnits
 (TypeOracleMed
 iator.java:353)
         at com.google.gwt.dev.javac.CompilationState.assimilateUnits
 (Compilation
 State.java:135)
         at com.google.gwt.dev.javac.CompilationState.init
 (CompilationState.jav
 a:79)
         at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom
 (Compilat
 ionStateBuilder.java:284)
         at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom
 (Compilatio
 nStateBuilder.java:181)
         at com.google.gwt.dev.cfg.ModuleDef.getCompilationState
 (ModuleDef.java:2
 80)
         at com.google.gwt.dev.Precompile.precompile(Precompile.java:
 502)
         at com.google.gwt.dev.Precompile.precompile(Precompile.java:
 414)
         at com.google.gwt.dev.Compiler.run(Compiler.java:201)
         at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
         at com.google.gwt.dev.CompileTaskRunner.doRun
 (CompileTaskRunner.java:87)

         at
 com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(Compile
 TaskRunner.java:81)
         at com.google.gwt.dev.Compiler.main(Compiler.java:159)
-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




Re: Compilation error

2010-01-07 Thread Chris Ramsdale
Would either of you be able to narrow it down to a smaller repro case?

- Chris

On Thu, Jan 7, 2010 at 11:49 AM, dangle dancalv...@gmail.com wrote:

 I just got the same error on one project, although I've successfully
 been able to compile others.  No idea why yet... anyone have any
 ideas?


 On Jan 7, 12:28 am, Raman rama...@gmail.com wrote:
  I just upgraded to GWT 2.0.
  But when I compile my source code with com.google.gwt.dev.Compiler, I
  get a NullPointerException as below. What am I doing wrong?
 
  [ERROR] Unexpected
  java.lang.NullPointerException
  at
  com.google.gwt.dev.javac.asm.ResolveTypeSignature.mergeTypeParamBound
  s(ResolveTypeSignature.java:229)
  at
  com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGeneric(Reso
  lveTypeSignature.java:300)
  at
  com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGeneric(Reso
  lveTypeSignature.java:297)
  at
  com.google.gwt.dev.javac.asm.ResolveTypeSignature.resolveGenerics(Res
  olveTypeSignature.java:339)
  at com.google.gwt.dev.javac.asm.ResolveTypeSignature.visitEnd
  (ResolveTyp
  eSignature.java:155)
  at com.google.gwt.dev.asm.signature.SignatureReader.parseType
  (SignatureR
  eader.java:188)
  at com.google.gwt.dev.asm.signature.SignatureReader.accept
  (SignatureRead
  er.java:100)
  at com.google.gwt.dev.javac.TypeOracleMediator.resolveMethod
  (TypeOracleM
  ediator.java:972)
  at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass
  (TypeOracleMe
  diator.java:767)
  at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass
  (TypeOracleMe
  diator.java:792)
  at com.google.gwt.dev.javac.TypeOracleMediator.resolveClass
  (TypeOracleMe
  diator.java:698)
  at com.google.gwt.dev.javac.TypeOracleMediator.addNewUnits
  (TypeOracleMed
  iator.java:353)
  at com.google.gwt.dev.javac.CompilationState.assimilateUnits
  (Compilation
  State.java:135)
  at com.google.gwt.dev.javac.CompilationState.init
  (CompilationState.jav
  a:79)
  at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom
  (Compilat
  ionStateBuilder.java:284)
  at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom
  (Compilatio
  nStateBuilder.java:181)
  at com.google.gwt.dev.cfg.ModuleDef.getCompilationState
  (ModuleDef.java:2
  80)
  at com.google.gwt.dev.Precompile.precompile(Precompile.java:
  502)
  at com.google.gwt.dev.Precompile.precompile(Precompile.java:
  414)
  at com.google.gwt.dev.Compiler.run(Compiler.java:201)
  at com.google.gwt.dev.Compiler$1.run(Compiler.java:152)
  at com.google.gwt.dev.CompileTaskRunner.doRun
  (CompileTaskRunner.java:87)
 
  at
  com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(Compile
  TaskRunner.java:81)
  at com.google.gwt.dev.Compiler.main(Compiler.java:159)

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-web-tool...@googlegroups.com.

To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compilation Error

2009-09-25 Thread Adam T

 u can not use these classes in GWT - client side,
 read the doc for the allowed class,


more specifically, this is what you are allowed to use on GWT client
side: http://code.google.com/webtoolkit/doc/1.6/RefJreEmulation.html

//A


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Re: Compilation error after 1.5rc2 upgrade

2008-08-26 Thread Folke

On Aug 26, 11:37 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  On Aug 26, 11:15 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 http://code.google.com/p/google-web-toolkit/source/detail?r=3061

 Thanks for the quick reply. I guess I'd rather see compilation errors,
 but why not just implement the code, I wonder? It seems like it's a
 simple function, which would be better implemented in one place (the
 Collections emulation), than in the client code of each user. It's no
 big deal; now that I know, I'll implement it myself. But still... is
 this just a symptom of getting to crunch time with some code
 incomplete?

It's not that simple. The returned sublist is backed by the returning
list. Any change to the sublist also changes the parent list.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
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
-~--~~~~--~~--~--~---