FAQ Database Discussion Community


Displaying version and date of build in the xhtml page from manifest in run time

maven,glassfish,manifest,war
Enumeration<URL> resources = getClass().getClassLoader() .getResources("META-INF/MANIFEST.MF"); //Can't find resource name META-INF/MANIFEST.MF ?...

How can I add custom search engine to browser?

search,browser,manifest,provider
Basically what I'm trying to do is to be able to add my own "search engine" (based on PHP and Mod_rewrite) to any browser automatically. Somewhere on the Internet I found that I need to declare a search provider. How can I do this? <link>, manifest or some JavaScript?

Why jar Manifest file shouldn't contain lines with more than 72 bytes

java,jvm,manifest
I can't find the answer to this on the web. Line length in the jar manifest length shouldn't exceed 72 bytes, why this restriction on the line length? Is it a performance improvement? Or an old problem that the JVM faced when it was first released in 1996?...

Activity is not assigned to Android.app.Activity Manifest XML

java,android,android-activity,manifest
I am having some trouble with the fragment in Android Studio. So basically this is my MainActivity: public class MainActivity extends FragmentActivity { final Context context = this; ViewPager Tab; TabPagerAdapter TabAdapter; ActionBar actionBar; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); TabAdapter = new TabPagerAdapter(getSupportFragmentManager()); Tab = (ViewPager) findViewById(R.id.pager);...

Javascript chrome extension content scripts

javascript,json,google-chrome,google-chrome-extension,manifest
I am developing a chrome extension that involves many javascript scripts. In my chrome extension manifest, I am trying to set a script to run on a certain URL. I have gotten one URL to work with a script, but if I try and add another permission for a different...

Android Application sometimes starts the wrong activity

android,manifest
I'm currently learning android using the book from Big Nerd Ranch. Right now I'm creating an app where I recently changed the startup activity. Now the problem is, that whenever I run the application from my IDE (IntelliJ) either on my phone or my AVD, it starts the wrong activity...

Why my android application stopped when I run it in Emulator?

android,eclipse,sdk,emulator,manifest
Unfortunately, app has stopped. I get this error when I'm running my application in the emulator. Why? My program doesn't contain any error, but it's not running. I use Eclipse with SDK. Here is my manifest file: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.jvstgs" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="21"...

Can't assign roles from azure AD app manifest

azure,active-directory,manifest,roles
I was trying to implement role based authorization in my azure application as described in the http://www.dushyantgill.com/blog/2014/12/10/roles-based-access-control-in-cloud-applications-using-azure-ad/ article. Unfortunately, after I upload the manifest with the roles I can't assign the roles to the users - the assign button at the bottom of azure management portal is disabled (in the...

Manifest in pom file - NoClassDefFoundError

maven,manifest
My pom file: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>pl.xx</groupId> <artifactId>kwestionariusz</artifactId> <version>1.0</version> <packaging>jar</packaging> <dependencies>...

Reading an EAR's manifest

java,java-ee,glassfish,classloader,manifest
I need to load the manifest of an application I am deploying on Glassfish as an EAR. All the info I've found on internet is regarding reading manifests of jars or wars. I've tried to apply the snippets of code I've found to my problem but I've not made it....

What is the difference between manifest file and xml file in android

android,xml,manifest
I am new to android.I want to know what is the main difference between android Manifest file and android XML file.Both are written in the same xml. But,What is the main difference between them can any one tell me with explanation please.Thanks in advance

Android/Cyanogenmod building: remove-project from roomservice.xml

android,manifest,building,cyanogenmod,repo
I want to remove a device-related project from the roomservice.xml generated by brunching in CM and add a different repo myself. Theoretically (in my localmanifest, called mint.xml), I should just need to <remove-project name="Cyanogenmod/.... But repo sync tells me that remove-project element specifies non-existant project Is that because my local...

Chrome extension: Could not load javascript file

