pombreda / nbgit

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

NetBeans IDE 6.5.1 and NbGit 0.3 Incompatible? #60

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install Plugin

What is the expected output? What do you see instead?
Expected to work with this IDE.

What versions of NbGit, NetBeans and Java are you using?
On what operating system?
NbGit 0.3
Netbeans IDE 6.5.1
JDK 1.6.0_14

Please provide any additional information below.
Some plugins require plugin ETable and Outline to be installed.
The plugin ETable and Outline is requested in version >= 1.4.1 but only 
1.1.1 was found.  

The following plugin is affected:       
     nbgit

Original issue reported on code.google.com by eratos2...@gmail.com on 16 Oct 2009 at 6:27

GoogleCodeExporter commented 9 years ago
Version 0.3 is a NetBeans 6.7 plugin. Unfortunately,
the way the move to the 6.7 API didn't take backwards
compatibility into account. I haven't investigated what
it would take to rectify that. Furthermore, at this
point supporting both 6.5 and 6.7 would take away time
which I'd rather see spent on adding new features.

Of course, if somebody would volunteer to put some time
into this, it would be nice to also support 6.5 ...

Original comment by jonas.fonseca on 17 Oct 2009 at 1:38

GoogleCodeExporter commented 9 years ago
Thought so.

To get around it I modified the Info/info.xml changed the 
org.netbeans.swing.outline > 1.4.1 with org.netbeans.swing.outline > 1.0.0

Also

I modified the META-INF/MANIFEST.MF file on section 
OpenIDE-Module-Module-Dependencies
changed the line org.netbeans.swing.outline > 1.4.1 
with org.netbeans.swing.outline > 1.0.0 not sure if this was needed but I did 
it 
just in case.  Change made on "netbeans\modules\org-nbgit.jar" file.

All changes made on nbgit-0.3.nbm file.

The plugin loads on NetBeans IDE 6.5.1 with no errors, I'm able to initialize a 
current project, but it doesn't quite track changes.  If I open a modified file 
it 
looks like it knows it was changed I can see the color icons, but if I try to 
commit 
the windows does not shows any file changes.  If I close/open NetBeans then it 
recognized the changes when commiting.  So my conclusion is even with this hack 
it 
doesn't seems to completely work.  I guess some changes need to be added to the 
code 
to make it work with 6.5.1.  Was not able to do a clone using the plugin 
because of 
the proxy issue.  See issue 61.  I attached the NBM file so maybe someone can 
test 
the clone.

Original comment by eratos2...@gmail.com on 19 Oct 2009 at 3:22

Attachments:

GoogleCodeExporter commented 9 years ago
I guess I didn't look good enough on the current issues.  I found issue 55 very 
interesting it might be a bug causing the plugin not able to track changes 
correctly.  Maybe the hack I mention on comment 2 will work after all.. 

Original comment by eratos2...@gmail.com on 19 Oct 2009 at 3:39

GoogleCodeExporter commented 9 years ago
The changes introduce in the move to 6.7 was mainly in the module
dependency specifications. There were also some changes involving
the use of NetBeans APIs; I remember the utility class to load icon
images was changed, and there is also a change in the use of the
FileSystem API. All calls to method which were marked deprecated
in the API of version 6.7.

Original comment by jonas.fonseca on 19 Oct 2009 at 5:46

GoogleCodeExporter commented 9 years ago
Anything I can do to help?

Original comment by eratos2...@gmail.com on 20 Oct 2009 at 7:55

GoogleCodeExporter commented 9 years ago
Yes, please. If you could checkout nbgit and try to figure out
what changes are required to the NetBeans project files.

Original comment by jonas.fonseca on 21 Oct 2009 at 2:18

GoogleCodeExporter commented 9 years ago

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