dev@glassfish.java.net

Re: [v3] Build broken?

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Tue, 10 Jun 2008 09:39:07 -0400

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?

    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
>