Download builder Package results Single File
Download builder Package results Single File
I've used the Download builder for my wanted config. jQuery, Datatables etc. Single file option.
The page says,
"Include the following in your HTML to load the required Javascript and CSS for the options selected above."
e.g.
<link rel="stylesheet" type="text/css" href="DataTables/datatables.min.css"/>
There are no such files, datatables.min.css or datatables.min.js
And all jQuery functions are is undefined.
I was hoping to not have to manually reference everything individually.
Am I missing something? Thanks.
Answers
I'm having the same issue.
If you select the packages you need and then select "Single file" under the Concatenation option it gives you a zip archive with all the selected packages but it does not include the concatenated single file.
In my case the selected packages are:
If you select to use the CDN and then use the link provided to download the js file as well as the css file, you will get the concatenated files as intended so I believe this is a bug with the "Local files" option.
I am also seeing the same behavior when I download the package.
Same here.
Actually yeah, This happened to me, and I just thought.. oh well.. lol
That's very odd - thanks for reporting this. I've just tried the configuration from @eziante but I do appear to get the concatenated files in the downloaded package.
Could anyone else who is also seeing this issue post the selection options you used please?
Thanks,
Allan
Main libraries
jQuery: No jQuery
styling: DataTables
DataTables: DataTables
Extensions
Buttons: Buttons
Buttons: Column Visibility
Buttons: Flash export
Buttons: HTML5 export
Buttons: JSZip [Excel button]
Buttons: PDFMake [PDF button]
Buttons: PrintView
Packaging options
Minification: Minify
Concatenate: Single file
CDN: Local files
Within the DataTables.zip I get four folders
- Buttons-1.0.3
- DataTables-1.10.9
- JSZip-2.5.0
- pdfmake-0.1.18
There is nothing I see that ties them into one file.
Okay this is odd. On my phone I tried to download the files. The files are there. Back to my PC and tried to download again the files are not there. I think the they are being killed by a virus scan?
That would be frustrating! Do your virus scanner logs show anything? What if you disable it for a few moments?
Allan
I just tried to download it from my mobile phone with the same settings as i used before and i do as @connorsfour get the concatenate files in the .zip folder.
Still not getting them on the desktop though.
I just tried with the following browsers on desktop with the same result
So it doesn't seem to be a browser issue.
Okay new update.
Tried to download them on a freshly installed version of Linux and the files were there.
Went back to windows and tried to view the archive with 7-zip instead of the default windows one and the files still weren't there.
I then tried to extract with 7-zip instead of the default windows one and finally the files were there.
So I guess the problem has something to do with the default zip program in Windows.
I've just tried the default windows unzip (Win7) and it does indeed appear to remove the Javascript files at the root level (but oddly, not in the sub directories).
Googling about this there are a few reports about it, but nothing much, which is surprising.
No log messages from the zip program, nothing to say what is happening. Very frustrating!
Allan
I also tried to download single package today. Got the zip file, no DataTables/datatables.min.css or js
I don't think it's getting put into the file.
Have you tried unzipping the package with something other than the default windows archiver? I'm quite certain that the files are in fact there - but the Windows default archiver is stripping them out for some bonkers reason.
Allan
Yep. used 7zip and they were there.
That's just dumb.. ;)
Yup -I just can't understand it. Going to post on MSDN and see what is going on. Will post back here when I find out more.
Allan