[
http://jira.codehaus.org/browse/MNBMODULE-76?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=209235#action_209235
]
Pavel Jisl commented on MNBMODULE-76:
-------------------------------------
I agree with you and with your explanation.
Now I will try, why we need timestaped versions. If we will be releasing
application, we will increase the specification version and will not play with
timestamps.
But in development, the nightly builds are deployed on webstart server and
testers use webstart application for testing. When the versions will be fixed
(specification-version), they will never get actual build of application - only
in case, they will manually delete local cache. This will also cause download
of all libraries, that have fixed version (without changes).
But if the versions of modules will be timestamped, there is no need to delete
local cache, testers will download only new modules with changes, rest of
libraries will remain same without downloading.
I agree, that it is not so standard solution, but in our case it is needed
solution. It can be enabled on some switch and default behavior can remain the
same like now.
> AdaptNBVersion - Add timestamp to OpenIDE-Module-Specification-Version
> ----------------------------------------------------------------------
>
> Key: MNBMODULE-76
> URL: http://jira.codehaus.org/browse/MNBMODULE-76
> Project: Maven 2.x Netbeans Module Plugin
> Issue Type: Bug
> Affects Versions: 3.1
> Reporter: Pavel Jisl
> Assignee: Milos Kleint
>
> When creating webstart application, we need to solve problem with versions in
> versioned JNLP download server. If the SNAPSHOT versions are used, the major
> and minor versions are used and there is no chance for versioned JNLP
> download to serve fresh versions of packages.
> There is a resolved issue in NetBeans nbbuild ant task MakeJNLP (see
> http://www.netbeans.org/issues/show_bug.cgi?id=160613 ), which gets version
> from OpenIDE-Module-Specification-Version or Specification-Version and puts
> it into version.xml and version attribut in jnlp file. Original version of
> path used OpenIDE-Module-Implementation-Version (Implementation-Version), but
> it was changed into OpenIDE-Module-Specification-Version
> (Specification-Version) by developers of NetBeans.
> Actual version of nbm-maven-plugin changes string "-SNAPSHOT" in version to
> timestamp in case of OpenIDE-Module-Implementation-Version, but in case of
> OpenIDE-Module-Specification-Version this string (and others, like RC, ...)
> are stripped without possibility to change this behavior.
> Proposed solution is to change behavior in AdaptNBVersion.java to behave same
> for both "spec" and "impl" types. We need to replace string "-SNAPSHOT" for
> OIDE-M-S-V by timestamp, as it is in case of OIDE-M-I-V.
> There should be also parameter, specifying pattern for timestamp - default
> should be "yyyyMMdd" and we can change it to eg. "yyyyMMddHHmmss"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email