bundle

Storing resources into "sub-bundle" ?

Hi, I'd like to know if it is possible to store resources data into "sub-bundles" or "sub-packages" that I could put into my main AppBundle. Indeed, I'd like to create a kind of player that reads "content packages", which are all organized the same way, with a standard hierarchical organization : Package1: - index.txt - credits.txt - ...

Why doesn't this sample code from Apple work?

I am trying to find the full path for a file called 'file1.jpg' I have verified that it is in the app bundle and yet when I run this code: NSBundle* myBundle = [NSBundle mainBundle]; NSString* path = [myBundle pathForResource:@"file1" ofType:@"jpg"]; 'path' doesn't have the path/file i'm expecting. This is code directly from the ...

How do I register a service in OSGi (Apache Felix)?

Hello, everyone! I have successfully managed to start Apache Felix from code and register an own Bundle. Following relation between OSGI-projects is needed: [OsgiInterface] -- provides interfaces. [OsgiModuleA] -- (bundle) provides an implementation of those interfaces. knows [OsgiInterface] [OsgiUsage] -- makes use of one or more b...

Using PaxExam to test a bundle which has a Bundle-Classpath in the manifest

I'm trying to test a bundle using PaxExam which has two embedded jars, referenced by the Bundle-Classpath in the manifest. When trying to access the service that the bundle supplies from within PaxExam I receive an ExceptionInInitializerError: Caused by: java.lang.RuntimeException: Unable to load either XMLPull or StAX parser - chec...

Tracking down the version number in OSX/xcode

I have a C/C++ program which is a Firefox plugin. I'm trying to find the version number resource. In my plist I have: Bundle versions string, short set to 5.09b and bundle version to 1.0 In my .rsrc file (yes, I'm still using rsrc files, it's not my fault.) my vers resource has a short string of 4.70 When I compile, the version on the...

how to load a application bundle in iPhone OS?

Hello, I want to load an application bundle file in iPhone OS?what is the procedure to do it? ...

Java swixml in an OSX app bundle

Hello, I'm developing an application in Java and have gotten it rolled into an app bundle, but I'm having issues with the xml file for building my Gui. I would like to store the xml file inside the app bundle, but the only way I've been able to get it to work is to directly access the file Application.app/Contents/Resources/Java/Gui.xml...

Gettings errors with Textmate using Git bundle.

Trying to use Textmate with the Git bundle. Running into errors when trying any option. /Users/colby/Library/Application Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/../lib/git.rb:131:in `paths': No selected files. (RuntimeError) from /Users/colby/Library/Application Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/../lib/git.rb...

Transitive dependencies on bundles?

Hi, when using bundle as the packaging of a maven artifact, I seem to lose all information about transitive dependencies. So if artifact A depends on artifact B and B is packaged as a bundle, A does not see the maven dependencies that B has. This leads to lots of issues with maven plugins used in A's POM that need this information (such...

Can't find service because OSGi bundle isn't activated

I'm having a problem discovering services that are provided by some OSGi bundles that are not being activated. Let me describe the situation: Bundle A defines interface X Bundles B, C, and D provide services that implement interface X These bundles' services are registered via Spring DM, so they are only created when the bundle is ac...

What is the resource size limit for iPhone native apps?

Hi, I have created iphone application to play some video files. I kept all the video files in application bundle. I want to know that what is the upper limit of resource size that we can put on resource? In my case the total video file size is 500 MB. Is 500 MB is ok with iphone application? Thanks, Jim. ...

What location do OSX/Cocoa applications generally use to store data files?

Do they write/store them within the app bundle/package itself? Or some other canonical location? Or does there not seem to be any standard? ...

Prism: Bundle not working

I am trying something completely new and decided to try out Webapps on Prism. I started out with the dev center on Mozilla on creating the very first bundle. It worked the first time, but once I added the other files to construct the entire bundle, Prism does not recognize my Parameters any more. Even when I tried removing all of the oth...

MonoTouch - Setting Bundle - iPhone

I am trying to create a app preference so that users can store prefs. In XCode I would click the "Settings Bundle" under New File. How do I do this in MonoTouch? ...

Package library in the final exec file

I'm developping with visual studio 2008 and I use several project library used by several application project. There is also external dependency. When I distribute the program, all the DLL appears in the program files folder which would make very easy to hack my program. Is is possible to bundle all the project library into one exec fil...

What is an App Bundle on Mac?

I have a basic C++ applicatin build using g++ and -framework ... when I run it, I get a : Working in unbundled mode. You should build a .app wrapper for your Mac OS X applications. (which is not std::couted by any of my application). What causes this, and how can I get rid of it? Thanks! ...

iPhone free -> tier one upgrades (Main Bundle setting?)

My app has been free since the beginning, I uploaded a new version and set it to Teir 1 pricing. People who updated got it for free for some reason, only new downloads by new users were charged. Did I miss something in my main bundle to ensure that upgrades are not free? ...

Rails Gem Bundler breaking Dependencies

I recently installed the Bundle gem (stable 2.3.x) with a integrated 3.0 release. The documentation for installing 2.3.x is weak, so I'm looking for help here. I've done everything from this article on installing and configuring gem bundler (Installing gem bundler, defining Gemfile, adding preinitializer.rb, requiring bundler_gems/en...

Is JSF available as an OSGi (Equinox) bundle?

There is a bundle for JSP/JSTL, which can be deployed on Equinox OSGi Framework and can be used by other bundles then: org.eclipse.equinox.jsp.jstl_1.0.0.jar Is there also a bundle for JSF, so i can use JSF components in my bundles? I really need to solve this issue, because i have to transform an extisting JSF Web Application to an O...

Can't install application on iPhone

When I try to install on iPhone I get the following: Can't install application The Info.plist for application at (null) specifies a CFBundleExecutable of (null), which do not exist The Bundle identifier matches the one on file at Apple and the phone has the provisional certificate... Any ideas?? Thanks ...