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
2
votes
1 answer

Bundler range <= 1 || >= 3

Is there a way to specify a below X or above Y (if available) for a gem via Bundler? For example I'd like to do something like this, but not sure of the syntax and can't find any examples: gem 'nokogiri', '<= 1.6.3.1', '>= 1.6.7' Variations on this…
Meltemi
  • 37,979
  • 50
  • 195
  • 293
2
votes
0 answers

Set bundle product individual item price as 0 in magento

My requirement is to set a custom price for a bundle product in cart. Whatever its sub items may be. Suppose I want to set $5 for a bundle product with 2 of its subitems. I am tracking checkout_cart_product_add_after this event. And the function in…
2
votes
1 answer

Can't install e(fx)clipse

I'm trying to install e(fx)clipse on eclipse 4.4 (luna), and I keep getting an error saying I'm missing a bundle (org.eclipse.equinox.common). I've tried installing various pieces of software from the Help>install new software menu using the…
Nathan E
  • 23
  • 1
  • 4
2
votes
1 answer

Uncaught SyntaxError: Unexpected token < ERROR during bundle creation in IIS

It was running smoothly in my local machine, when i host it to IIS server now the design is completely broken. After search i came into a change in my bundle config like as follows bundles.Add(new …
Nithin Paul
  • 2,169
  • 3
  • 33
  • 55
2
votes
1 answer

Symfony 2 change translations path

I cannot seem to figure out how to change the path from reading from the translations directory in a bundle to a specific directory instead.
2
votes
1 answer

Doctrine2 DiscriminatorMap can be optional / automatic to fit children class + namespace?

I have an abstract entity model class that have inheritance type "joined". If I want to extend that entity in another bundle, I need to add the "children class" into the discriminator map .. But if its in another bundle, that means I will need to…
user1270589
2
votes
1 answer

MacRuby: load cocoa bundle

I created a custom cocoa bundle. But when i try to load the bundle into MacRuby project,I get the following err dyld: Library not loaded: audio_streamer.bundle Referenced from:…
2
votes
0 answers

FAILED BINDER TRANSACTION,but there is nothing in intent

I have a failed binder transaction error when the app quits abnormally,but there is nothing in intent. The images of every xml are lower than 40K,so I think it's not the problem of images. This is my code. ... ... public class MainActivity extends…
2
votes
1 answer

UIWebView not work for file:///private/var/..../(myapp).app/www/index.html

When I using code below to open an embedded html file. it cannot trigger the delegate : [ - webView:shouldStartLoadWithRequest:navigationType:]; NSURL *url = [NSURL…
Ericpoon
  • 267
  • 1
  • 2
  • 11
2
votes
1 answer

Adding IOKit from Xcode.app bundle

I am following the instructions to install KIF from Github, which provide a very detailed step-by-step tour of things to do to make it work. That is, until it reaches this point. KIF requires the IOKit.framework. Unfortunately as of Xcode 6.3 you …
physicalattraction
  • 6,485
  • 10
  • 63
  • 122
2
votes
1 answer

Storing Activity context in Bundle

I am using static factory method to create fragment. But I need to use activity's context in the fragment and therefore I need to wrap that context into a bundle and attach it to the fragment using setArguements() method so that I can retrieve it…
allstraws
  • 129
  • 3
  • 12
2
votes
3 answers

Is it allowed to have a chain of onActivityResult's?

Suppose I have a main activity A and two other activities B and C. A launches intent B and at some point B launches intent C. Then C sets setResult(...) and finish()'s, as does B, finally ending at onActivityResult(...) in A. Is this allowed; will…
user1300214
2
votes
2 answers

with git what should I do with .bundle directory?

Currently my .bundle directory is untracked. Should I git add .bundle/*? I'm not sure what to do with it.
Satchel
  • 16,414
  • 23
  • 106
  • 192
2
votes
1 answer

Managing bundle in custom composer repository

My Symfony2 (GregCMS) project contains several Bundle which can be used separately. I created a bare local repository (RepoGregCMS) which has been initiated with my project. I really need to embed my bundle within a single Symfony project.…
Grégory Elhaimer
  • 2,731
  • 1
  • 16
  • 21
2
votes
1 answer

ASP.NET/MVC Bundler Cache does not work

In an MVC5 project we encounter a problem with caching of the bundled resources (js/css). According to the mvc docs, by default the bundles should be cached. And it works in other projects. However, here, no matter what configurations, the response…
Igor Lankin
  • 1,416
  • 2
  • 14
  • 30