[webbeans-dev] Another tck question
Clint Popetz
cpopetz at gmail.com
Wed Jun 3 16:14:06 EDT 2009
On Wed, Jun 3, 2009 at 2:24 PM, David Allen <drallendc at gmail.com> wrote:
> On Wed, 2009-06-03 at 13:08 -0500, Clint Popetz wrote:
>> I'm just full of them, it seems.
>>
>> I'm able to get the tck runner to connect to jboss 5.1, but it gets
>> ClassNotFoundErrors for all the webbeans classes when running tests.
>> If I run ant in webbeans-build-aggregator/jboss-as, it installs an
>> artifact from repository.jboss.org, because it's resolving
>> dependencies like:
>>
>> org.apache.maven:super-pom:jar:2.0 (selected)
>> org.jboss.webbeans.integration:webbeans-jboss-int-deployer:zip:5.2.0.Beta2:compile
>> (selected)
>> org.jboss.webbeans.integration:webbeans-jboss-int-jboss-ejb:jar:5.2.0.Beta2:runtime
>> (selected)
>> org.jboss.webbeans:webbeans-core:jar:1.0.0.PREVIEW1:compile (selected)
>> org.jboss.webbeans:jsr299-api:jar:1.0.0.PREVIEW1:compile (selected)
>>
>>
>
> I'm not exactly certain where you are seeing those lines of output from
> an ant build.
Yeah, that's ant -v output from webbeans/jboss-as, because the
resulting webbeans jars in my jboss5 deployers/ directory were old
versions.
> They look like "mvn -X" output lines. In any event, when
> was the last time you updated all the webbeans projects and installed
> them with Maven? (mvn install)?
>
> All the versions should be 1.0.0-SNAPSHOT now.
I was only doing a mvn install on webbeans/ri/trunk and
webbeans/tck/trunk, which meant when webbeans/jboss-as was looking for
webbeans-jboss-int-deployer it was getting the PREVIEW versions and
not snapshot versions. I checked out
https://svn.jboss.org/repos/jbossas/projects/webbeans-ri-int/trunk and
built/installed, and updated jboss-as/local-build.properties to point
to the SNAPSHOT versions, and things are working now. I don't know
if I should have had to do that, but it worked.
-Clint
More information about the weld-dev
mailing list