Questions tagged [bundles]

Bundles are a group of resources.

179 questions
2
votes
0 answers

Use different bundles to load strings from on runtime in iOS

I have been trying to load different strings for a library by loading different bundles containing these strings. I am using https://github.com/firebase/FirebaseUI-iOS but the solution to this problem might not be specific to Firebase, so please…
user637571
  • 21
  • 2
2
votes
3 answers

In textmate, how do I make javadoc style comments like I can in eclipse?

In eclipse, when I want to document a function (in java or javascript source) I can just type /**, then hit enter, and I get a comment like this /** * * Fluctuates all variables to more compatibly foo all the bars * * @PARAM {int} foo */ …
Breton
  • 15,401
  • 3
  • 59
  • 76
2
votes
1 answer

Cocoa: Correct way to get list of possible PlugIns directories for an app?

In a Cocoa app generally we can install a plugin bundle in one of a number of places. If for example the app is called "MyApp" you'd be able to install the plugin at: /Applications/MyApp.app/Contents/PlugIns ~/Library/Application…
d11wtq
  • 34,788
  • 19
  • 120
  • 195
2
votes
1 answer

Why does the ASP.NET MVC app loads scripts infinitly?

I've just faced an interestring issue. So, what I have: ASP.NET MVC app; AngularJS app inside this app. Well, I have a layout page: @using System.Web.Optimization
2
votes
1 answer

script bundles of angular2 rc

I try to migrate my app to RC 0 from 0.17 and I have some questions. In 0.17 we use those scripts (bundles)
Velidan
  • 5,526
  • 10
  • 48
  • 86
2
votes
1 answer

karaf features vs deploy folder

What are the advantages of using features descriptor compared to using deploy folder for deploying bundles in karaf. Based on this answer it seems for Production usages, it is better to depend on the features rather than using deploy folder. Are…
satish
  • 125
  • 1
  • 6
2
votes
1 answer

What is the right way to include sub bundles into main bundle iOS

I have the following situation, I am trying to make a framework that consist of sub projects, each sub project is a static library and a bundle. I am including those static libraries into the main project which is the framework, and also I need to…
Mohanad Kaleia
  • 793
  • 1
  • 9
  • 22
2
votes
1 answer

IndexOutOfRangeException on Scripts.Render Bundle

I have the following in my BundleConfig.cs file to set up two bundles that I am trying to render. bundles.Add(new StyleBundle("~/bundles/bootstrap").Include( "~/Scripts/bootstrap.js", …
AtlasBowler
  • 267
  • 1
  • 8
  • 18
2
votes
2 answers

Symfony2 Get Username in Navigation

I've started using Symfony2 Framework which looks very great for me. After creating the first bundles to rebuild an existing project with Symfony2 I came to this problem: I've created a {% block navigation %} in base.html.twig, where my navigation…
2
votes
1 answer

Load bundles from a separate SVN repository

I am working on a project where code will be shared across multiple projects. Right now, I maintain the shared code in a single sf2 application that are in the same SVN repository. What is the recommended/right way to pull out the shared bundles…
Steffen Brem
  • 1,738
  • 18
  • 29
2
votes
1 answer

Eclipse OSGi launch configuration does not show my bundles

I'm developing OSGi bundles on Felix, now I want to use also Maven and have therefore installed the Apache Felix maven-bundle-plugin. I am working with the example on http://wiki.osgi.org/wiki/MavenFelixBundlePluginEclipseToolchain Building with…
2
votes
1 answer

How to active bundle's dependencies automaticlly when activing the bundle?

After seeing Robert Dunne's OSGi Dependencies: Heaven and Hell, I am specially interested in the following : If you were using a resolver that wasn’t aware of ACTIVE bundle dependencies then you’d have to manage all of this yourself. With …
Tang Yong
  • 23
  • 4
2
votes
2 answers

MVC4 _Layout.cshtml Bundles For Scripts

In the head section of my _Layout.cshtml page I have this line of code... I check the scripts directory and jquery-ui is in there just fine. I'm…
Shane LeBlanc
  • 2,633
  • 13
  • 42
  • 74
2
votes
2 answers

Create a Folder (bundle) in Cocoa

I'm trying to programmatically create a folder with Cocoa. I've written an NSString category and we've got the following function there : - (void)createAsFolder { NSFileManager *fileManager = [NSFileManager defaultManager]; NSError* err =…
Dr.Kameleon
  • 22,532
  • 20
  • 115
  • 223
1
vote
1 answer

How to Create MULTIPLE bundles in iPhone Application?

Hi I have a situation where my application can be used for different purposes depending on certain inputs. Ex: I have a Theme.js which will have contents for Type A and another Theme.js will have contents for Type B. Here i will need to create a two…
1 2
3
11 12