bundle

Cannot connect to a modified (bundled and registered) Amazon AMI

Hi all, I am having problems connecting to an AMI that I created by modifying an existing linux ami, bundling it and registering it. Heres what I did - Launch existing CentOS AMI (ami-cb52b6a2) - this is a Rightscale LAMP image configured Apache, PHP etc and copied over some PHP scripts etc Tested it - all worked as I want it to I bun...

How are objects defined in an XIB file and how are they created at runtime?

I've just purchased a Mac and am beginning to explore software development using Cocoa and Objective-C using XCode in Snow Leaped having come from a strong Microsoft and C# backgrund All of the documentation and tutorials I have read use Interface Builder and XCode to create applications with user interfaces. My current understanding is...

Application bundle Mac OS X Leopard

I had a working application bundle on Mac OS X Tiger. I was easily able to just replace the jar file and everything worked as i made changes. I take that app bundle now, and when it is on Leopard, I get the error message along the lines of "Cannot open this application because it is not supported on this architecture". I assume this is...

Equinox Bundle import conflict

1) Bundle A reexports package com.X, which it gets from bundle C 2) Bundle B exports package com.X 3) Now bunlde D has dependency on both A and B. From where will the bundle D get the package com.X from? ...

How to get classloader for a bundle in equinox?

How can I get the classloader for a osgi bundle in eclipse equinox setup. Thanks, Suraj ...

iPhone: Change application Bundle files

hi all, in my application bundle, there are a XML file. i want to change this XML with other XMl file which have same name (without open Xcode). so i want to ask that whether there are any problem arise when i run this application in iPhone ...

grails create a new resource bundle

Hi, I'd like to create another resource bundle to organize my Grails app. Grails provides a 'messages' resource bundle and I need to create a 'myApp' resource bundle. How can I create a new resource bundle and read its properties with the 'g:message' GSP tag ? Thanks a lot. ...

OSGi: programmitically add imports to a bundle

How can I add packages to a bundle's import from within code? I need it since I use libraries which rely on reflection and require other packages and I don't want to need to manually add those packages to MANIFEST.MF for each bundle I develop ...

Bundle additional executables with py2exe

I have a python script that calls out to two Sysinternals tools (sigcheck and accesschk). Is there a way I can bundle these executables into a py2exe so that subprocess.Popen can see it when it runs? Full explanation: My script is made to execute over a network share (S:\share\my_script.exe) and it makes hundreds of calls to sigcheck ...

How to externalize a Spring MessageSources bundle outside the WAR

Hi, I have to externalize the Spring MessageSources bundle for i18n support (properties files) outside the classpath in order to modify properties more easily. How can I do that ? <bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource"> <property name="basename" value="test-messages"/> Tha...

New URLStreamHandlers in glassfish

I have a legacy application that I'm trying to port to Java EE. Presently this application calls URL.setURLStreamHandlerFactory() to register some custom URL protocol handlers. This call fails under Glassfish v 2.1 and 3 because glassfish has already registered a factory. I've tried using the java.protocol.handler.pkgs system property...

How to distribute native perl scripts without custom module overhead?

How can someone distribute native (non-"compiled/perl2exe/...") Perl scripts without forcing users to be aware of the custom (non-CPAN) modules that the scripts needs in order to run? The problem is users will inevitably copy the script somewhere else on the system and take the script out of its native environment and then it can no lon...

OS X Services Bundle

I'm trying to build a standalone service for Snow Leopard. It builds just fine, it shows up in the services menu, but when I try to run it, the executable is not recognized (it reports a Bash error 126 in the Console). I built it out of a Cocoa bundle template. Is there something special in building bundles that I may have missed and ne...

How to run java application bundled to .app on Mac OS X in 32 bit mode?

I have written a java application on win vista, it uses Bonjour and works fine. When I run it on Mac OS X 10.5.8 with all updates installed as a .jar file it runs perfectly too. But when I create a bundle using Jar Bundler it fails with "Uncaught exception in main method: java.lang.UnsatisfiedLinkError: /usr/lib/java/libjdns_sd.jnilib: ...

The bundle could not be resolved in RCP-RAP application

Hi, I have a RCP application which constitutes of a number of plugins. And now, I try to develop RAP application which uses my old plugins. My RAP has a dependency of one old plugin. I created my own target platform and I added RAP sdk and other many eclipse platform libraries. When I run my RAP application, I get this exception. Do yo...

what is the OSGi bundle package structure?

i am new to OSGi standard. i want to know more about the structure of bundle package file. find there is this OSGi-INF folder, the specification mentioned about l10n and permission, i wonder where defined the use of OSGI-INF folder? can i put other stuff into it? where to store the jar files referenced by the bundle? besides OSGi-INF a...

OSGI + SWT: How to split the View (GUI) in many bundles

I'm writing a graphic application, with java, swt and osgi. The bundle A holds the application main window. Depending on the selection of the user, a different user interface must be loaded. That is, the different GUI are in different bundles. So the main bundle A calls the bundle B to draw the new graphic interface. The bundle B contain...

Linking loadable plugins against symbols in the executable on Linux and Windows

It's very on the Mac to create a loadable plugin as a bundle and make it use symbols in the Host executable. How can this be done on Linux and Windows? I hear there's -rdynamic on Linux that may come in handy but I'm completely at a loss as far as Windows goes. The point is to move away from linking both the host and the plugin against...

iPhone : creating Texture2D much slower when image loaded from file in app's Documents, why?

Slower than what? slower than creating the same textures from an image loaded from the app bundle. How much slower ? 80 times slower on iPhone, similar ratio (but faster overall) on Mac. My example below shows loading an image with imageNamed: ; creating textures from the first image ; saving image to a file in the app's Documents direc...

Why are my mercurial bundles including "extra revisions"

We use bundles to synchronize our mercurial repositories over email. For the past few hundred revisions, we've noticed the bundle size is typically around 600k, no matter what we include. It appears that Mercurial is including revisions other than what we're specifying. I theorized that it was from open branches, but closing all of our ...