Chris Zhu wrote:
> Hi all,
> 
> Sorry for asking  simple questions here, it's my first time to use sfwnv 
> workspace.
> 1) I read from the guide that people use "wx create file" to check files 
> into SCCS, but I got an ERROR as following, do you have any idea about it:
>     bash-3.00$ wx create Makefile.sfw
>      Error: cannot find workspace command in $PATH. Aborting .

It means what it says - it wants to run 'workspace' which is from
teamware. Make sure teamware's bin is in your path, something like this
in sfbay would be good:

        /ws/onnv-tools/teamware/bin

> 2) Then I tried sccs to do check in and check out, it seems good
>     bash-3.00$ sccs create Makefile.sfw
>     bash-3.00$ sccs edit Makefile.sfw
>     ......
>     bash-3.00$ sccs delget Makefile.sfw
>     But my question is what's difference between sccs and wx, can I use 
> sccs to instead of wx, and how about other command in /opt/onbld/bin, 
> such as sccsmv, sccsrm.

wx helps you do some teamware operations and sccs operations in a
friendlier way - like recreating sccs files with the proper comment
easily rather than you forgetting to pass the right option to sccs
create to add one, then having to do surgery to fix it later. And
tracking the files you're changing, keeping comments for each file,
and doing some of the required checks before putback. Though I
mostly use backup/restore.

The sccs?? scripts are historical and were used to make it easy to
copy/rename/delete files. You're not really supposed to use sccsrm
anymore though, and wx doesn't either it uses the teamware way
(sccsrm renames a file to .del-something, while teamware deletion
moves it to deleted_files. Both have their good and bad sides).

Have you looked at the man pages in /opt/onbld/man for things like wx?
And note there might be a better alias for tools questions like this
since they are not in sfwnv just used by us, so the owners and other
interested folks may not hang out here.


> 3)  Is there any more detail guide for the process and these command?

Internally probably. I'd check the onnv web page first, though I haven't
looked. Externally there's probably something on opensolaris.org too,
perhaps in the devref or under the ON pages, but again I haven't looked.

        Mike

Reply via email to