[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [buckminster-dev] CVS Authentication
|
Thomas, after a lots of tests, the conclusion that I have is the
Buckminster cannot handle correctly the string with ${some_key} inside the
<uri
format=":pserver:${cvs.user}:${cvs.password}@192.168.0.166:/cvsroot/cvsteste,relat/{0}">
may be some problem when replacing it...
some kind of source code, has private access, so, it needs controls by
authentication outside the rmap, supplied by a property file or
something else.
But, if I provide inside like:
format=":pserver:claudiocardozo:xxxxx@192.168.0.166:/cvsroot/cvsteste,relat/{0}">
works fine!
regards,
Claudio Cardozo
Thomas Hallgren escreveu:
Claudio Cardozo wrote:
Thomas, sorry by disturbing...
I tryed:
a) using option to JVM, like: -Duser.cvs=claudiocardozo
-Duser.password=xxxx in file eclipse.ini; doens't work
If you use eclipse.ini, make sure there are no empty lines and that each
option is on a line of its own. Also, make sure you put them after
-vmargs. Eclipse.ini is sensitive to empty lines and linebreaks.
-vmargs
-Duser.cvs=claudiocardozo
-Duser.password=xxxx
should do it.
b) a properties file, like: (as I know in -Duser.properties format)
cvs.user=claudiocardozo
... doesn't work
How do you incorporate this property file? From the CQUERY?
d) a property file, like supplied in cquery
<property key="claudiocardozo" value="xxxxx" />
... doesn't work
The CQUERY can either appoint a file like the one you use in b), or it
can embed properties.
Here is a cquery that appoints a file:
<?xml version="1.0" encoding="UTF-8"?>
<componentQuery xmlns="http://www.eclipse.org/buckminster/CQuery-1.0"
properties="file:/temp/some.properties">
<rootRequest name="sample"/>
</componentQuery>
Here is a cquery that embeds properties:
<?xml version="1.0" encoding="UTF-8"?>
<componentQuery xmlns="http://www.eclipse.org/buckminster/CQuery-1.0">
<rootRequest name="sample"/>
<property key="password.cvs" value="xxxxx"/>
<property key="user.cvs" value="roger"/>
</componentQuery>
Regards,
Thomas Hallgren