Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [buckminster-dev] CVS Authentication

Hi Claudio,
I've tried various scenarios, both using the IDE wizard and using a Headless configuration. I'm not able to reproduce what you describe.

I need to know more about what it is you are doing. What version of Buckminster are you using? Exactly what do you do when you get the trace below? Are you running headless or from cquery "Resolve to Wizard" and then "Finish" or "Resolve and Materialize"?

Regards,
Thomas Hallgren

Claudio Cardozo wrote:
Thomas, as suggested, Buckminster with console activated... a first time it gets the user/pass correctly from the propertie file, but the second... follow the console log:

Platform install location: file:/opt/eclipse/
Found searchPath default for component relatorios-proposta
Provider cvs(:pserver:claudiocardozo:xxxxxxxxx@192.168.0.166:/cvsroot/cvsteste,relat/relatorios-proposta): Found a match for relatorios-proposta using version designator [PRJ_BANIF_CDC_INTELLECTOR,PRJ_BANIF_CDC_INTELLECTOR], found version is PRJ_BANIF_CDC_INTELLECTOR fixed on PRJ_BANIF_CDC_INTELLECTOR@2007-09-25T14:07:00.000+0000 Provider cvs(:pserver:null:null@192.168.0.166:/cvsroot/cvsteste,relat/relatorios-proposta): materializing to /home/ccardozo/_desenv/buck/relatorios-proposta/ blocked(class org.eclipse.core.internal.events.AutoBuildJob[Building workspace])


Thomas Hallgren escreveu:
Hi Claudio,
The only way I can see that happening is if the properties are not set for some reason. Can you please run the query using "Console logger level" "DEBUG" (set under Preferences -> Buckminster). Check the log output from the provider in question. My guess is that it shows up as:

"Provider cvs(:pserver:null:null@@192.168.0.166:/cvsroot/cvsteste,relat/.."

which then would be a clear indication that the properties are undefined.

I've verified that this approach works fine by setting properties in the CQUERY. What method do you use when setting the properties?

Regards,
Thomas Hallgren


Claudio Cardozo wrote:
Hi Thomas!

I have made the tests using the property as explained below. Even so, suppling a password in the property file, it still asks by; then, a second dialog asking from authentication in CVS again coming up, putting "null" instead the user name. It didn't work. It appears to have other "moment" it needs user/password, so, it don't find anymore...

attached, a screenshot from cvs dialog, when asking by passwd with a "null" user


----(snip)----
This is how it should look instead:

<uri format=":pserver:{0}:{1}@192.168.0.166:/cvsroot/cvsteste,relat/{2}">
  <bc:propertyRef key="cvs.user" />
  <bc:propertyRef key="cvs.password" />
  <bc:propertyRef key="buckminster.component" />
</uri>
----(snip)----


_______________________________________________
buckminster-dev mailing list
buckminster-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/buckminster-dev



Back to the top