google-chrome-extension,manifest,tumblr
I have posted another question regarding my Chrome extension here. But I have one more question about extensions themselves. I only need a content script for the modification of the Tumblr-Dashboard, no background page or something else, right? Here is the manifest.json file: { "name": "Tumblr - Tiled Dashboard", "version":...

DNN module uninstall how to remove settings from web.config

web-config,settings,dotnetnuke,manifest,uninstall
I have a DNN manifest file with this: <configuration> <nodes> <node path="/configuration/appSettings" action="update" key="key" collision="overwrite"> <add key="LocalCurrencyCode" value="ARS"/> </node> and for uninstall I have this: <uninstall> <configuration> <nodes> <node path="/configuration/appsettings/add[@name='LocalCurrencyCode']" action="remove" /> However, when I uninstall the module the setting is not removed from web.config. Can anyone see what I...

How to implement push notification in Chrome

javascript,google-chrome,google-chrome-extension,manifest
I am writing a chrome extension that will receive at some points messages. I would like to have that little red circle on the bottom-right side of my ico extension with 1,2,3... depending on the number of messages received by the user. More, if the user pushes on the extension...

Android Notification Action PendingIntent.getBroadCast does not work

android,broadcastreceiver,manifest
My Android notification Action buttons are not working at all. I have the following code in my service, and the receiver is NOT registered in the manifest because it makes no change. I can send the broadcast from another activity, and it works great, but there is a problem somewhere....

Android abstract class error for method

android,class,manifest,abstract
So i followed a simple tutorial line by line but am getting the error message: Class stepcounter must either be declared abstract or implement abstract method onAccuracyChanged(sensor, int) in sensorevent listener. Edit:// i changed the public class to public abstract class but i attempted to add it to the manifest...

Python package contains both MANIFEST and MANIFEST.in - do I gitignore MANIFEST?

python,github,manifest,packages
When including external files in a python package I define it in MANIFEST.in as MANIFEST.in include aikif/web_app/static/* and building the package will produce a MANIFEST file as #file GENERATED by distutils, do NOT edit README.txt setup.py aikif\__init__.py aikif\bias.py aikif\cls_file_mapping.py ... At the moment I am including both MANIFEST and MANIFEST.in...

How to gain unlimited File System storage on web app

html5,google-chrome,manifest,html5-filesystem
I would like to gain unlimited HTML 5 File System storage on my web page. I though this could be realized by creating a manifest.json file: { "manifest_version": 2, "name": "my-app", "version": "0.0.1", "permissions": [ "unlimitedStorage" ] } And referencing this file on my web page: <link rel="manifest" href="manifest.json"> However,...

WiX - Set MSI's Program name

wix,windows-installer,manifest,properties-file,details
in my WiX installer, if I right-click my MSI, hit Properties, go to Details, and browse the details of my MSI package, I see that under Origin, the default Program name is set to Windows Installer XML Toolset (3.9..... How can I change the Program name that appears in the...

java.lang.SecurityException: JAR manifest requested to run in all-permissons only

java,security,manifest,java-web-start,manifest.mf
We have a Swing application which downloaded through Java Web Start and runs on local machine. But after automatic launching of the downloaded JNLP file an error occurs: Application Blocked by Security Settings Name: Somename Location: http://localhost:8080 The Java security settings have prevented this application from running. You may change...

Get Chrome pageAction icon to appear for an URL list in JSON

javascript,json,google-chrome-extension,manifest
I am currently developing a Chrome Extension and I want that the pageAction icon appears for an amount of URL's (around 500). In my background.js file (among other code), I have this: // Called when the url of a tab changes function checkForValidUrl(tabId, changeInfo, tab) { // If the tabs...

Setup two boardcast receiver of same intent inside one activity

android,android-intent,broadcastreceiver,manifest,complete
There are two download manager inside an activity, and I register two different boardcast receiver for the same intent. The problem is , there are nothing like "request code" , and the two receiver seems overlapped, sometime trigger the first and sometime trigger the second. mgr = (DownloadManager) ctx.getSystemService(Context.DOWNLOAD_SERVICE); ctx.registerReceiver(onComplete,...

res/ folder in .jar file - MANIFEST.MF

java,jar,manifest,manifest.mf
So, In my code I have the app take resources from a folder named res/ and in the Manifest.mf file "Class-Path" is set to res/ but it doesn't read the files inside the res/ folder inside the jar, it reads the res/ folder from the folder where the jar file...

Modify a C# Manifest using the sha256 algorithm for the DigestMethod

c#,.net,wpf,hash,manifest
I need to update a .NET 4.5.1 application manifest, ensuring that the DigestMethod stays as a sha256 hash. Here's why: I initially deploy a WPF app with ClickOnce to a dev environment, and then a script configures, signs and copies the app to a particular production environment. I have an...

How can I add value for Application Edition in manifest?

manifest,ibm,websphere-8
I'm looking for use WAS 8.5.5. Application Edition Management feature. I'd like to use the build to insert into manifest values for "Application Edition" and "Edition Descriptor" parameters, in order to be automatically valorized during ear installation. Do you know how can I named them? For example, in order to...