Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [buckminster-dev] headless resolve with properties

Sorry, I should add that I did see this:
http://dev.eclipse.org/newslists/news.eclipse.technology.buckminster/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.InvalidOptionException: 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@xxxxxxxx                                             
             Sent by:                                                      
             buckminster-dev-b                                          To 
             ounces@xxxxxxxxxx         buckminster-dev@xxxxxxxxxxx         
             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@xxxxxxxxxxx
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.



Back to the top