First, let me cover the release. You can probably use the 5.4.2 release if you
just comment out the j2ssh code in CVSClient. I would like to come up with a
way to make it compatible with 1.3, suggestions are welcome.
The NullPointerException that you are seeing is the result of the CVSProject's
before that coding change, and the only reason it does not fail is that it does
not attempt to write the admin files. This NPE is also the reason that your
admin files are never written.
The reason that the CVSProjectDef seems redundant is that you are in checkout
mode. When you open an existing project, CVSProjectDef is preset for you and you
do nothing. It was also vital for supporting jCVS Servlet and now jCVSWeb. If
you can see any true redundancy, I would be happy to weed it out. If you are
checking out, you need to construct the project definition and set it to allow
for the checkout to complete, as you found out with the NPE.
The "noModeRoot" ( I assume that it what you meant by "noMode") flag is
commented in the code. The cvs "root directory spec" has ":server:" and
":pserver:" prefixes, but it also has "nothing". In order to preserve this
setting when I rewrite the spec, I need to set this flag internally. You should
never care about this flag, unless you are opening projects saved by the command
This message was edited 1 time. Last update was at 29/07/2004 12:46:42