manifest

Java jar - no main manifest attribute

浪子不回头ぞ 提交于 2019-12-10 14:28:44
问题 I'm aware that jar files should have a manifest.mf Main-Class: attribute in order to have an entry point and make the jar file runnable. Now, I have a jar file that I've built per below. The classes are all part of the burrito package. My MANIFEST.MF file looks like: Manifest-Version: 1.0 Ant-Version: Apache Ant 1.9.1 Created-By: 1.7.0_51-b13 (Oracle Corporation) Class-Path: X-COMMENT: Main-Class will be added automatically by build Main-Class: burrito.Main , and when I try to build and

Inline the Web App Manifest?

随声附和 提交于 2019-12-10 14:27:35
问题 I have a marketplace/web application with thousands of static single page apps. Wish to add a Web App Manifest for each single page app in the <head> </head> tag of their corresponding stem_url (The {root}/index.html for all the urls of a given SPA). The standard method: <link rel="manifest" href="/manifest.json"> …does not seem like a good way to go forward because this would mean thousands of manifest.js files being dumped into the /public folder (it's a rails app!) and it would eventually

“Broad host permissions” Webstore warning despite only one host in permissions

爱⌒轻易说出口 提交于 2019-12-10 14:22:23
问题 I'm trying to publish a chrome extension but, when I try, this message appears: Because of the following issue, your extension may require an in-depth review: Broad host permissions Instead of requesting broad host permissions, consider using the activeTab permission, or specify the sites that your extension needs access to. Both options are more secure than allowing full access to an indeterminate number of sites, and they may help minimize review times. The activeTab permission allows

SpringBoot no main manifest attribute (maven)

前提是你 提交于 2019-12-10 13:06:27
问题 When running my jar file : java -jar target/places-1.0-SNAPSHOT.jar I'm getting the next error : no main manifest attribute, in target/places-1.0-SNAPSHOT.jar My pom.xml contains the spring-boot-maven-plugin : <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <mainClass>com.places.Main</mainClass> </configuration> </plugin> I also tried to create a MANIFEST.MF FILE and specifying the class but it didnt help. In addition, I

Why can't I load an image resource from my resx file?

笑着哭i 提交于 2019-12-10 12:04:46
问题 I have a controls library which I've added a .resx file to (ImageResources.resx). It contains two .png images which I subsequently added. In that same library I have a control which loads a couple of images to do some custom drawing, but I don't seem to be able to load the resources: void GTableLayoutPanel::SetBorderImagesFromManifest(String^ topLeftCornerImageName, String^ topImageName) { // Grab the assembly this is being called from Assembly^ assembly = Assembly::GetExecutingAssembly(); //

AppManifest.xml vs WMAppManifest.xml - class libraries in Windows Phone 7 apps

百般思念 提交于 2019-12-10 11:37:11
问题 Before I submit my first app to the Windows Phone 7 Marketplace, I would like to know whether I should modify the AppManifest.xml file. My app comprises of two assemblies (the app + class library) and I was wondering if I have to use Deployment.Parts in the AppManifest in order to pass the certification process. Anybody has any experience with that? 回答1: According to the Windows Phone 7 Application Certification Requirements: 4.1.1 List of Package Requirements The XAP package must contain the

Add java.library.path to java manifest

ぐ巨炮叔叔 提交于 2019-12-10 11:24:23
问题 The java.library.path can be set before or during the execution of a java app (either by setting the global environment variables of the java library path or by using a flag when running the java exec jar). Can it be set inside the manifest file of the java jar, as is done for classes with Class-Path? Sounds like a feature that should be supported, if it does not exist. EDIT : since as stdunbar mentioned, the manifest file does not support java.library.path mappings, I've added an answer with

Adding his application to the “add to Home screen”/“Shortcut” section

主宰稳场 提交于 2019-12-10 10:58:47
问题 In my android application, I create shortcuts by code to some activities within my application. I do this feature by using the broadcast: intent.setAction("com.android.launcher.action.INSTALL_SHORTCUT"); sendBroadcast(intent); and that's cool, that really work! Now I would like to do something different: I have seen that some actions can "register" somewhere to be added in the Android menu, when you long press on the Home like this one: http://www.androidtapp.com/wp-content/uploads/2010/02

UAC: Manifest file is ignored

有些话、适合烂在心里 提交于 2019-12-10 10:58:01
问题 One of my Executables writes some configuration into a XML file to C:\Program Files\MyApp\config.xml. It needs to run as Administrator on Vista / Server 2008, otherwise the OS won't let it write to that location. I included a manifest file named config.exe.manifest, to automatically request administration rights at launch. Here's my manifest file: <?xml version="1.0" encoding="utf-8"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <trustInfo xmlns="urn:schemas

Air Native Extensions for Android In-App Billing

安稳与你 提交于 2019-12-10 10:56:06
问题 I'm trying to set up native extensions to work with in-app billing through an air app. I'm able to send purchase requests to the market but I'm not able to get a response back. I've tracked it down to the AndroidManifest.xml file that gets created. In order to do it in Java you need to reference specific classes, but when I do it through Flash I don't know how to reference those Java classes. As far as I know Native extensions only allow you to call methods from Java. Is there any way I would