Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Package URIs and a Disconnected Network
Package URIs and a Disconnected Network [message #421368] Tue, 05 August 2008 23:22 Go to next message
Gerry Kessler is currently offline Gerry KesslerFriend
Messages: 125
Registered: July 2009
Senior Member
I was hoping that someone could recommend the best approach to solving a
problem. When loading our model from XML, and an ePackage cannot be
found locally using the namespace uri, what can be done to prevent a
network request and the associated performance issues if the computer is
disconnected from the network?

We are using the Ganymede release with WTP 3.0 and EMF 2.4. Will the fix
for https://bugs.eclipse.org/bugs/show_bug.cgi?id=231430 in EMF 2.5 help?


Regards,
Gerry Kessler
Re: Package URIs and a Disconnected Network [message #421369 is a reply to message #421368] Tue, 05 August 2008 23:30 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Gerry,

The fix for 231430 will reduce it to one network request per resource.
You could add a URIHandler to the resource set's URI converter's list of
URIHandlers (ahead of the last one that's there by default) to make an
HTTP URI fail rapidly without actually attempting to access the network
and timing out.


Gerry Kessler wrote:
> I was hoping that someone could recommend the best approach to solving
> a problem. When loading our model from XML, and an ePackage cannot
> be found locally using the namespace uri, what can be done to prevent
> a network request and the associated performance issues if the
> computer is disconnected from the network?
> We are using the Ganymede release with WTP 3.0 and EMF 2.4. Will the
> fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=231430 in EMF
> 2.5 help?
>
> Regards,
> Gerry Kessler
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:XML-serialization of EDate not compatible with xsd:dateTime?
Next Topic:Export XSD from a genmodel
Goto Forum:
  


Current Time: Fri Apr 19 19:06:53 GMT 2024

Powered by FUDForum. Page generated in 0.02729 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top