[webbeans-dev] numberguess example

Pete Muir pmuir at bleepbleep.org.uk
Thu Dec 11 06:35:53 EST 2008


Ok, I added an ant target that wraps the maven build (to make sure you  
are on the right version). Please try

ant install

in the root dir.

On 11 Dec 2008, at 10:35, Pete Muir wrote:

> Weird. I can't reproduce. Stupid maven.
>
> On 10 Dec 2008, at 21:12, Nicklas Karlsson wrote:
>
>> Well, I had it up and running about the time when Pete wrote that it
>> was working so if it hasn't broke since then it could be a local
>> issue(?)
>>
>> On Wed, Dec 10, 2008 at 8:54 PM, Gavin King <gavin at hibernate.org>  
>> wrote:
>>> Sorry Pete, it's still very broken :-(
>>>
>>> On Wed, Dec 10, 2008 at 12:15 PM, Gavin King <gavin at hibernate.org>  
>>> wrote:
>>>> INFO] [compiler:compile]
>>>> [INFO] Compiling 103 source files to
>>>> /Users/gavin/Documents/workspace/trunk/webbeans-ri/target/classes
>>>> [INFO] [resources:testResources]
>>>> [WARNING] Using platform encoding (MacRoman actually) to copy  
>>>> filtered
>>>> resources, i.e. build is platform dependent!
>>>> [INFO] skip non existing resourceDirectory
>>>> /Users/gavin/Documents/workspace/trunk/webbeans-ri/src/test/ 
>>>> resources
>>>> [INFO]  
>>>> ------------------------------------------------------------------------
>>>> [ERROR] FATAL ERROR
>>>> [INFO]  
>>>> ------------------------------------------------------------------------
>>>> [INFO] version was null for org.jboss.deployers:jboss-deployers- 
>>>> structure-spi
>>>> [INFO]  
>>>> ------------------------------------------------------------------------
>>>> [INFO] Trace
>>>> java.lang.NullPointerException: version was null for
>>>> org.jboss.deployers:jboss-deployers-structure-spi
>>>>      at  
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .artifact.DefaultArtifact.getBaseVersion(DefaultArtifact.java:364)
>>>>      at  
>>>> org 
>>>> .apache.maven.artifact.DefaultArtifact.getId(DefaultArtifact.java: 
>>>> 225)
>>>>      at  
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .artifact 
>>>> .resolver.ResolutionNode.getDependencyTrail(ResolutionNode.java: 
>>>> 118)
>>>>      at  
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .artifact 
>>>> .resolver 
>>>> .DefaultArtifactCollector.collect(DefaultArtifactCollector.java:96)
>>>>      at  
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .artifact 
>>>> .resolver 
>>>> .DefaultArtifactResolver 
>>>> .resolveTransitively(DefaultArtifactResolver.java:284)
>>>>      at  
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .artifact 
>>>> .resolver 
>>>> .DefaultArtifactResolver 
>>>> .resolveTransitively(DefaultArtifactResolver.java:272)
>>>>      at  
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .plugin 
>>>> .DefaultPluginManager 
>>>> .resolveTransitiveDependencies(DefaultPluginManager.java:1238)
>>>>      at  
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .plugin 
>>>> .DefaultPluginManager.executeMojo(DefaultPluginManager.java:397)
>>>>      at  
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .lifecycle 
>>>> .DefaultLifecycleExecutor 
>>>> .executeGoals(DefaultLifecycleExecutor.java:539)
>>>>      at  
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .lifecycle 
>>>> .DefaultLifecycleExecutor 
>>>> .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
>>>>      at  
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .lifecycle 
>>>> .DefaultLifecycleExecutor 
>>>> .executeGoal(DefaultLifecycleExecutor.java:459)
>>>>      at  
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .lifecycle 
>>>> .DefaultLifecycleExecutor 
>>>> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>>>>      at  
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .lifecycle 
>>>> .DefaultLifecycleExecutor 
>>>> .executeTaskSegments(DefaultLifecycleExecutor.java:278)
>>>>      at  
>>>> org 
>>>> .apache 
>>>> .maven 
>>>> .lifecycle 
>>>> .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java: 
>>>> 143)
>>>>      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 
>>>> 334)
>>>>      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java: 
>>>> 125)
>>>>      at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
>>>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>      at  
>>>> sun 
>>>> .reflect 
>>>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>      at  
>>>> sun 
>>>> .reflect 
>>>> .DelegatingMethodAccessorImpl 
>>>> .invoke(DelegatingMethodAccessorImpl.java:25)
>>>>      at java.lang.reflect.Method.invoke(Method.java:585)
>>>>      at  
>>>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>>>      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>>>      at  
>>>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java: 
>>>> 430)
>>>>      at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>>>> [INFO]  
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 1 minute 57 seconds
>>>> [INFO] Finished at: Wed Dec 10 12:15:22 CST 2008
>>>> [INFO] Final Memory: 37M/63M
>>>> [INFO]  
>>>> ------------------------------------------------------------------------
>>>>
>>>>
>>>> On Wed, Dec 10, 2008 at 4:06 AM, Pete Muir  
>>>> <pmuir at bleepbleep.org.uk> wrote:
>>>>> After a few build problems, it looks like this is now working :-)
>>>>>
>>>>> On 9 Dec 2008, at 19:52, Gavin King wrote:
>>>>>
>>>>>> Awesome! :-)
>>>>>>
>>>>>> On Tue, Dec 9, 2008 at 10:01 AM, Pete Muir <pmuir at bleepbleep.org.uk 
>>>>>> >
>>>>>> wrote:
>>>>>>>
>>>>>>> I think I've committed a fully working version of this - check  
>>>>>>> out the
>>>>>>> readme.txt in the examples dir for instructions on how to  
>>>>>>> install
>>>>>>> webbeans
>>>>>>> to JBoss 5 and for how to deploy the example.
>>>>>>> _______________________________________________
>>>>>>> webbeans-dev mailing list
>>>>>>> webbeans-dev at lists.jboss.org
>>>>>>> https://lists.jboss.org/mailman/listinfo/webbeans-dev
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Gavin King
>>>>>> gavin.king at gmail.com
>>>>>> http://in.relation.to/Bloggers/Gavin
>>>>>> http://hibernate.org
>>>>>> http://seamframework.org
>>>>>> _______________________________________________
>>>>>> webbeans-dev mailing list
>>>>>> webbeans-dev at lists.jboss.org
>>>>>> https://lists.jboss.org/mailman/listinfo/webbeans-dev
>>>>>
>>>>> _______________________________________________
>>>>> webbeans-dev mailing list
>>>>> webbeans-dev at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/webbeans-dev
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Gavin King
>>>> gavin.king at gmail.com
>>>> http://in.relation.to/Bloggers/Gavin
>>>> http://hibernate.org
>>>> http://seamframework.org
>>>>
>>>
>>>
>>>
>>> --
>>> Gavin King
>>> gavin.king at gmail.com
>>> http://in.relation.to/Bloggers/Gavin
>>> http://hibernate.org
>>> http://seamframework.org
>>> _______________________________________________
>>> webbeans-dev mailing list
>>> webbeans-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/webbeans-dev
>>>
>>
>>
>>
>> -- 
>> ---
>> Nik
>> _______________________________________________
>> webbeans-dev mailing list
>> webbeans-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/webbeans-dev
>
> _______________________________________________
> webbeans-dev mailing list
> webbeans-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/webbeans-dev




More information about the weld-dev mailing list