manifest

How can I edit the "Public Key or Token" field of the Manifest embedded in a DLL or EXE file?

I'm trying to resolve the following problem: [.Net 2.0, CLR 2.5.something, 64 bit machine, all DLLs and EXEs appear compiled for "Any CPU" according to corflags ] I maintain a legacy application which uses a 3rd party DLL. Out of the blue (as far as I can tell) the functionality depending on the DLL stopped working on one of the mach...

Unable to open specific JAR file in Java Code

I'm not able to open my JAR file using the following code. Though, I'm able to open other JAR files. try { Desktop.getDesktop().open(new File("myPlugin.jar")); } catch(Exception exception) { exception.printStackTrace(); } } I don't know if I'm exporting the JAR file incorrectly ...

Is there a way to parse a application manifest?

I am looking for a way to have the hosting website parse out the [appname].manifest file to pull out the application name, version, and icon if available. This way I can put it into a control for easy deployment. Are there any framework calls that will assist me in parsing out the manifest file? The files I am looking for are [appname]....

How to remove a line from a manifest file inside a jar, from the command line?

Hi, i need to remove a line from the MANIFEST.MF inside a jar, I tried extracting it and generating a new manifest and using jar umf to put it inside again, but it not worked and the line is still inside the jar. I do not want to rebuild the jar and neither do it manually using 7-zip, there are many files that I need to remove the exact ...

Maven: Packaging dependencies alongside project JAR?

I've like Maven to package a project with run-time dependencies. I expect it to create a JAR file with the following manifest: ..... Main-Class : com.acme.MainClass Class-Path : lib/dependency1.jar lib/dependency2.jar ..... and create the following directory structure: target |-- .... |-- my-project.jar |-- lib |-- dependency1.ja...

Java NoClassDefFoundError Error

I wrote the basic code below and saved to a file called pdf.java. package pdf; import java.util.*; import java.io.*; import com.lowagie.text.DocumentException; import org.xhtmlrenderer.pdf.ITextRenderer; import java.util.regex.*; public class pdf { public static void main(String[] args) throws IOException, DocumentException{ ...

ClickOnce Manifest and Deployment Issue

Some users (but not all) are getting an error when they attempt to install a ClickOnce application from a particular web server. This is the error they are getting: PLATFORM VERSION INFO Windows : 5.1.2600.196608 (Win32NT) Common Language Runtime : 2.0.50727.3615 System.Deployment.dll : 2.0.50727.3053 (netfxsp.050727-...

froyo's universal rotation and my landscape only app.

My app is set in landscape only mode thanks to an attribute in my manifest file, but with froyo came universal rotation and a problem. It will force the screen to landscape but if the user is holding the phone upside down my app will appear upside down. Is there a way for me to set my app to only rotate when the user has their phone orie...

Caching a large number of images in a jQuery/HTML5 application

I am building a web application in jQuery/HTML5 which will run in Webkit-based browsers on touchscreen kiosks. There are a large (thousands) number of images which the application uses, which I need cached to each browser. At first I thought a HTML5 cache manifest would be the best option (with the thousands of image URLs listed), but ...

Application Manifest problem

Hi Can i build a setup that does not have and does not need application Manifest? This is causing problem to setup my application on many computers. Thanks Furqan ...

How does Scala's (2.8) Manifest work?

I have some Scala code that makes fairly heavy use of generics, and I have gleaned from the docs that using a manifest in the parametrization constraints can help me work around the type erasure issues (e.g. I want to instantiate a new object of the generic type). Only, I'd like to understand more about how this works. It almost feels li...

Bug in minSdkVersion or what?

Hi guys, I've just published my app on the android market but something weird happened, this is not my first time publishing an app so I'm almost sure I'm not doing anything wrong here, so would like to know if anyone had this same issue before. 1st Attempt: Manifest.xml file <supports-screens android:largeScreens="true" android:norm...

Bundle-ManifestVersion=2 vs. Bundle-ManifestVersion=1

Background: We are building an eclipse RCP plugin with Maven and generating the MANIFEST.MF file with the Apache Felix plugin. This plugin is part of a bigger RCP framework that is developed internally in our company. The problem: The Felix plugin sets Bundle-ManifestVersion=2 in the MANIFEST.MF file. When we use this manifest file...

How to verify assembly manifest

I need to check that the executable's manifest (either embedded or an external one) contain (besides all) the following fragment: <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50727.4053" processorArchitecture="x86" /> </dependentAssembly> </dependency> The first solution I ...

Command-line tool which replaces .manifest file

This will be short: Is there any command line tool to replace .manifest file in application? // Edit: I mean in resources of EXE. ...

Android intent filter, associate app with file extension

This has been asked many times, but no working answer was given. I have a custom file type/extension that I want to associate my app with. As far as I know, the data element is made for this purpose, but I can't get it working. http://developer.android.com/guide/topics/manifest/data-element.html According to the docs, and a lot of forum...

Automate adding multiple "sections" to the manifest?

I'm using ant to generate the MANIFEST.MF for a .jar, and I need to add multiple manifest <section> blocks based on a list of files in a directory. However, I need to automate the process to do this at build-time since the list will change between development and deployment. For example: <manifest file="MANIFEST.MF"> <foreach files="...

Using a manifest causes window to remain partially blank

I am in the process of trying to make an app that has most of its development done in Visual C++ 6.0 adhere to Windows theming, or to be precise the visual styles aspect of it. The application in question is a MFC application with the MBCS characterset. Getting theming to kick in in the first place required the InitCommonControlsEx(...);...

A few questions regarding CACHE MANIFEST syntax/limitations

I could not find any answers to the following questions, so where better than to ask on StackOverflow? :) Can I use full absolute URL's in my CACHE MANIFEST file? Example: CACHE MANIFEST http://www.example.com/css/stylesheet.css http://www.example.com/img/image.png Will the browser cache files on a different domain than the origin i...

Can I prevent javac accessing the Class-Path from the manifests of our third party jars?

Since Java 1.5 or so, javac has been looking into the manifest of third-party jars to find other jars. This causes a number of undesirable side-effects: As jar files have been renamed, we now get a flood of warnings whenever we compile (can be diabled with -Xlint:-path) Files we don't want on the classpath are being brought back onto...