Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Is it normal to get a dump for invalid char in manifest.mf?
Is it normal to get a dump for invalid char in manifest.mf? [message #1007443] Tue, 05 February 2013 21:18 Go to next message
Laurent Delamare is currently offline Laurent DelamareFriend
Messages: 12
Registered: March 2011
Junior Member
Our platform is using Virgo 3.0.3 and our users are developers building extensions as plugin bundles. They often discover the hard-way that their bundle's MANIFEST.MF is very sensitive to bad syntax (our doc explains how to use a tool like bundlor to generate it but some of them still edit the manifest manually to add package names).

I just ran into a case where an extra tab at the end of a package name in "Import-Package" got Virgo to generate a huge dump file instead of giving the parsing error directly in the log. This is bad because our users will not necessarily know where to look for the actual error. So I have a couple questions:

1) Is it normal for Virgo to generate a dump file instead of a parsing error in the log?
2) Is Virgo 3.6.x more robust and forgiving than 3.0.x regarding the Manifest.mf syntax?

Thanks!
Re: Is it normal to get a dump for invalid char in manifest.mf? [message #1007447 is a reply to message #1007443] Tue, 05 February 2013 21:27 Go to previous messageGo to next message
Borislav Kapukaranov is currently offline Borislav KapukaranovFriend
Messages: 80
Registered: September 2010
Member
Hi Laurence,

Good to hear your usecases.
On your first question - briefly yes. The longer answer is that since essentially Virgo failed to deploy something what it usually does in such cases is to produce a dump regardless the problem may be smaller than that.
You can open an enhancement in our bugzilla requesting to make the parsing error more easily discovered and visible.
On the second one there's only a brief answer - no Smile One way to make Virgo more robust but not forgiving is to open an enhancement to allow deployment of manifests with bad syntax but still to scream and warn about it.

Best Regards
Bobby
Re: Is it normal to get a dump for invalid char in manifest.mf? [message #1007458 is a reply to message #1007447] Tue, 05 February 2013 22:22 Go to previous message
Laurent Delamare is currently offline Laurent DelamareFriend
Messages: 12
Registered: March 2011
Junior Member
Thanks for the quick response! Will file an enhancement request.
Previous Topic:How do you set up Spring AOP/AspectJ/Virgo
Next Topic:lib/endorsed not honoured by Eclipse Bundle Dependencies classpath container
Goto Forum:
  


Current Time: Fri Dec 19 12:01:38 GMT 2014

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

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