04-22-2010 03:33 AM
Hi,
I am testing the widget SDK Plugin for Eclipse (3.5).
Every now and then I get the following message, when I try to build a widget:
Invalid widget archive - resource name is not valid(.tmp_index.html.some_random_number~)
I did not create this file - it seems that the plugin creates this for some (but which) reason and then cannot read it, because it contains unsupported characters. This is strange, because I'd think that the plugin should only create those files it can read, shouldn't it?
Is there some way to prevent this? Where does it come from?
I can repair it by deleting the file and restarting the build...
regards,
Nallo
Solved! Go to Solution.
04-29-2010 09:11 AM
I am using eclipse with Aptana-Plugin.
When working on my Widget, I use Aptana HTML-Editor. This editor creates these files for the browser-preview...
06-29-2010 03:25 AM
Hi Nallo,
As you rightly pointed out about unsupported special characters, you need to remove the underscores, hyphens etc. like special characters used in the project filenames and recompile the project. Then you will get rid of the error "Invalid Widget Archive - Archive not supported".
Though its strange for BB development environment to not to allow the special characters, its truely is the case. It resolved my problem.
Regards,
Giridhar
06-29-2010 03:35 AM
Hello Giridhar,
I think that this is strange, too.
And it can become a nuisance, when using Javascript Frameworks (like dojo) which use those special characters.
Happy, it works for you ![]()
Nallo
06-29-2010 05:00 PM
Actually, underscores are ok, but dashes are not. Also if hese files are not meant to be part of the plugin, you should exclude them by editing the .settings/net.rim.browser.tools.debug.widget.prefs
For example I had to manually exclude the .git and .gitignore files from the plugin, because these wouldn't compile (and why would I want to have a 20Mb .git folder to my widget distribution?)
oO
02-04-2011 10:33 AM
Does anyone know how to exclude .svn folders? Looks like none of the below variations work:
exclusionfilters=.svn/,*.svn
exclusionfilters=.svn
exclusionfilters=.svn/,*.svn,**/.svn/*,**/.svn
This is for the WebWork version of Eclipse (Helios)
06-28-2011 11:44 AM - edited 06-28-2011 11:45 AM
Any solutions to this out there yet?