bundle

How to make eclipse aware of OSGI bundles within a maven repository (local &| remote)

I have a project which is build through maven. Each module is built as an osgi bundle. Within Eclipse the modules have also the plugin nature. Some modules require external dependencies (log4j, apache commons, ...), which are also available as plugins from a maven repository (for instance the spring enterprise repository, which is also...

A cycle was detected in the build path of project xxx - Build Path Problem

I'm in the process of converting my projects to OSGI bundles using maven and eclipse. Maven builds the stuff just fine, only I get the above error now within Eclipse. How can I find out which project causes this? Is there a special view or something? How can this happen, I would expect that maven can detect cyclic dependencies as well? ...

Using symbolic links inside OS X application bundles

Hi, I'm having a following problem. I have a bundle that has the following structure: B.app/Contents/Frameworks -> link to an existing FS location [1] B.app/Contents/Info.plist B.app/Contents/MacOS B.app/Contents/MacOS/AliasBinary -> link to an existing binary called ExistingBinary [2] B.app/Contents/Resources -> link to an existing F...

Is it possible to copy a different plist into the application bundle code wise??

Hello all again. My question is stated above in the title but I'll write it here again Is it possible to copy a different plist into the application bundle code wise?? This is actually a bit related on my previous question ;) http://stackoverflow.com/questions/1125048/create-a-dictionary-property-list-programmatically But since I ca...

Check signature of OSX bundle before load

Goal: Load .so/.bundle that has been verified to be signed (or verified against an arbitrary algorithm). I want to be able to verify a .so/.bundle either using OSX's builtin binary signature tools or some custom algorithm and then load that .so/.bundle with dlopen... The wrench in this is that there seems to be no programmatic way to c...

Problem in plug-in development: Eclipse 3.4 can't find a bundle that is definitively there!

Today I had a problem with my old Eclipse 3.4 installation and I had to re-download the entire package. However, I don't think that I got the exact package as before, and I'm having some problems. The problem can be summarized as follows: when developing a plug-in, I cannot resolve dependencies towards 'org.eclipse.jdt.ui'. When trying ...

How to send parameters from a notification-click to an activity?

Hi I can find a way to send parameters to my activity from my notification. I have a service that creates a notification. When the user clicks on the notification i want to open my main activity with some special parameters. E.g an item id, so my activity can load and present a special item detail view. More spesific, im downloading a ...

How to bundle (zip/tar/?) sets of files so that an iPhone app can expand them?

How can I bundle up an arbitrary directory of files, preserving their hierarchical paths so that they can be expanded by an iPhone app? More background on what I am trying to do: I would like to add dynamic content updates for my iPhone app. I'll make a bundle of html files available on a server, and I'd like the app to check period...

Change intent bundle data before an activity is re-created after orientation change

I have a notification that starts my activity and passes a messages using the intent's putExtra() function. The message is then displayed to the user in the activity's onCreate function. When the application is restarted due to a orientation change, the message is shown again as it is still in the intent's bundled data. How can I remov...

How do I set an OS X application bundle's working directory?

Is there a key I can set in my application bundle to set what the working directory will be for the executable? It needs to be the $BUNDLE/Contents/MacOS directory (because of some library dependencies that do runtime loading that I can't easily modify). I'm aware this can be done by wrapping with a script instead but I'd rather not. ...

iPhone - Change app icon pointed to by info.plist within the application?

Is there any way to change the 47x47 PNG, pointed to within info.plist, for the iPhone springboard icon from within code? I understand I can add a translation and change the springboard icon per language that the iPhone supports via a changed info.plist per language, but I would like to change the springboard icon for my iPhone app base...

Felix 'pref' bundle requires 'log version >=1.3', but D/L 'log' bundle version = 1.0

Hi, the Felix download page shows Log bundle version 1.0.0 Preferences bundle version 1.0.2 But preferences requires log-bundle version >= 1.3 It just want to get an idea of how 'preferences' works, so any log compatible bundle is welcome :) Regards. ...

Bundle Identifier

Hi, I'm running a small team of iPhone developers and am a bit concerned about the application transfers into iPhone from Xcode. The problem is that whenever an app is transfered into the iphone the earlier transfered app is mysteriously replaced. My question is, "How do I ensure that every app takes its own respective place and does ...

Two executables in one bundle on MAC

Hi, Is it possible to have two executables each with its own plist to share the same bundle. Then depends on the way app is executed (parameters) to load the appropriate executable. Imagine the case where we have a main application (executable with UI) and the mini application (shorter version of the main app also with its own UI) and ...

Apache Felix Bundle Repository - Calling from another bundle

I have a simple test program which is designed to consume the Apache Felix Bundle Repository bundle service however I am having trouble configuring it through eclipse. I am using the jar for the bundle (org.apache.felix.bundlerepository-1.4.0.jar) as an referenced library and have added it to the classpath in the manifest. When I try t...

Is having Eclipse OSGI Activators inheriting from each other a good idea?

If you have a common eclipse/osgi code platform on which you build various products can you/should you inherit activators from the common code E.g. org.test.common.PluginActivator org.test.common.ui.UIPluginActivator org.test.product1.Product1PluginActivator org.test.product1.ui.Product1UIPluginActivator org.test.product2.Product2Plu...

The document NSBundle.h could no be saved

I'm having some troubles with the bundle and somehow I can't save images from bundle to docs directory any more. Now I've got this error before building: The document NSBundle.h could no be saved It apparently compiles well. This is the kind of code I'm using: //Get every name from plist array and append it to the full path for(...

Any way to get a Cached UIImage from my 'Documents' directory?

I know that the -imageNamed: method returns a Cached UIImage, but the problem is that my image file is stored in 'Documents', and the -imageNamed: method seems to only search the Bundle... I am currently (reluctantly) using -imageWithContentsOfFile: to get my image from 'Documents' but it is not the same...Scaling up/down a UIImageView c...

Objective-c application plugin quick start

I need to add a few methods to an already identified class in a closed source application. Using f-script anwywhere and gdb I know what I need to interact with to acheive my goals. However I am struggling to find a solution to allow me to inject some code (preferably objective-c) into the running application. For the time being I wo...

How to setup bundle development environment (Eclipse Equinox Maven)

Hi, I'am trying to setup eclipse environment to develop bundles (With maven-bundle-plugin-bnd) and run & debug that bundles equinox from eclipse I created sample bundles with org.apache.felix maven-bundle-plugin and can install and start that bundles from eclipse equinox, but every time i need to run "install file:C:\path\bundle1.ja...