manifest

how to add arbitrary information in manifest from maven assembly plugin

こ雲淡風輕ζ 提交于 2019-12-05 12:11:11
问题 i use the assembly plugin to create a uber jar from several maven artifacts. Now I like to add some company specific entries into the Manifest of the created assembly jar. But how ? the archive element doesnt allow arbitrary elements (or is there a way to add foobar: tutu inside the archive tag ?) also in addition with maven-jar-plugin it does not work as this only affects the default artifact of the project and not the assembled. Any idea how to do this ? 回答1: argh... after posting it i

How to run application with Admin privileges using Manifest file in Visual Studio 2005?

社会主义新天地 提交于 2019-12-05 11:46:01
问题 I need to create an application which needs to create files/folders in "C:\Program Files","Users[username]" and Sys32. Also the application needs to make some registry entry. This application needs to work on Vista and higher. Also, on Windows Server 2003 and higher. The above Operating Systems have the concept of User Account Control (UAC), where to access Program Files and writing in registry requires admin privileges. I looked into many forums and found that using Microsoft SDK we can

ClickOnce Manifest has invalid children - but xml matches old published manifests

此生再无相见时 提交于 2019-12-05 11:28:41
I have an error during installing updating or fresh installing my ClickOnce publish on my app. This occurs on computers without the app installed and on those with the app already there. The pfx file I use for signing the project is the same as it was in previous versions so I don't think the certificate is the issue. + Exception reading manifest from <APPPATH>.exe.manifest: the manifest may not be valid or the file could not be opened. + The element 'assembly' in namespace 'urn:schemas-microsoft-com:asm.v1' has invalid child element 'SignedInfo' in namespace 'http://www.w3.org/2000/09/xmldsig

How to view css stylesheet injected by a Google Chrome extension using dev tools?

半世苍凉 提交于 2019-12-05 10:42:46
问题 I'm injecting a css file from my chrome extension using the manifest.json (full source): "content_scripts": [ { "matches": [ "http://*/*" ], "css":["src/inject/gfi_extension.css"], "js": [/*...*/] } ] In Chrome Dev Tools, if I inspect an element which is affected by the injected css, the rules are visible, but in the upper right where the source filename would normally be, it just says "injected stylesheet." I'd like to view ALL of the rules being injected, even those that affect elements

Android manifest attribute not allowed here

。_饼干妹妹 提交于 2019-12-05 09:57:32
问题 I have several manifest errors regarding some attributes . I have not made any changes to the manifest the application generated automatically yet i get several errors. *( I'm using Android Studio 1.2.2) <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.iustinian.girlfriendsolver" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="22" /> <application

“Tag <Activity > attribute name has invalid character ' '. ” Android Manifest

断了今生、忘了曾经 提交于 2019-12-05 09:56:30
I am getting the error "Tag attribute name has invalid character ' '. " in the Android Manifest, while there is no obviously invalid character. Here is the code: <activity android:name="Quiz 31" android:configChanges="orientation|keyboardHidden" android:label="Quiz 31" android:screenOrientation="portrait" android:theme="@android:style/Theme.NoTitleBar" > <intent-filter> <action android:name="com.SoulSlayerAbad.AMQ.QUIZ31" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity> As you can see, no ' ' character in the code. Does anyone know why this is

Conventions for additional content of the manifest.mf file?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-05 08:43:31
Are there any conventions for the MANIFEST.MF file in a Java JAR beyond the JAR specification ? Interesting information I might want to include are: Build date and other build information, SVN Revision, perhaps a description. I haven't found suggestions how to name the corresponding keys. Are there any de facto standards or at least common key names that are used in manifests for things that are not covered by the spec? The JAR Manifest: Overview mentions that "Attributes which are not understood are ignored." Anything but a Main Attribute should be OK. Here's a somewhat more comprehensive

Launch Activity From URL

拈花ヽ惹草 提交于 2019-12-05 08:09:10
I am trying to have my application launch when the user browses to a certain url. I have found a few examples and they all have the same things in the manifests but it's not working for me. I have put the intent-filter under an Activity as well as a Receiver. Here is my manifest snippet: <intent-filter> <action android:name="android.intent.action.VIEW"></action> <category android:name="android.intent.category.DEFAULT"></category> <category android:name="android.intent.category.BROWSABLE"></category> <data android:host="www.urbandictionary.com" android:scheme="http"></data> </intent-filter>

Merging android manifest files, conflicting filter

℡╲_俬逩灬. 提交于 2019-12-05 06:27:28
I'm trying to combine android manifest files from 2 plugins in Unity, but there are two activities with the same intent-filter and I can only get 1 or the other to work at the same time.... Of the 2 conflicting activities, whichever is on top in the manifest file is the one that will work. So if activity from manifest #1 is on top, plugin #1 will work but not #2, and vice versa. The two conflicting activities are: <activity android:name="com.devfo.andutils.DevfoUnityPlayerActivity" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc

Default arguments in JAR-manifest

筅森魡賤 提交于 2019-12-05 03:47:29
Is there a way to create a JAR-file that contains some arguments that are passed to the main class? (It does not matter whether it prepends or appends the arguments to potential command line arguments.) I know I could simply write a bootstrapping class and specify this as main class (calling the real main class with the arguments), but this seems a bit awkward. To the best of my knowledge, no. You'll have to do that kind of thing yourself, in code. A lot of people find it useful to write a little main class that sets up an environment and then acts as a ClassLoader for the "real" main program.