[seam-dev] Seam 2.2.1 and AS 6 support

Shane Bryzak sbryzak at redhat.com
Fri Aug 27 22:31:58 EDT 2010


I know, it just felt more convenient to blame eclipse at the time ;)  
Anyway, it's all fixed now.

On 27/08/10 23:32, Marek Novotny wrote:
> hmm, that is not a mistake of eclipse. it is the way we defined seam
> project in eclipse. One global classpath in eclipse vs. ant/maven
> classpath for each module.
>
> Eclipse is more prepared for project for every module than one big
> eclipse project for multi module project as it is in 2.2 branch
>
> Shane Bryzak píše v Pá 27. 08. 2010 v 23:20 +1000:
>    
>> Bah, that's my fault.. stupid eclipse.
>>
>> On 27/08/10 18:00, Emmanuel Bernard wrote:
>>      
>>> Humf,
>>> This branch does not compile.
>>>
>>> using ant 1.7.0 in Seam_2_2
>>> ant build
>>>
>>> [artifact:dependencies] [INFO] snapshot org.jboss.seam:jboss-seam-pdf:2.2.1-SNAPSHOT: checking for updates from jboss-public-repository-group
>>>
>>> compilemail:
>>>       [javac] Compiling 17 source files to /Users/manu/projects/notbackedup/seam/Seam_2_2/classes/mailclasses
>>>       [javac] Note: Some input files use unchecked or unsafe operations.
>>>       [javac] Note: Recompile with -Xlint:unchecked for details.
>>>
>>> jarmail:
>>>         [jar] Building jar: /Users/manu/projects/notbackedup/seam/Seam_2_2/lib/jboss-seam-mail.jar
>>>         [jar] Building jar: /Users/manu/projects/notbackedup/seam/Seam_2_2/lib/src/jboss-seam-mail-sources.jar
>>> [artifact:install] [INFO] Installing /Users/manu/projects/notbackedup/seam/Seam_2_2/lib/jboss-seam-mail.jar to /Users/manu/.m2/repository/org/jboss/seam/jboss-seam-mail/2.2.1-SNAPSHOT/jboss-seam-mail-2.2.1-SNAPSHOT.jar
>>> [artifact:install] [INFO] Installing /Users/manu/projects/notbackedup/seam/Seam_2_2/lib/src/jboss-seam-mail-sources.jar to /Users/manu/.m2/repository/org/jboss/seam/jboss-seam-mail/2.2.1-SNAPSHOT/jboss-seam-mail-2.2.1-SNAPSHOT-sources.jar
>>>
>>> initremoting:
>>>        [echo] Build JBoss Seam remoting 2.2
>>>       [mkdir] Created dir: /Users/manu/projects/notbackedup/seam/Seam_2_2/classes/remotingclasses
>>>        [copy] Copying 2 files to /Users/manu/projects/notbackedup/seam/Seam_2_2/classes/remotingclasses
>>> [artifact:dependencies] Downloading: com/google/gwt/gwt-servlet/1.5.2/gwt-servlet-1.5.2.pom from central
>>> [artifact:dependencies] Downloading: com/google/gwt/gwt-servlet/1.5.2/gwt-servlet-1.5.2.jar from central
>>>
>>> compileremoting:
>>>       [javac] Compiling 39 source files to /Users/manu/projects/notbackedup/seam/Seam_2_2/classes/remotingclasses
>>>       [javac] /Users/manu/projects/notbackedup/seam/Seam_2_2/src/remoting/org/jboss/seam/remoting/messaging/UserTokens.java:6: package org.jboss.cache.util.concurrent does not exist
>>>       [javac] import org.jboss.cache.util.concurrent.ConcurrentHashSet;
>>>       [javac]                                       ^
>>>       [javac] /Users/manu/projects/notbackedup/seam/Seam_2_2/src/remoting/org/jboss/seam/remoting/messaging/UserTokens.java:16: cannot find symbol
>>>       [javac] symbol  : class ConcurrentHashSet
>>>       [javac] location: class org.jboss.seam.remoting.messaging.UserTokens
>>>       [javac]    Set<String>   tokens = new ConcurrentHashSet<String>();
>>>       [javac]                             ^
>>>       [javac] Note: Some input files use unchecked or unsafe operations.
>>>       [javac] Note: Recompile with -Xlint:unchecked for details.
>>>       [javac] 2 errors
>>>
>>> BUILD FAILED
>>> /Users/manu/projects/notbackedup/seam/Seam_2_2/build.xml:428: The following error occurred while executing this line:
>>> /Users/manu/projects/notbackedup/seam/Seam_2_2/build.xml:1050: Compile failed; see the compiler error output for details.
>>>
>>>
>>> On 26 août 2010, at 14:25, Marek Novotny wrote:
>>>
>>>
>>>        
>>>> Emmanuel Bernard píše v Čt 26. 08. 2010 v 13:55 +0200:
>>>>
>>>>          
>>>>> Hi guys,
>>>>> Ales has discovered a bug in the way Seam detects Hibernate Search.
>>>>> https://jira.jboss.org/browse/JBSEAM-4700 which may or may not  be all that's behind https://jira.jboss.org/browse/JBSEAM-4698
>>>>>
>>>>> (We also use Class.forName which seems bad as well but that's another story).
>>>>>
>>>>> I can try and commit a fix but would like to know:
>>>>> - if Seam 2.2 supports AS 6 (ie. Hibernate Core 3.5 and Search 3.2)
>>>>>
>>>>>            
>>>> basically we have dependencies to h-core 3.4.x and h-search 3.1, but
>>>> seam examples works fine on AS6 with higher versions, so I am not aware
>>>> of any incompatibility issues except the ones above.
>>>>
>>>>          
>>>>> - how to test my fix once applied (is that super easy or will it take forever(tm))
>>>>>
>>>>>            
>>>> I guess it can be easily verified by deploying any Seam examples which
>>>> is using h-search e.g. dvdstore or blog.
>>>>
>>>>          
>>>>> - Are you guys working off http://anonsvn.jboss.org/repos/seam/branches/community/Seam_2_2/ ?
>>>>>
>>>>>            
>>>> this is the correct branch for the fix
>>>>
>>>>          
>>>>> - this fix should be applied to Seam 3 Persistence very likely
>>>>>
>>>>> Of course if someone with deeper seam knowledge can take the bug fix from here, that would be much appreciated :)
>>>>>
>>>>>            
>>>> is there the fix, if you can provide #revision I can take a look and
>>>> back port it ;-)
>>>>
>>>>
>>>>          
>>>>> Emmanuel
>>>>> _______________________________________________
>>>>> seam-dev mailing list
>>>>> seam-dev at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/seam-dev
>>>>>
>>>>>            
>>>> -- 
>>>> Marek Novotny
>>>> --
>>>> Seam Product Lead
>>>>
>>>> Red Hat Czech s.r.o.
>>>> Purkynova 99
>>>> 612 45 Brno
>>>>
>>>> Email: mnovotny at redhat.com
>>>> Office phone: +420 532 294 287, ext. 82-62 087
>>>> mobile: +420 608 509 230
>>>>
>>>>
>>>>
>>>>          
>>> _______________________________________________
>>> seam-dev mailing list
>>> seam-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/seam-dev
>>>
>>>        
>>      
>    



More information about the seam-dev mailing list