dev@glassfish.java.net

Re: [v3] Build broken?

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Tue, 10 Jun 2008 07:09:59 -0700

On Jun 10, 2008, at 6:47 AM, Tim Quinn wrote:

> Hi, Jerome.
>
> Jerome Dochez wrote:
>> Tim
>>
>> 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.
> Perhaps that's it. I didn't make any changes myself to glassfish-
> api, but following Hong's advice I did find that building glassfish-
> api first and then building the entire project worked for me.
> I was just sharing the workaround with Jan until the underlying
> problem was resolved.
that fixes the problem because you basically overwrite your existing
version with a new one without changing the version number. This
cannot work for others since maven will never try to re-download a
version-ed module it already has in its local repository.

jerome

>
>
> - Tim
>>
>> 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
>