NetBeans 5.0 & Perforce Versioning Manager

O

ozgwei

Hi all,

Has anyone had the experience of working with Perforce in NetBeans 5.0?

I have installed the Perforce module and done the configuration.

However, every file is "local" (whatever it means) and "r/o". How can I
"open for edit"? What do the other menu items in the Perforce menu do?
Such as "Add" & "Submit"? My Perforce menu has only "Refresh", "Sync",
"Add" and "Submit" and the files are all labelled as "local" and
directories are "have".

Thanks in advance.
 
K

Karl Uppiano

ozgwei said:
Hi all,

Has anyone had the experience of working with Perforce in NetBeans 5.0?

I have installed the Perforce module and done the configuration.

However, every file is "local" (whatever it means) and "r/o". How can I
"open for edit"? What do the other menu items in the Perforce menu do?
Such as "Add" & "Submit"? My Perforce menu has only "Refresh", "Sync",
"Add" and "Submit" and the files are all labelled as "local" and
directories are "have".

Thanks in advance.

Well, I put a watch on this message, because I am having a similar problem.
So far, no one else has posted.

The Perforce plug-in is out of date for NetBeans 5.0, and I have not found
another one anywhere. NetBeans seems to be most interested in tight
integration with CVS. The company I work for switched from CVS to Perforce,
and I have not been able to get it to work with NetBeans at all. That choice
was certainly not a productivity enhancer for me.
 
Joined
Jun 4, 2007
Messages
1
Reaction score
0
A Fix for Netbeans 5.x perforce plugin

Found this posting on the Netbeans site... I've tried it and it works.

Posting: http://www.netbeans.org/issues/show_bug.cgi?id=67259

Fix:
In NetBeans go to:
Tools -> Options -> Advanced Options -> Source Creation and Management ->
Version Control Settings -> Generic VCS Profiles -> Perforce

Go into Context Command Properties and edit the LIST_CMD[hidden] command adding another % to %1

This is what it should look like:
${OSSHELL} "${P4GLOBAL} fstat ${ROOTDIR}${PS}$[? MODULE] [${MODULE}${PS}] []$[? DIR] [${DIR}${PS}] []%%1"

Save the changes, then do a Perforce Refresh from the IDE, it should now pull back the correct state and revision number and give you the option to do a Perforce edit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top