pombreda / nbgit

Automatically exported from code.google.com/p/nbgit
0 stars 0 forks source link

older version of org.netbeans.modules.versioning.util not found when running master in NB v6.8 #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. git clone nbgit to local dir
2. install NB v6.8
3. open nbgit as project
4. right-click and "Run" to check operation

What is the expected output? What do you see instead?

Expected:

A new instance of NB running with git available as Team option.

What actually occurs:

Warning dialog with message:

  Warning - could not install some modules: nbgit - The module Versioning 
  Support Utilities was requested in implementation version "200907230233" 
  but only "200912041610" was found.

and buttons: "Exit" and "Disable Modules and Continue"

After clicking "Disable Modules and Continue" the test NB instance appears 
without Git in the 
Team menu.

What versions of NbGit, NetBeans and Java are you using?
On what operating system?

  System Info: 
  Product Version         = NetBeans Platform 6.8 (Build 200912041610) (#ec9be6a6486c)
  Operating System        = Mac OS X version 10.5.8 running on x86_64
  Java; VM; Vendor        = 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01-101; Apple Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_17-b04-248-9M3125

Please provide any additional information below.

org.nbgit - The module org.netbeans.modules.versioning.util was requested in 
implementation 
version "200907230233" but only "200912041610" was found.

Original issue reported on code.google.com by Stephen....@gmail.com on 28 Dec 2009 at 1:19

GoogleCodeExporter commented 9 years ago
It wasn't clear to me how to fix this issue.

It seemed that perhaps that nbgit was requesting an earlier version of the 
Versioning  Support Utilities module 
but I'm not very familiar with NB and opening the dialog to edit the Versioning 
Support Utilities in the nbgit 
project properties didn't give much of a clue (here's a screenshot of the 
dialog):

http://img.skitch.com/20091228-f5wdjtnn6eacdw7e84bkgkhmts.png

There's no reference to an "implementation version" and no obvious datestring:  
"200907230233"

Original comment by Stephen....@gmail.com on 28 Dec 2009 at 1:32

GoogleCodeExporter commented 9 years ago
If I open NB 6.7.1 and nbgit (nbgit runs and installs fine in this version of 
NB) and edit the Versioning Support 
Utilities module the "Implementation Version" is still selected but the 
unselected "Specification Version" is now 1.4.3.42.1 instead of the value 
"1.8.1.42.1" which is what appeared when opening the nbgit project in NB 6.8.

Original comment by Stephen....@gmail.com on 28 Dec 2009 at 1:43

GoogleCodeExporter commented 9 years ago
The trick is to either download the .nbm with reduced dependencies,
which means that there is no "hacky" dependency on the versioning
support utilities module (that is only supposed to be used by
internal NetBeans modules) or use the release branch (previously
named jf/versioning-util). The latter will probably only work with
a more recent version of NetBeans.

Original comment by jonas.fonseca on 1 Jul 2010 at 3:15