dev@hk2.java.net

Re: build problem with HK2

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Tue, 15 Apr 2008 16:58:06 -0700

You can do it by defining a profile that always gets activated. I
haven't tested this but it should work.

   <profiles>
     <profile>
       <id>kohsuke</id>
       <properties>
         <hk2.version>0.3-SNAPSHOT</hk2.version>
       </properties>
     </profile>
   </profiles>
   <activeProfiles>
     <activeProfile>kohsuke</activeProfile>
   </activeProfiles>
</settings>


Lloyd L Chambers wrote:
> That explains it. I don't think I'm on hk2-dev.
>
> Can I just put this flag in my .m2/settings.xml? What's the
> element(s) I need to insert?
>
> <?xml version="1.0" encoding="UTF-8"?>
> <settings>
> <localRepository>/v3/repo/</localRepository>
> ?????????????? -Dhk2.version=SNAPSHOT ??????
> </settings>
>
>
> On Apr 15, 2008, at 4:44 PM, Kohsuke Kawaguchi wrote:
>>
>> I posted this to dev_at_hk2, but we recently switched the relationship
>> between GFv3 and HK2 so that GFv3 depends on a released version of
>> HK2.
>>
>> When you need to test GFv3 locally with your local HK2, you'd have
>> to add:
>>
>> -Dhk2.vesrion=0.3-SNAPSHOT
>>
>> to your maven invocation (where 0.3-SNAPSHOT will change as we
>> release more versions.)
>>
>>
>>
>> Lloyd L Chambers wrote:
>>> Kohsuke/Jerome,
>>> Synopsis: When building V3, if I modify HK2 the changes are not
>>> picked up by the V3 build,
>>> ..
>>> I modified Dom.java to include isCollection() and isLeaf(). I
>>> then built HK2. The methods are not found by the V3 build!
>>> I verified the compilation of hk2/config by inserting a syntax
>>> error-- it's building without a doubt.
>>> Lloyd
>>> ---
>>> Lloyd L Chambers
>>> lloyd.chambers_at_sun.com
>>> Sun Microsystems, Inc
>>
>>
>> --
>> Kohsuke Kawaguchi
>> Sun Microsystems kohsuke.kawaguchi_at_sun.com
>
> ---
> Lloyd L Chambers
> lloyd.chambers_at_sun.com
> Sun Microsystems, Inc
>
>
>
>


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com