Re: [buckminster-dev] headless resolve with properties [message #7120] |
Tue, 11 March 2008 17:53 |
Todd Lee Messages: 44 Registered: July 2009 |
Member |
|
|
Sorry, I should add that I did see this:
http://dev.eclipse.org/newslists/news.eclipse.technology.buc kminster/msg00507.html
which suggests that headless authentication should be possible using
properties in the RMAP (though the case in point uses svn instead of cvs,
I'm guessing it's still applicable).
The problem is I tried using the method of propertyrefs in the rmap :
<uri
format=":pserver:{0}:{1}@host:/path/to/cvsrep,path/to/module/{2} ">
<bc:propertyRef key="user.name" />
<bc:propertyRef key="user.pass" />
<bc:propertyRef key="buckminster.component" />
</uri>
and then substituting the system properties on the command line using:
buckminster -D"user.name=<myusername>"
But I get a buckminster exception:
C:\>buckminster -D"user.name=<myusername>" -data C:\autobuild_root\temp
resolve http://host/build.cquery
org.eclipse.buckminster.cmdline.parser.InvalidOptionExceptio n: The option
'-Duser.name=<myusername>' is invalid
Has the handling of cmdline args (specifically for system props) changed? I
just updated to 1.0.0.r08941
FYI -
C:\>buckminster listsite
Features:
org.eclipse.buckminster.core.headless.feature_1.0.0.r08974 (Buckminster -
Core Headless)
org.eclipse.buckminster.cvs.headless.feature_1.0.0.r08953 (Buckminster -
CVS support for headless operation)
org.eclipse.buckminster.maven.feature_1.0.0.r08939 (Buckminster - Maven
support)
org.eclipse.buckminster.pde.headless.feature_1.0.0.r08961 (Buckminster -
PDE support for headless operation)
org.eclipse.buckminster.product_1.0.0.r08941 (Buckminster Product)
Thanks
Todd
Todd_Lee@amis.com
Sent by:
buckminster-dev-b To
ounces@eclipse.or buckminster-dev@eclipse.org
g cc
Subject
03/11/2008 01:22 [buckminster-dev] headless resolve
PM with properties
Please respond to
Buckminster
developer
discussions
<buckminster-dev@
eclipse.org>
Just wondering what the best way to go about executing a headless resolve
might be where properties are involved?
e.g. - in my rmap, I've got ${user.name} specified in the :pserver string
to authenticate my CVSROOT.
The IDE has provided this in the UI mode, but I'm not sure how to handle it
when running headless. Suggestions?
Thanks
Todd
AMI Semiconductor - "Silicon Solutions for the Real World"
NOTICE:
This electronic message contains information that may be confidential or
privileged. The information is intended for the use of the individual or
entity named above. If you are not the intended recipient, please be aware
that any disclosure, copying, distribution or use of the contents of this
information is prohibited. If you received this electronic message in
error, please notify the sender and delete the copy you received.
_______________________________________________
buckminster-dev mailing list
buckminster-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/buckminster-dev
AMI Semiconductor - "Silicon Solutions for the Real World"
NOTICE:
This electronic message contains information that may be confidential or privileged. The information is intended for the use of the individual or entity named above. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you received this electronic message in error, please notify the sender and delete the copy you received.
|
|
|
Powered by
FUDForum. Page generated in 0.02562 seconds