Anyway to hide the META-INF folder?

Is there any way to hide the META-INF folder from the AIR
installation archive?
More specifically, I'd like to hide the
META-INF/AIR/application.xml file.
Thanks.

What is the reason you want to hide that file?
It is needed for installation. So I don't think you can hide
it.

Similar Messages

  • How to package log configuration into META-INF folder of an SDA

    Hi all,
    I work with Developer Studio 2.0.20. After some struggle I managed to configure my DCs by a a deployed log-configuration.xml.
    I use a "Portal Application Standalone (Packed in SDA)" DC to package and deploy. The created SDA contains a META-INF folder and a PAR file. If I copy the log-configuration.xml file manually into the META-INF folder of the SDA then the log-configuration.xml is used by the server.
    Now, my problem is, that I did not manage to have the log-configuration.xml automatically included in the META-INF folder of the SDA. Does anyone now how this can be accomplished with Dev Studio 2.0.20?
    Thanks for your attention,
    --Stefan

    You may add any .txt file as add manifest file or you click the "edit manifest" toolbar button to add comtent for manifest file...
    it will create meta-inf folder automatically.
    At least the tool can save lot of your time.

  • How to access the file in the WEB-INF Folder

    hi..
    i want to access a xml file, using servlet, which is placed under WEB-INF folder.
    Please tell me how can i access the file.
    I am using WSAD to develop the application
    Thanx in advance.

    I haven't tried accessing an XML file that is placed in WEB-INF folder.
    Files under WEB-INF are usually protected from client/browser access, but a Servlet may be able to access it (not sure though).
    What problems are you facing when you try to access an XML file in the WEB-INF folder?
    If you can't access it from the WEB-INF folder , place it in any folder except the WEB-INF folder.
    Also, if you want to protect the XML file then you could password protect it or deny access to it via .htaccess file, or simply return a 403 forbidden header.

  • Is it possible to hide the LabView Data folder through the labview application?

    I really want to get rid of the LabView Data folder in the My Documents Folder that is created when the built labview application is run. Since it does not seem to be possible to remove or relocate it, i was wondering whether it is possible to at least hide it - but I want it to be done automatically, i.e. through the program itself when it is executed.
    Thanks
    Tim, Van

    Hi,
    you cannot delete the "LabVIEW Data" Folder since your application is active!
    It's possible that you change the attribute (hide) for the whole folder before you start the compile process!
    If you want to do this automatically, you should ask microsoft which dll is relevant for this scope!
    regards,
    Thomas Sandrisser
    NI Germany
    http://www.newgistics.com

  • Unable to read facec-config.xml in META-INF folder of webui-jsf.jar

    Hi
    I was getting following error when I placed webui-jsf.jar file in websphere 6.0 server
    /WEB-INF/lib/jsf-extensions-dynamic-faces-0.1.jar!/META-INF/faces-config.xml
    Digester E org.apache.commons.digester.Digester error Parse Error at line 24 column 14: Document is invalid: no grammar found.
    org.xml.sax.SAXParseException: Document is invalid: no grammar found.
    Do I need to add any other parser to read this file ?
    Thanks
    Himaja

    Your classpath is polluted with different JSF implementations/versions. Clean it up.

  • Jar file META-INF content

    Hi,
    How can I specify what are the files will reside inside the META-INF folder while creating a jar file? What are command line options to be passed for jar utility in this regard.
    Thanks in advance,

    If you want stuff other than the manifest in there, just include it like any other file path. Create a META-INF directory in the tree you are going to jar.

  • Visual Web JSF web app unable to render. The theme tries to access META-INF

    Hi,
    BACKGROUND: I have created a Netbeans 6 Visual Web Project using the default Visual Web JSF Theme. My web application can be viewed properly and correctly when i deploy it on tomcat 6.
    ARCHITECTURE: Our server configuration requires IIS to be our web server and tomcat to be our app server. Both are running on different machines. I have successfully linked up IIS 6 and tomcat 6 using the JK isapi_redirector.
    PROBLEM: However, when i connect to my app via IIS, my starting page opens but the input box components on that page are not displayed and i get several javascript errors that read - 'dojo is undefined' and 'webui is undefined'.
    PROBLEM DETAILS: I found that the page being served had a lot of files being requested from a META-INF folder. I have attached a snippet here.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#" xmlns:waistate="http://www.w3.org/2005/07/aaa">
    <head>
    <title></title><link rel="stylesheet" type="text/css" href="/BMC/theme/com/sun/webui/jsf/suntheme4_1_1/css/css_master-all.css" /><link rel="stylesheet" type="text/css" href="/BMC/theme/com/sun/webui/jsf/suntheme4_1_1/css/ie.css" /><script type="text/javascript">var djConfig={"parseOnLoad":false,"isDebug":false}</script><script type="text/javascript" src="/BMC/theme/META-INF/json2_0/json.js"></script><script type="text/javascript" src="/BMC/theme/META-INF/prototype1_5/prototype.js"></script><script type="text/javascript" src="/BMC/theme/META-INF/com_sun_faces_ajax.js"></script><script type="text/javascript" src="/BMC/theme/META-INF/dojo1_0_1/dojo/dojo.js"></script><script type="text/javascript" src="/BMC/theme/META-INF/dojo1_0_1/dijit/dijit.js"></script><script type="text/javascript">dojo.registerModulePath("webui.suntheme", "/BMC/theme/com/sun/webui/jsf/suntheme4_1_1/javascript");</script><script type="text/javascript" src="/BMC/theme/com/sun/webui/jsf/suntheme4_1_1/javascript/webui-jsfx.js"></script><script type="text/javascript">webui.suntheme.bootstrap.init({"debug":false,"theme":{"locale":"en-US","prefix":"/BMC/theme","modulePath":"/com/sun/webui/jsf/suntheme4_1_1/javascript/theme","bundle":"suntheme","module":"webui.suntheme.theme"}});</script><link id="link1" rel="stylesheet" type="text/css" href="/BMC/resources/stylesheet.css" />I think the JK isapi_connector in IIS is preventing access to the META-INF path and the isapi_director log file says - "*+[emerg] HttpFilterProc::jk_isapi_plugin.c (1282): [BMC/theme/META-INF/json2_0/json.js] points to the web-inf or meta-inf directory. Somebody tries to hack into the site!!!+*". The same message is repeated for several more javascript files that are being served from under the META-INF path.
    Any help or advice in this matter will be greatly appreciated.
    Thanks!!!

    I managed to find a workaround. Thought i should share it with those who are faced with a similar issue.
    I found that a bug report had been placed in the past with Apache Dev. However, they had said that they would not modify their logic because the servlet container spec requires it (even though isapi_redirector is only a connector and not a container). They said that there is no way for the isapi_redirector to differentiate between /foo/WEB-INF when foo is a context and when foo is just a sub-directory of the ROOT web application. So, the general consensus was to err on the side of safety and risk blocking a few requests that are valid.
    However, this causes a serious issue for those using NetBeans JSF Visual Web Projects. Hence, I created my own flavour of isapi_redirector by modifying the code such that this check is not performed and leaving the onus of checking on Tomcat.
    For those who are interested, the simplest way to go about this would be to force the function uri_is_web_inf (in jk_isapi_plugin.c ) to always return FALSE.

  • How to package .tld files into MATA-INF folder with jar?

    I noticed that tag lib jar file contains *.tld under its META-INF folder. Justwonder how to implement this with command jar? Thank you!

    I have discovered how to get it to work, but I'm not sure what the problem is. I can consistently duplicate it.
    If I manually copy a file into the myapp\src folder, the file does not get copied to the bin-debug folder and, thus does not get added to the list of files to include.  I build my app dozens of times. This file NEVER appears in the file list under the src folder in the Package Explorer View.  Even if I close Flash Builder and open it again, my added file NEVER appears in the file list.
    Only if I right click on my project in the Package Explorer View and select Refresh, will the file appear in the list.  Then and only then, when I go through the Export process, the file will appear in the list and be included in the AIR package.
    That seems like a bug to me.  Even if you said it wouldn't detect the file being added while Flash Builder is open, it should at least check the project folder when I open it and update the list with any new files.
    I'd still like to know how to get this to work without manually refreshing the project although admittedly I won't be adding files to the project often.
    The "Copy non-embedded files to output folder" option is something good to know. I initially unchecked it and saved and rechecked it, just to be sure it was set.

  • Contents of META-INF/services/javax.xml.parsers.DocumentBuilderFactory?

    I am currently working on an applet that solves Sudoku puzzles, allowing you to build your own in a Constructor and then solve them in a seperate Solver. To do this, we are implementing the puzzles files as XML documents.
    I have the code completely complied and on the server ( [sudoku.unl.edu|sudoku.unl.edu]) and it runs NEARLY perfectly, however when trying to access the server to save the xml code, the apache error_log presents this message: "File does not exist: classes/META-INF/services
    /javax.xml.parsers.DocumentBuilderFactory"
    Looking at the Java Doc here it says that the program should look for that in the jars. I am unsure of exactly how the applet is interacting with the server, but typing "java -version" yields:
    java version "1.6.0_11"
    Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 11.0-b16, mixed mode)Notably, the code works PERFECTLY in NetBeans, contacting the server using SCP and uploading the file and such, so the code doesn't seem to be the problem, unless I need to direct the DocumentBuilder code somehow. This is the code that I believe is causing the trouble (I have tried to include all relevant imports that are in my code):
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import org.xml.sax.SAXException;
    DocumentBuilderFactory factoryBuilder;
              DocumentBuilder builder;
              Document doc;
              Element docElement;
              try
                   factoryBuilder  = DocumentBuilderFactory.newInstance( );
                   builder = factoryBuilder.newDocumentBuilder();
                   doc = builder.parse( indexLocation );
                   docElement = doc.getDocumentElement();
                   NodeList children = docElement.getChildNodes();          
                   for(int i =0; i < children.getLength(); i++)
                        if(children.item(i).getNodeType() == 1)
                             if((children.item(i).getNodeName()).equals("directory"))
                                  if ((children.item(i).getAttributes().getNamedItem("name").getNodeValue()).equals("UsersInput")) {
                                       Node firstChild = findNodeItem(children.item(i), "Difficulty0.." + this.upperField.getText());
                                       Node secondChild = findNodeItem(firstChild, "Level" + this.levelField.getText());
                                       Node thirdChild = findNodeItem(secondChild, (String)suTypeList.getSelectedItem());
                                       Element newFile = doc.createElement("file");
                                       newFile.setAttribute("name", fileName);                              
                                       thirdChild.appendChild(newFile);                              
                   SshParameters params = new SshParameters("cse.unl.edu", "consystlab","A/tutti");
                // create new Scp instance
                Scp scp = new Scp(params);
                // register event listener
                scp.addListener(this);
                // establish connection
                scp.connect();
                   TransformerFactory tFactory = TransformerFactory.newInstance();
                   Transformer transformer = tFactory.newTransformer();
                   DOMSource source = new DOMSource(doc);
                   StringWriter sw=new StringWriter();
                   StreamResult result = new StreamResult(sw);
                   transformer.transform(source, result);
                   String xmlString=sw.toString();
                // upload file
                  scp.upload(xmlString.getBytes(), indexPath, "libraryIndex.xml");
                 // disconnect
                scp.disconnect();
              catch (IOException e)
                   System.out.println("IO ERROR7");
                   System.out.println(e);
              catch (TransformerException tranE){
                   tranE.printStackTrace();               
              catch (ParserConfigurationException e)
                   System.out.println("IO ERROR8");
                   System.out.println(e);
              catch (SAXException e)
                   System.out.println("IO ERROR9");
                   System.out.println(e);
              }So my question is, what exactly are the contents of the file in the META-INF/services folder? I have manually created this file in my classes directory, where the program is searching. When I place text in it, it appends the text with .class and searches for that file, but doesn't seem to do anything with the file. I attempted directing it to the "DocumentBuilderFactory.class" file that I extracted from the classes.jar included with the JDK.
    I feel like all I need is this file to contain the correct content and the code will FINALLY work, but I have not been able to find anything out there on it.
    Thank for you for your help, sorry this was such a long message.
    -Jason

    Thanks!
    Thanks for the fast reply. I don't know if I made my point clear.
    I do not want to determine the parser by myself. I want the client system use the default parser, so I do not have the hit of downloading the fairly large parser jar.
    However, I want it not to do an empty request to the server for nothing. This turn around time kills an Applet. I want a fast loading applet!
    I'll go in trial and error mode, when I find the time next week.
    Thanks again, I appreciate it!
    K<o>

  • META-INF & adf-settings.xml not found ...

    HI All,
    I am using JDeveloper 11.1.1.4 .
    I try to register my custom phase listeners to adf-settings.xml file .But it's not available in my View Controller project .
    Meta-Inf folder & adf-settings.xml file  will create default or not ? ...
    I read the below post but I am not able to understand completely .....
    Correct root XML node for adf-settings.xml?
    Thanks ,
    David ...

    Hi David,
    Did you see this post?
    https://forums.oracle.com/thread/2133229

  • Setup meta-inf/orion-application.xml through jdeveloper

    Hi,
    I have a bc4j application. I don't want to use the default orion-application.xml file.
    I created a new one and put that under a new folder named meta-inf.
    In project properties, I created a new file groups named meta-inf and defined my new meta-inf folder.
    when the project gets deployed, doesn't have my custom orion-application.xml file.
    it is still using the default one.
    Any idea?
    thanks,
    Setare

    Hi,
    you can only have one orion-application.xml in a project and it need to be in the specified location. You can change the default with your file, but this is what you can do.
    If you don't believe, open the deployment profile of your application, which is the part creating teh WAR and EAR file, and add a new File Group pointing to this directory (note that the directory must be under the SRC folder of the project
    Frank

  • Persistence.xml under classes/META-INF makes other jar references to miss

    Hi,
    When I am adding persistence.xml to classes/META-INF folder where classes folder got other packages under it, classes in such packages are not getting reference to respective jar files in lib folder. So, deployment of the web project in OAS (Oracle application server) 10g fails mentioning NoClassDef found for classes from library jars referred. If I remove persistence.xml from here, the war file is getting deployed. Deployment fails even when the persistence.xml is available anywhere in classpath (like WEB-INF).
    What is the reason & how to correct it?Any alternative approach like manifest or use some settings in OAS?

    Hi,
    To be accessible to the EJB JAR, WAR, or EAR file, a class or a JAR file must be on the deployment classpath. You can achieve this in one of the following ways:
    Put the JAR file in the manifest classpath of the EJB JAR or WAR file. Do this by adding a classpath entry to the META-INF/MANIFEST.MF file in the JAR or WAR file. You may specify one or more directories or JAR files, separating them by spaces. The following example shows how the manifest file classpath entry adds the employee/emp-classes.jar file and the employee/classes directory to the classpath of the JAR file that contains the manifest file:
    Class-Path: employee/emp-classes.jar employee/classes
    Place the JAR file in the library directory of the EAR filethis will make this JAR file available on the application classpath and accessible by all of the modules deployed within the EAR file. By default, this would be the lib directory of the EAR file, although you may configure it to be any directory in the EAR file using the library-directory element in the application.xml deployment descriptor. The following example shows the application.xml file:
    <application ...>
    <library-directory>myDir/jars</library-directory>
    </application>
    Java EE allows for persistence support in a variety of packaging configurations. You can deploy your application to the following module types:
    EJB modules: you can package your entities in an EJB JAR. When defining a persistence unit in an EJB JAR, the persistence.xml file is not optionalyou must create and place it in the META-INF directory of the JAR alongside the deployment descriptor, if it exists.
    Web modules: you can use WAR file to package your entities. In this case, place the persistence.xml file in the WEB-INF/classes/META-INF directory. Since the WEB-INF/classes directory is automatically on the classpath of the WAR, specify the mapping file relative to that directory.
    Persistence archives: a persistence archive is a JAR that contains a persistence.xml file in its META-INF directory and the managed classes for the persistence unit defined by the persistence.xml file. Use a persistence archive if you want to allow multiple components in different Java EE modules to share or access a persistence unit. The following example shows how to package entities in a persistence archive:
    emp.ear
    emp-persitence.jar
    META-INF/persistence.xml
    META-INF/orm.xml
    examples/model/Employee.class
    examples/model/Phone.class
    examples/model/Address.class
    examples/model/Department.class
    examples/model/Project.class
    Once you created a persistence archive, you can place it in either the root or the application library directory of the EAR. Alternatively, you can place the persistence archive in the WEB-INF/lib directory of a WAR. This will make the persistence unit accessible only to the classes inside the WAR, but it enables the decoupling of the definition of the persistence unit from the web archive itself.
    Regards,
    Vinay

  • WAR meta-inf/manifest Class-Path jars use which classloader ?

    If using an expanded EAR structure, my Web App requires some utility classes. I
    can either put these in my :-
    meta-inf/manifest.mf
    Class-Path : utility.jar
    OR
    web-inf/lib
    can contain the utility.jar
    Is there any difference in terms of which classloader is used to load these classes,
    the EAR/EJB classloader or the Web App child classloader ?
    What is recommended ?

    If have found out the answer myself by testing it :-
    A jar in the meta-inf/manifest.mf e.g. Class-Path : utility.jar
    will be loaded by the EAR/EJB level classloader
    whereas
    web-inf/lib containing utility.jar
    will be loaded by the Web App level child classloader.
    Dimitri Rakitine <[email protected]> wrote:
    I have this question too - it appears that 6.1sp2 attempts to use Class-Path
    in jars in WEB-INF/lib - what this Class-Path: is supposed to do ???
    Pete <[email protected]> wrote:
    If using an expanded EAR structure, my Web App requires some utilityclasses. I
    can either put these in my :-
    meta-inf/manifest.mf
    Class-Path : utility.jar
    OR
    web-inf/lib
    can contain the utility.jar
    Is there any difference in terms of which classloader is used to loadthese classes,
    the EAR/EJB classloader or the Web App child classloader ?
    What is recommended ?--
    Dimitri

  • Calling webservice - meta-inf/services/javax.xml.ws.spi.provider not found

    Hi,
    I have created an applet. Its running well in standalone application. But it is not getting referred in some other localhost. The JAXWS is not getting referred by the JRE. I'm getting the exception as invocation exception, and cannot find the META-INF/services/javax.xml.ws.spi.provider.
    Anyone can solve, pls reply me.

    your problem is too stuffed to understand properly..could you elobarate a lil bit

  • In QuickTime 10 is there a way to hide the movie controls when paused?

    Is there anyway to hide the movie controls in quicktime when pausing movies? It's quite irritating when trying to analyse video, especially when resolution is low, and can't move the controls out of the video window to see whole picture. There should be a way to move them outside the movie window?

    Click the mouse while it is over the player window. The onscreen controls and title bar will disappear.

Maybe you are looking for

  • Wrong posting to asset in last fiscal year

    Hi Gurus Posting was done on the wrong asset number x instead of y in the last financial year. depreciaion is posted to the asset X for almost 11 months in the financial year 2011 please specify the options available to transfer the whole acquisition

  • How to change the title of an object in the build order window?

    In Keynote '09 v5.1.1 (1034)... How to change the title of an object in the build order window from the default "dropped image" to a specific title? I'm running the following:   Model Name: MacBook Pro   Model Identifier: MacBookPro2,1   Processor Na

  • Changing default plant in third party sales order

    Hi Gurus, Kindly help me understand the reason. I have created a 3rd party sales order for service material.It is determining plant SCB1 when there are three plants active in the sales organisation SC00. The shipping point for SCB1 is SC01 (as it is

  • Information on the flow of a backing map put() call?

    Hi, I've been trying to find information on the flow of a backing map put() call. Can you explain how/when/if the put() is backed up in a distributed cache? e.g. is the backup copy updated during the put call as in the case of a normal put through th

  • Code inspector - Release of transport

    Hi, When we release the transport request, default variant of code inspector is executed. Is there any customization for this ? If yes, were do we do setting for this? I need to use own created variant instead of default. Regards,,, Sunil Joyous