NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Ondrej Vrabec Posted via mailing list.
|
Posted: Fri Oct 08, 2010 12:50 pm Post subject: [platform-dev] Re: Using the CVS - View History API |
|
|
Hi,
add 1) you will probably need to rewrite the renderer for the history view.
Look at
org.netbeans.modules.versioning.system.cvss.ui.history.SummaryView.SummaryCellRenderer
I think that:
renderContainer method renders file's header
renderRevision method renders revisions for the file
add 2) sorry, don't know exactly, but i guess not. You can take a look
at an action from org.netbeans.modules.versioning.system.cvss.ui and
learn how the lib is used in there.
On 10/08/2010 01:44 PM, Stephen Belt wrote:
| Quote: | This is my first post to this list, so please let me know if my
questions are better asked in another forum.
At my job I am expected to fill-out a monthly timecard of what I worked
on that month. I confess that at times I fall behind for weeks at a
time. I have found that viewing my CVS history to see what .java files I
have checked-in and -out reminds me of what I was coding. However,
NetBeans' CVS-Search history does not allow me to sort by date rather
than filename. Obviously, for my purposes a sort by date would be quite
helpful.
So I have 2 thoughts:
1. I would like to modify the Netbeans CVS module to add this sort
option. I have been a Java developer for 10+ years, but this would be my
first attempt at modifying Netbeans code. Can someone provide me a hint
as to what packages I should look at, and where I could find example
code as a reference?
2. My department enters their monthly hours in a web page (.jsp) that we
created. Ultimately I would like to create a .jsp page which will allow
any of us to view our own cvs history for the month. Searching the Net I
found other projects which use org-netbeans-cvs-lib.jar, but those
projects were outdated and did not work when I downloaded them. Are
there any examples which will show me how to use this .jar for my own
goal?
I am using NetBeans 6.8 on a Windows Vista-64 desktop. Using Netbeans in
my job I connect to a CVS server over ssh using method
ext:name@server:/cvspath using "internal ssh" with a password (so, not
using ssl keys). In case it matters, Pserver is not used on our cvs
server.
TIA,
Steve B.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|