Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [edt-dev] Bugzilla enhancement 369135

The URI pattern for a binding that exists in a different file seems a bit odd (e.g. "binding:file:ProdDD#myDB"). Any consideration to using a separator (e.g. "/") to separate the file and binding names? For example: "binding:ProdDD/myDB" ? This would mean binding names could not contain a "/" (or whatever the separator character is). This pattern seems more conventional and rememberable.


    Will Smythe
    Product Manager
    EGL, Rational Business Developer, and Rational Migration Extension
    IBM Rational Software, RTP, NC
    919.254.8771
    smythew@xxxxxxxxxx




Inactive hide details for Joseph Vincens---01/27/2012 05:13:31 PM---If you are using 0.8.0 I2 please read.  The enhancement (buJoseph Vincens---01/27/2012 05:13:31 PM---If you are using 0.8.0 I2 please read.  The enhancement (bugzilla 369135) was just committed and wil

From: Joseph Vincens/New Haven/IBM@IBMUS
To: edt-dev@xxxxxxxxxxx
Date: 01/27/2012 05:13 PM
Subject: [edt-dev] Bugzilla enhancement 369135
Sent by: edt-dev-bounces@xxxxxxxxxxx




If you are using 0.8.0 I2 please read.
The enhancement (bugzilla
369135) was just committed and will affect anyone who is using @Resource or SysLib.getResource.
The enhancement redefines resources, in 0.7.0 resources were only considered bindings, but in the future a resource can represent just about anything.
This required an API change to @Resource and SysLib.getResource, instead of a key these now take a URI. The details are covered in
369135, but you will need to make some code changes. Here are examples of what you need to change:
     
@Resource{bindingKey = “myDB”} to @Resource{uri=”binding:myDB”}. 
       @Resource{bindingKey=”myDB”, propertyFileName=”ProdDD”} to @Resource{uri=”binding:
file:ProdDD#myDB”} 
       SysLib.getResource(“myDB”) SysLib.getResource(”binding:myDB”).
 
       SysLib.getResource(”myDB”, ”ProdDD”} to SysLib.getResource(”binding:
file:ProdDD#myDB”).

regards,
 
Joe Vincens
EGL Developer
Rational Software, IBM Software Group
 _______________________________________________
edt-dev mailing list
edt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/edt-dev

GIF image


Back to the top