AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

NetBeans & CVS

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian)
View previous topic :: View next topic  
Author Message
Dante
Guest





PostPosted: Sat Feb 28, 2004 5:51 pm    Post subject: NetBeans & CVS Reply with quote



Salve a tutti,
ho un problema Smile,
sto utilizzando NetBeans. Ora volevo anche provare a utilizzare CVS
(attraverso NetBeans), ma non ce la faccio Smile.
Ho provato a configurare NetBeans di conseguenza per creare un "CVS Server
Type" in 'locale' sulla mia macchina.

In "Versioning->Mount Version Control->Generic VCS" ho impostato questi
valori:
Version Control System profile: CVS
Working Directory: c:homedantemyprojectsbtm
Relative Mount Point: src
CVS Server Type: local
Repository Path: C:homedantemyprojectsbtmrepository
Poi ho selezionato "Use Command-Line CVS Client", e ho impostato
Use Command-Line CVS Client: C:Programmicvscvs.exe
e ho lasciato in bianco "Unix Shell".

Se provo, tramite NetBeans, a lanciare il comando CVS Init, questa e' la
risposta:

The following command failed to execute in the system: -c cd
"C:homedantemyprojectsbtm"&& "C:Programmicvscvs.exe" -d
":local:C:homedantemyprojectsbtmrepository" init


Ora ho notato che se nel campo "Unix shell", dove di default c'era "sh.exe",
metto qualcosa, questo va a 'finire' all'inizio della stringa dell'errore di
cui sopra.
E' qui l'errore? Cosa devo mettere in questo campo?
Oppure, dove sbaglio?

Grazie
Dante

P.S: utilizzo NetBeans 3.6Beta, su Win98.
P.S.S.:le directory che ho elencato sopra esistono, e i path sono corretti.


Back to top
Dante
Guest





PostPosted: Sat Feb 28, 2004 5:54 pm    Post subject: Re: NetBeans & CVS Reply with quote



Quote:
ho un problema Smile,
sto utilizzando NetBeans

Ehmm, mi sono espresso male.. il problema non e' che utilizzo NetBeans, anzi
mi trovo molto bene con 'esso' Smile.



Back to top
Roberto Nunnari
Guest





PostPosted: Mon Mar 01, 2004 11:22 am    Post subject: Re: NetBeans & CVS Reply with quote



Dante wrote:
Quote:
In "Versioning->Mount Version Control->Generic VCS" ho impostato questi

io di solito uso CVS, e non Generic VCS.. ma non so se e' questo il
tuo problema..

comunque, se vuoi inizializzare il cvs dalla command line fai:

Quote:
cvs -d:local:username@hostname:/path/to/cvsroot init

nel tuo caso..

Quote:
"C:Programmicvscvs.exe" -d
:local:C:homedantemyprojectsbtmrepository" init



Quote:

Ora ho notato che se nel campo "Unix shell", dove di default c'era "sh.exe",
metto qualcosa, questo va a 'finire' all'inizio della stringa dell'errore di
cui sopra.

Quello e' la causa dell'errore.. su unix netbeans delega la shell
(in questo caso sh) di eseguire il comando.. su windows, prova
a mettere start.. oppure cmd oppure command... se usi CVS non ne hai bisogno


--
Roberto Nunnari -software engineer-
mailto:robi (AT) nunnisoft (DOT) ch
http://www.nunnisoft.ch
Residenza Boschetto 12 tel/fax: +41-91-6046511
6935 Bosco Luganese """ mobile: +41-76-3208561
Switzerland (o o)
========================oOO==(_)==OOo========================


Back to top
Dante
Guest





PostPosted: Tue Mar 02, 2004 8:50 pm    Post subject: Re: NetBeans & CVS Reply with quote


Quote:
In "Versioning->Mount Version Control->Generic VCS" ho impostato questi

io di solito uso CVS, e non Generic VCS.. ma non so se e' questo il
tuo problema..

Ehmm... nel mio menu di NetBeans, in "Versioning->Mount Version Control->"
c'e' solo Generic VCS.
Preciso che io vorrei creare un repository in locale, e non posso per questo
usare il Built-in CVS Client di NetBeans che funziona solo con un PServer.


Quote:
Ora ho notato che se nel campo "Unix shell", dove di default c'era
"sh.exe",
metto qualcosa, questo va a 'finire' all'inizio della stringa
dell'errore di
cui sopra.

Quello e' la causa dell'errore.. su unix netbeans delega la shell
(in questo caso sh) di eseguire il comando.. su windows, prova
a mettere start.. oppure cmd oppure command... se usi CVS non ne hai
bisogno


Avevo provato start ma non funzionava Smile.
Ho scaricato alla fine cygwin per usare sh, pero' il comando dopo 'invocato'
da NetBeans e' "cmd qualcosa", ed io utilizzando win98 non ho cmd Smile.
Ho provato a rinominare command.com in cmd.com ma non funziona Smile.

Volevo 'sfruttare' NetBeans anche per gestire le varie versioni del software
che creo.
Per adesso temporaneamente mi sono arreso e sono passato ad utilizzare
WinCVS.


Grazie comunque per l'interessamento Smile.
Dante



Back to top
Roberto Nunnari
Guest





PostPosted: Wed Mar 03, 2004 10:29 am    Post subject: Re: NetBeans & CVS Reply with quote

Dante wrote:
Quote:
Ehmm... nel mio menu di NetBeans, in "Versioning->Mount Version Control->"
c'e' solo Generic VCS.

?? strano...


Quote:
Preciso che io vorrei creare un repository in locale, e non posso per questo
usare il Built-in CVS Client di NetBeans che funziona solo con un PServer.

esatto.. ti devi scaricare il programma cvs da http://www.cvshome.org/


Quote:
Per adesso temporaneamente mi sono arreso e sono passato ad utilizzare
WinCVS.

l'ultima volta che ho provato wincvs aveva qualche problema..
ho sentito che tortoisecvs va meglio.


--
Roberto Nunnari -software engineer-
mailto:robi (AT) nunnisoft (DOT) ch
http://www.nunnisoft.ch
Residenza Boschetto 12 tel/fax: +41-91-6046511
6935 Bosco Luganese """ mobile: +41-76-3208561
Switzerland (o o)
========================oOO==(_)==OOo========================


Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.