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