Working with Groups on Network with JSC

Hy!!

I am working with 8 developers with PHP & SqlServer.

But now we are changing to J2EE using JSC.

I would like to work together with a same Project that everybody can make changes at the same time.

What i have done until now:

1. I create a Server on our network with a local IP.

2. In one computer i created a Project in a folder on this server.

3. In every computer I Opened a Project that was created in step 2.

So now everyone can see the project and work on it but i have these problems:

- The JSC is too slow working in this server on network.

- I can't run the project, everytime says a error. Using a local project it runs with no problems.

For example this is one error:

library-inclusion-in-archive:

/mnt/poseidon/inteligencia/Inteligencia/nbproject/build-impl.xml:698: Warning: Could not find file /opt/sun/Creator2_1/bin/C:\ProgramFiles\Sun\Creator2_1\rave2.0\modules\ext\appb ase.jar to copy.

BUILD FAILED (total time: 0 seconds)

Am I doing right?

Is that the correct way to work in a project with many developers?

What can I do to make it faster?

Is any different way to work on it? Like, everyone work on local and send the changes to the server later? How can i do it?

Thanks a lot!!

Mario Mol

[1343 byte] By [Mario_Mola] at [2007-11-27 10:59:17]
# 1

Hi,

Seems like you need to use some kind of source code control. Check the following :

Using Version Control

http://developers.sun.com/jscreator/reference/techart/2/index.jsp#Using%20Versi on%20Control

http://developers.sun.com/jscreator/reference/fi/2/source-code-control.html

Rradhikaa at 2007-7-29 12:22:00 > top of Java-index,Development Tools,Java Tools...
# 2

Hy there!!

Thanks a lot!!

Thats exactly what i was looking for!

But now i have a doubt.

I built a server using Linux with Tomcat/Apache.

How do I install the CVS server on Linux?

Is any place that i can download it or get some manual to how install it?

Thanks again!

Mario_Mola at 2007-7-29 12:22:00 > top of Java-index,Development Tools,Java Tools...
# 3

check the following resource:

http://cvsbook.red-bean.com/cvsbook.html

Rradhikaa at 2007-7-29 12:22:00 > top of Java-index,Development Tools,Java Tools...
# 4

Hello,

thanks!

Take a look what i've done:

In CVS Server:

1. Login as root.

2. I created a cvs group

3. I created a mario user and i belongs to cvs group

4. /home/cvs will be a repository directory.

5. export CVSROOT=/home/cvs

6. cvs init

In Client:

1. Local user is called mario.

2. export CVSROOT =:ext:marioo@192.168.2.172:/home/cvs

3. export CVS_RSH = "ssh"

4. cd /home/marioo/myProject

5. cvs import myProject vendor_1_0 revision_1_0

5.1 It asked for a password and shows a vi to insert comments about the project

JSCreator:

1. Vesioning > > CVS > > Check Out...

2. Working Directory = /home/myProject

3. CVS Server Type = ext

4. CVS Server Name = Server's IP

5. User Name = mario

6. Repository Path = /home/cvs

Afterwards i could see that 3 directories was created: CVS, CVSROOT, myProject.

But i got this error message:

Command "LIST_SUB_STATUS_CMD" has failed. Execution string: org.netbeans.modules.vcs.profiles.cvsprofiles.commands.JavaCvsCommand.class "dir=/home/mario//meuProjeto" -d ":server:mario@10.17.104.7:cvsroot" -f-f status -R

No error output is available, the standard output of the command can be found in Runtime.

Any help would be appreciatted!!

Mario_Mola at 2007-7-29 12:22:00 > top of Java-index,Development Tools,Java Tools...