Questions tagged [bundle]

Bundles are a group of resources.

A bundle is a directory that has a well-defined structure and can host anything from classes to controllers and web resources. Even if bundles are very flexible, you should follow some best practices if you want to distribute them.

In ASP Net MVC, bundles are used to combine multiple javascript and CSS files into one, improving the download speed of a website.

In Android bundles are, "A mapping from String values to various Parcelable types." --http://developer.android.com/reference/android/os/Bundle.html Bundles are used to save the state of activities and/or fragments as well as passing data between classes.

5438 questions
37
votes
4 answers

This application failed to start because it could not find or load the Qt platform plugin "cocoa"

I think I did everything I could in the last 20 hours, but nothing seems to work. My app is running and working -- just as it should -- the only problem I have is that I cannot create a .app bundle from it. I tried both Py2App and cx_Freeze but non…
Peter Varo
  • 11,726
  • 7
  • 55
  • 77
35
votes
5 answers

Application is using Java 6 from Apple instead of Java 7 from Oracle on Mac OS X?

I am testing my current application with Mac OS X which has Java 7 from Oracle installed. Instead using Java 7 from Oracle, it's using Java 6 from Apple. The default system output of java -version is showing 7. I tried most of the things mentioned…
amod
  • 4,190
  • 10
  • 49
  • 75
34
votes
4 answers

Copy files to bundle depending on active configuration

is it possible to control which files are copied to the bundle depending on the active configuration? I don't want to add another target for this, so this not an option. The real life example is a splash video which is in fact 8mb in size and is…
Nick Weaver
  • 47,228
  • 12
  • 98
  • 108
33
votes
9 answers

bundle failing - Can't find the PostgreSQL client library (libpq)

I think I have tried all the suggestions I could find regarding this issue. Still not working for me. When I try to bundle ... $ bundle ... Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. …
halorium
  • 709
  • 1
  • 6
  • 8
32
votes
2 answers

Saving and restoring view state android

I'm aware of activity state saving and restoring. But what I want to do is saving and restoring the state of a view. I have a custom view and two overrided methods in it: @Override protected void onRestoreInstanceState(Parcelable state) { if…
Vladimir Ivanov
  • 42,730
  • 18
  • 77
  • 103
32
votes
3 answers

What should a bundle in Symfony2 represent

This might be an obvious thing to you but - even after reading through a lot of manuals and blogs - I'm still not sure what exactly should a bundle in Symfony2 represent in a webpage. And it's hard to guess it from the simple demo applications. For…
Czechnology
  • 14,832
  • 10
  • 62
  • 88
32
votes
1 answer

Difference between 'bundle' and 'bundle install' rails 3?

I've been working with Rails 3 for some time now and never came across an answer for the difference between running bundle and bundle install to install gems in your Gemfile. Is there any difference between the two commands?
vich
  • 11,836
  • 13
  • 49
  • 66
31
votes
7 answers

Bundler could not find compatible versions for gem "bundler":

Complete new person to Ruby and Rails here... Have tried some tutorials in the past, but that's about it. I'm trying to follow 'Ruby on Rails 3 Tutorial' book and have hit a roadblock that I haven't been able to find any help for after searching…
audioeric
  • 375
  • 1
  • 4
  • 9
31
votes
6 answers

How to include a bundle in main project xcode 4.1

[UPDATE 03/04/2015] The question is now 4 years old, and applies to a specific version of XCode which I have now specified in the subject. I have searched a lot for this argument, but I couldn't find a solution, I even post on stackoverflow, but I…
Leonardo
  • 9,607
  • 17
  • 49
  • 89
31
votes
4 answers

bundle uses wrong ruby version

I'm trying to run env RAILS_ENV=test bundle exec rake db:migrate and get the following error Your Ruby version is 2.1.7, but your Gemfile specified 2.2.3 ruby -v gives me ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin15] I'm using…
Linus
  • 4,643
  • 8
  • 49
  • 74
30
votes
7 answers

Can I embed a custom font in a bundle and access it from an ios framework?

I'm creating an ios framework with its bundle for packaging ressources (nib, images, fonts) and I'm trying to embed a custom font in the bundle but I'm not able to load it from the framework, is it possible ? 1) I can localize the font file with…
Nicolas Lauquin
  • 1,517
  • 3
  • 14
  • 23
29
votes
5 answers

MVC4 bundling with TinyMCE

I have an problem using MVC4 Bundling together with TinyMCE. I get this error: GET http://localhost:54717/Admin/EditText//langs/da.js 404 (Not Found) Site:1 GET http://localhost:54717/Admin/EditText//plugins/lists/editor_plugin.js 404 (Not…
mortenstarck
  • 2,713
  • 8
  • 43
  • 76
29
votes
3 answers

Simple example for Intent and Bundle

I'm new to android with almost no knowledge about Java and XML. I'm learning it through pdfs that i'm getting on net. I have learnt about Toast, a bit about Intents but me not able to understand anything about Bundles. I have understood that they…
Akshay Sethi
  • 803
  • 3
  • 13
  • 22
28
votes
2 answers

webpack 4 - split chunks plugin for multiple entries

Using split chunks plugin with the following config : { entry: { entry1: [entry1.js], entry2: [entry2.js], entry3: [entry3.js], ... } optimization: { splitChunks: { chunks: "all" …
Daniel
  • 6,194
  • 7
  • 33
  • 59
28
votes
6 answers

Expose javascript globals bundled via webpack

The Problem I feel like this should be more straightforward than it is. I need to access all my javascript libraries from the frontend and because I'm integrating it into an old system, I cannot call require("bundle.js"); from the frontend.…
Loufs
  • 1,596
  • 1
  • 14
  • 22