dev@glassfish.java.net

Re: [v3] Build broken?

From: Lloyd L Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Tue, 10 Jun 2008 12:01:27 -0700

Speaking from headaches caused by HK2 versioning, I think this non-
SNAPSHOT approach is a recipe for wanton confusion and build problems
going forward. I think it's appropriate only at very well defined
junctions, such as code freeze junctures.

Lloyd

On Jun 10, 2008, at 6:57 AM, Jerome Dochez wrote:

>
> On Jun 10, 2008, at 6:39 AM, Hong Zhang wrote:
>
>> Hi, Jerome
>> It's my fault. :-P I added a constant in the ParameterNames
>> class and did not know I needed to change glassfish-api version in
>> pom.xml. For some reason, the build built successfully for me in my
>> local workspace. Does this change version thing only apply to
>> glassfish-api module?
> well HK2 has been versioned based for some time now.
> in the main v3 modules tree, only glassfish-api, there will be more
> as we try to rely less on snapshots.
>
> jerome
>
>>
>>
>> Thanks,
>>
>> - Hong
>>> if you have changed the glassfish-api module, you need to bump the
>>> revision number for it and change the glassfish-api.version in the
>>> main pom.xml so the build starts using the new version. We
>>> switched to a version based integration of glassfish-api which
>>> mean that you need to "release" glassfish-api before it can be
>>> picked up by the main glassfish modules.
>>>
>>> thanks, jerome
>>>
>>> On Jun 9, 2008, at 9:35 PM, Tim Quinn wrote:
>>>
>>>> To clarify, rebuild the commons/glassfish-api module first, then
>>>> the entire system.
>>>>
>>>> - Tim
>>>>
>>>>
>>>> Jan.Luehe_at_Sun.COM wrote:
>>>>> I'm getting this error after a fresh checkout:
>>>>>
>>>>> [INFO] Installing /space/luehe/ws/v3/admin/cli-optional/target/
>>>>> cli-optional-10.0-SNAPSHOT.jar to /home/luehe/.m2/repository/org/
>>>>> glassfish/admin/cli-optional/10.0-SNAPSHOT/cli-optional-10.0-
>>>>> SNAPSHOT.jar
>>>>> [INFO] Installing /space/luehe/ws/v3/admin/cli-optional/target/
>>>>> cli-optional-10.0-SNAPSHOT-sources.jar to /home/luehe/.m2/
>>>>> repository/org/glassfish/admin/cli-optional/10.0-SNAPSHOT/cli-
>>>>> optional-10.0-SNAPSHOT-sources.jar
>>>>> [INFO]
>>>>> ----------------------------------------------------------------------------
>>>>> [INFO] Building Kernel Classes
>>>>> [INFO] task-segment: [install]
>>>>> [INFO]
>>>>> ----------------------------------------------------------------------------
>>>>> [INFO] [resources:resources]
>>>>> [INFO] Using default encoding to copy filtered resources.
>>>>> [INFO] [hk2:hk2-compile]
>>>>> [INFO] Compiling 124 source files to /space/luehe/ws/v3/core/
>>>>> kernel/target/classes
>>>>> /space/luehe/ws/v3/core/kernel/src/main/java/com/sun/enterprise/
>>>>> v3/deployment/DeployCommand.java:118: cannot find symbol
>>>>> symbol : variable DEPLOYMENT_PLAN
>>>>> location: interface org.glassfish.api.admin.ParameterNames
>>>>> @Param(name=ParameterNames.DEPLOYMENT_PLAN, optional=true)
>>>>> ^
>>>>> Note: /space/luehe/ws/v3/core/kernel/src/main/java/com/sun/
>>>>> enterprise/v3/services/impl/VsAdapter.java uses or overrides a
>>>>> deprecated API.
>>>>> Note: Recompile with -Xlint:deprecation for details.
>>>>> /space/luehe/ws/v3/core/kernel/src/main/java/com/sun/enterprise/
>>>>> v3/deployment/DeployCommand.java:118: cannot find symbol
>>>>> symbol : variable DEPLOYMENT_PLAN
>>>>> location: interface org.glassfish.api.admin.ParameterNames
>>>>> @Param(name=ParameterNames.DEPLOYMENT_PLAN, optional=true)
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

---
Lloyd L Chambers
lloyd.chambers_at_sun.com
Sun Microsystems, Inc