Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ice-dev] Enabling ConnectCoreAction

Ah ok. I have moved the file to be in the path o.e.i.client/edef/rscore.xml, but I get the same issue that the url variable is null. I will examine the bundle root path to make sure the xml file is visible.

Regards,
Ram

On Thu, Dec 1, 2016 at 7:11 PM Scott Lewis <slewis@xxxxxxxxxxxxx> wrote:
On 12/1/2016 1:15 PM, Ramachandran K. Narayanan wrote:
Hello Robert, Scott,

Thanks for the Validate Plugins tip. Yes, that picked out Missing Imports and Plugins. I then just clicked on 'Add Required Plugins' which also seemed to add some of the *.test packages which I unselected later. The launch works now, but takes more time, due to the extra bundles I suppose, but this is something I can correct later.

I am able to debug now and the value of variable url seems to stay at null (screenshot also attached). It goes roughly as

URL url = ""  <snipped>  .getEntry(edefTemplateFile);     // edefTemplateFile = /edef/rscore.xml
     (is then null)

getEntry is a BundleContext function, so I think the entry for '/edef/rscore.xml' is not present in the Client's bundle context. Should the entry already be present or is there some code which inserts the entry in the first place and then gets processed by getEntry?

No, it should be there. 


I have also ensured that edef/rscore.xml exists under the o.e.i.client/src/org/eclipse/ice/client/common/ folder.

It should be located in o.e.i.client/edef/rscore.xml

With the Bundle.getEntry("/edef/rscore.xml") it's relative to the bundle root dir (i.e. path inside the bundle) rather than relative to the location of the class.


Scott



On Thu, Dec 1, 2016 at 3:03 PM Scott Lewis <slewis@xxxxxxxxxxxxx> wrote:
On 12/1/2016 11:26 AM, Smith, Robert W. wrote:

Hello Ram,


One thing that's helpful when debugging these kinds of launch configurations issues is to open the Run Configurations window, switch to your configuration's Plug-ins tab, and click the Validate Plug-ins button in the

bottom right. This will show you some automatically detected missing plug-ins that serve as dependencies of plug-ins you've included. You can then add them to the configuration to see if that helps.

+2.  Exactly what I was going to suggest....thanks Robert.

You can/could also look in the launch config below...see selected_target_plugins and workspace_plugins

Scott



Thanks,
Ram
 
--
Ramachandran K. Narayanan
(Ram)
Software Engineer
RNET Technologies Inc.
240 W.Elmwood Drive, Suite 2010
Dayton, OH 45459-4248


_______________________________________________
ice-dev mailing list
ice-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ice-dev
_______________________________________________
ice-dev mailing list
ice-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ice-dev
--
Ramachandran K. Narayanan
(Ram)
Software Engineer
RNET Technologies Inc.
240 W.Elmwood Drive, Suite 2010
Dayton, OH 45459-4248

Back to the top