02-16-2011 10:35 AM
[INFO] Parsing command line options [INFO] Parsing bbwp.properties [INFO] Validating WebWorks archive [INFO] Parsing config.xml [WARNING] Failed to find a <feature> element [INFO] Populating application source [INFO] Compiling WebWorks application [INFO] Packaging the bar file Die Befehlszeile ist zu lang. [INFO] Bar packaging complete [INFO] WebWorks application packaging complete
The line "Die Befehlszeile ist zu lang" means "command line too long" (too many arguments), but I indeed need to pack a few hundret files into the WebWorks application.
bbwp won't output any .bar file for this project.
Any ideas?
02-16-2011 10:42 AM
Well, I have the exact same problem.. it said "command line too long."
I have 3.9 MB to pack, it has about 100+ image files (i'm creating offline reference app for playbook).
Any workaround for this? This is my last step before submission, and this issue tackles my pace..
02-16-2011 10:47 AM
Did you already open a file in the bug tracking system?
02-16-2011 11:11 AM
Not yet, haven't submit my issue to the bug tracker..
02-16-2011 11:28 AM
OK, therefore I just did.
I'll post an update once I get any news.
02-17-2011 09:22 AM
FYI - I've seen several people have this issue. Some have fixed it by putting their project folder right off the root folder of their drive. Some have done it by reducing all their filenames to single characters.
In my instance I had several hundred small images (over 400). I reduced this to 100 images by grouping them into larger images (atlasing) and using code to only display the sub-portion I needed.
The quickest solution would be to try one of these approaches until an official fix can be released.
02-17-2011 09:38 AM
Hi
Just a thought ..
Can one ADD / APPEND files to a project ... ?
Then you could split up the files in 2 or more groups, and add them separately (ie as 2 separate batch commands .. )
.Heiko
02-17-2011 09:56 AM
Do you have a large hiearchy of files with many different directory levels? I'm wondering if the compiler is trying to reach a file that ends up having a path longer than the maximum file path length.
I believe on NTFS it is 256 characters
02-17-2011 10:01 AM - edited 02-17-2011 10:01 AM
No, there's no large hierarchy for me: no file is deeper than two folders below root. I also renamed my files and folders to be quite short (e.g. d/m/ab.gif), but it wasn't enough and I cannot reduce the count of files without tremendous effort...
What I can do indeed is add my data folder manually to the .bar file after it has been created. But I have no clue what side-effects that might have (e.g. signing), especially since these files are not included in the MANIFEST.MF then...
02-17-2011 10:26 AM
I did manually add my files to the .bar and as far as I test, I found no side effect. I think that's the easiest 'hack' to get my app working for now.. because I have about 500+ files in my package.
Thank's a lot for the lead : )