No package with component name in src/mimes

Hi,
I want to put a gif image file in src/mimes/components/<component name>.
I am giving reference of this image in my View's image UI element.
However, when I navigated to 'src/mimes/components', I don't find any subfolder with name of my component.
Hence my view is not able to locate the image.
What should I do now?
Thanks and regards,
Amey

Hi,
Is it  a DC ? or simple project .
This is structure :_comp\src\mimes\Components\<package + your DC name>.
try with close the project then rebuild + reload . If it still not there , delete the gen and gen_wdp folder from your file system, after this close +rebuild + reload .
Try out.
BR
Satish Kumar

Similar Messages

  • Registration package with component into the application

    i have a package FORM_XXX into de scott schema and i need registration this form FORM into the application. Do You Know this operation???

    Hi,
    What do you want the package to do ??
    Incase you want to create a FORM based on a procedure then you could go to the Applications Tab and select that option and base it on a procedure that you created .
    Thanks,
    Anu

  • Type '[component name]' in CSS selector '[component name]' must be qualified with a namespace

    I've recently upgraded my SDK to allow me encorporate other features such as the Text Layout Framework and such. To avoid issues i've had to make Flash player 10 as required, which is where the problems are occuring in my main project.
    We knew the switch would cause some issues, and we now have a lovely batch of 100+ Warnings, that are all along the lines of
    Type '[component name]' in CSS selector '[component name]' must be qualified with a namespace
    all the warnings are on line locations that have no reference to the component they are talking about.. so i'm kinda stumped on what to do. Anybody else run into this issue before?
    cheers

    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:s="library://ns.adobe.com/flex/spark"
          xmlns:mx="library://ns.adobe.com/flex/halo"  >
    <fx:Style>
    @namespace s "library://ns.adobe.com/flex/spark";
    @namespace mx "library://ns.adobe.com/flex/halo";
    Button
        // The warning
    </fx:Style>
    <s:Button label="提交"  textAlign="center" height="30"/>
    </s:Application>
    I think you have use flex4.
    Please change the code to :
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:s="library://ns.adobe.com/flex/spark"
          xmlns:mx="library://ns.adobe.com/flex/halo"  >
    <fx:Style>
    @namespace s "library://ns.adobe.com/flex/spark";
    @namespace mx "library://ns.adobe.com/flex/halo";
    s|Button
        // ok. The is style for spark button }
    mx|Button
        //ok. The is style for halo button
    </fx:Style>
    <s:Button label="提交"  textAlign="center" height="30"/>
    </s:Application>

  • Reflection - Two packages/classes with same name

    Hi There !
    I am in a situation and I need some help, if anyone can help me.
    I have two tools to work with different version of a server application. Now, the admin wants to have only one tool to work with both server app.
    The problem is that the server app has a jar file with the API to be used to access it. One jar for each version.
    Inside those jars files I have the same package and the same class ! But the implementation is diferent. So I will need to access one jar when accessing the old server app and another jar to access the new server app.
    I have no idea how to do it.
    I search arround google and I found that I can load a class at runtime and then with Reflection call its methods.
    I made a test app (simple, just 2 different jars with same package and class name just printing a Hello World and Bye World) and it worked very well.
    But when I tried to apply this to my code, I realize that one class need the reference of the other class...
    For example, I have a class named Server and other called ServerStatus.
    The Server class do the connection to the server and the ServerStatus get some server information. But the method that give me this information has a argument asking for an object of Server... like this:
    Server serv = new Server();
    serv.connect();
    ServerStatus servStat = new ServerStatus();
    servStat.getServerStatus(serv);I tried to do this with reflection but in the part that I need to invoke the method getServerStatus, I do not have the name of the class that is the argument (in this case Server).
    Something like this:
       Method  m = serverClass.getMethod("getServerStatus", new Class[] {?????.class});
             result = (Boolean)m.invoke(server, new Object[] {serverStatus});Do you have any ideiias to resolve this ?
    Or something different from reflection to access two different implementations with same package and class name ?
    If you need any other information, please ask me..
    Thank you so much !
    Regards,
    Thiago

    Thiago wrote:
    Hi.
    But now, how can I handle the object (because the newInstance() return a Object object.... not the class that I want (Server, for example)).
    When you declare a reference to be something more narrow than "Object" you're telling the compiler what methods and fields the referenced object supports. With a dynamically loaded class you can't do that at compile time, because the nature of the class isn't known until you load it at runtime.
    That's why it's very handy if you know that the class you are to load implements some interface which is known at compile time. Then you can access the object through a reference to that interface.
    Otherwise there's really no option but to handle the object through reflection. Find methods with getMethod() on the Class object and invoke them with Method.invoke().
    There are tricks to impose an interface onto a dynamically loaded class at runtime, but they are just neat ways of working through reflection.

  • Function not found when package name exists with same name as schema name

    Hi all, any help would be appreciated :)
    I found an issue with pl/sql resolving a functions location when the db has a package name with the same as the db schema name.
    My example:
    -- arbitrary test function, not in any package
    create or replace FUNCTION testFunc
         inTest     IN VARCHAR2
    RETURN VARCHAR2
    AS
    BEGIN
    RETURN 'a';
    END;
    -- There is a package called "FM" with functions that are not referenced or used in this example and the db schema is "FM".
    -- The following PL/SQL fails with the message: "ORA-00904: "FM"."TESTFUNC": invalid identifier"
    select cursor (select testFunc('a') from dual) from dual;
    -- The following PL/SQL works:
    select * from (select testFunc('a') from dual);
    As mentioned the function testFunc is NOT in the FM package. This issue does not happen when I remove the FM package. So it seems like there is an issue with cursors calling functions when there exists any package with the same name as the db schema.
    Can anyone tell me why this happens and also what I can add to force the function that is not in any package to be referenced (without Oracle trying to look in the FM package)?
    DB: Oracle 11.2.0.2
    thanks!
    Paul

    Hi Paul,
    In general I would not advice to have schema and objects with the same name.
    Here is what documentation is saying here: How Name Resolution Differs in PL/SQL and SQL
    PL/SQL uses the same name-resolution rules as SQL when the PL/SQL compiler processes a SQL statement, such as a DML statement. For example, for a name such as HR.JOBS, SQL matches objects in the HR schema first, then packages, types, tables, and views in the current schema.
    PL/SQL uses a different order to resolve names in PL/SQL statements such as assignments and subprogram calls. In the case of a name HR.JOBS, PL/SQL searches first for packages, types, tables, and views named HR in the current schema, then for objects in the HR schema.As you can see above when using PL/SQL for your case Oracle searches first for packages, types, tables, and views named FM in the current schema, then for objects in the FM schema.
    And because a package FM is found it is raising an error due to the fact that the procedure could not be found in that package.
    I hope this clarify.
    Regards.
    Al

  • Call outside function with same name in a package

    I created a function as follows:
    create or replace function f1 return number
    is
    begin
    return 1;
    end;
    This f1 is to be called in a package created below.
    Then I create a package with a function in it, as follows:
    create or replace package pack1 as
    function f1 return number;
    end;
    Now I define the package body as follows:
    create or replace package body pack1 as
    function f1 return number as
    -- I am trying to call the first function f1 defined above here
    How do I resolve the name issues here?
    In other words, I want to call a function with the same signature outside a package.
    Thanks for your kind help.

    Hi,
    Welcome to the forum!
    Do you have a good reason for using the same name?
    Refer to the stand-alone function with the owner name, even though it's your current schema.
    That is, even if the package and the stand-alone function are owned by scott, in the package, say
    x := scott.f1;

  • [svn] 2932: Updated manifests with recent changes to TCAL package and class names.

    Revision: 2932
    Author: [email protected]
    Date: 2008-08-20 14:01:37 -0700 (Wed, 20 Aug 2008)
    Log Message:
    Updated manifests with recent changes to TCAL package and class names.
    Reviewer: Jason
    Bugs: SDK-16531
    QA: No
    Doc: No
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-16531
    Modified Paths:
    flex/sdk/trunk/frameworks/fxg-manifest.xml
    flex/sdk/trunk/frameworks/mxml-2009-manifest.xml

    Revision: 2932
    Author: [email protected]
    Date: 2008-08-20 14:01:37 -0700 (Wed, 20 Aug 2008)
    Log Message:
    Updated manifests with recent changes to TCAL package and class names.
    Reviewer: Jason
    Bugs: SDK-16531
    QA: No
    Doc: No
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-16531
    Modified Paths:
    flex/sdk/trunk/frameworks/fxg-manifest.xml
    flex/sdk/trunk/frameworks/mxml-2009-manifest.xml

  • Jsp name clashes with package of same name (WL5.1)

              I have the following directory structure, well not really, but anyway...
              foo.jsp
              foo/bar.jsp
              The compilation of foo.jsp will fail stating that "jsp_servlet/_foo clashes with
              package of same name".
              The problem is that you can't have a jsp and directory of the same name. Actually,
              to be specific, you can't only if that directory contains another jsp, which in
              my case it does.
              What can I do so that weblogic will allow me to have a directory and jsp with
              the same name?
              thanks,
              -Steve
              

              Well, adding a prefix like dir to get dir_foo only works if you
              don't have a class called dir_foo, right?
              I'm sure you can come up with other mechanims for munging names
              and I'm also sure that I can come up with examples where they
              don't work.
              Mike
              "steve" <[email protected]> wrote:
              >
              >I'd like to say no, but unfortunately that's not really an
              >option. It should be possible to drop in a jsp file
              >under my document root anywhere that I might have an html file.
              >
              >I agree java limits you from having a class and package of the
              >same name. But weblogic constructs the package names, so it can ensure
              >a conflict
              >does not happen.
              >
              >For instance, the "packagePrefix" JSPServlet initialization
              >argument that defaults to "jsp_servlet" avoids package
              >conflicts. Similarly, I'm suggesting a "directoryPrefix"
              >argument that would avoid the conflict that I'm running up
              >against.
              >
              >Given the same boring example:
              >foo.jsp
              >foo/bar.jsp
              >
              >and using a directoryPrefix of "_dir" it would be mapped to
              >
              >jsp_servlet/_foo.class
              >jsp_servlet/_dir_foo/bar.class
              >
              >Any thoughts?
              >
              >"Mike Reiche" <[email protected]> wrote:
              >>
              >>I believe that is a limitation of Java, not Weblogic.
              >>
              >>Just say no.
              >>
              >>Mike
              >>
              >>"Steve" <[email protected]> wrote:
              >>>
              >>>I have the following directory structure, well not really, but anyway...
              >>>foo.jsp
              >>>foo/bar.jsp
              >>>
              >>>The compilation of foo.jsp will fail stating that "jsp_servlet/_foo
              >>clashes
              >>>with
              >>>package of same name".
              >>>
              >>>The problem is that you can't have a jsp and directory of the same
              >name.
              >>>Actually,
              >>>to be specific, you can't only if that directory contains another jsp,
              >>>which in
              >>>my case it does.
              >>>
              >>>What can I do so that weblogic will allow me to have a directory and
              >>>jsp with
              >>>the same name?
              >>>
              >>>thanks,
              >>>-Steve
              >>
              >
              

  • LMS duplictae events; one with dns and one with dns(ip) in component name

    Hello all,
    we have LMS 4.2 installed and added devices;
    Now if for example a device is not reachable we get two messages with same failure ;
    only the componente name is different
    -     one event with "dns" in component name
    -     one with "dns(ip)"  in component name
    dns == hostname
    Thans in advance

    Is it possible you have the devices twice in fault management?
    Once with the IP address as their name and once with their dns name?
    If that is the case you will find the same in the DCR.
    Try to delete the devices that only have ip address as name.
    Cheers,
    Michel

  • Conflict with the component names

    Hi everybody,
    I think I have a conflict with the names of the components. Let me explain to you.
    On the first window, I have a component described like this :
    Component Type -> Text Input Component
    Component Name -> ArgoLineClientV2R4_Text_1_txf
    On another window, I have this :
    Component Type -> Graphics Component
    Component Name -> ArgoLineClientV2R4_Text_1_txf
    As you see, these components have the same name but are different type. With the first, I manage to write the word in. With the second, I want to extract a word but I can't.
    So, I would like to know the reason. Is it because the components have the same name? Is it because the second component is a Graphics component ?
    Thanks for your time.
    Best regards.
    Romain.

    Hi Oliver, thanks for your answer.
    ArgoLineClientV2R4_Text_1_txf is the technical name, given by Jubula during the object mapping. In my program, I use different names of course.
    These two components have different functionalities. With one, I write a word in; and with the other the software gives me an information (a word). With the second, i can only read the information and I need to take this information to put it in a String variable. So I tried to extract this information but I (my program) failed. I wanted to make a clic and make a copy of the word. But when I try to clic, my test fails.
    I think it is because Jubula describes this component like a Graphics Component whereas in the software parameters, this component is a text field (in mode ReadOnly but a text field).
    Here is my situation.
    Regards.
    Romain

  • How to deploy content of webdynpro- src- mimes via JDI ?

    Hello,
    maybe anyone has overcome this problem already.
    I am developing a webdynpro application using JDI scenario 2+ (dev in track). The application has a xml ini file and some pictures in the src->mimes->Components folder.
    When I build and deploy the DC directly from the developer studio (DC build, DC deploy), the files appear somewhere at usr/sap/JC00.../temp/webdynpro/.../Components.
    Then I check in->activate->release all changes and transport them from Development to Consolidation. My application changes are transported properly, but the /usr/sap/JC00/../temp/webdynpro ends on the level of my vendor
    --> none of the files at src->mimes->Components have been deployed.
    Does anyone have an idea, what is wrong with my DC/installation ?
    BTW: I have just upgraded all involved machines to NW04 SP13.
    Stefan

    Hi Sidhardt,
    I get an exception thrown by my application because it cannot find an ini file.
    I then examined the file system of the run time system and had to find out, that the directory structure ends after the <vendor> (E:\usr\sap\J2E\JC00\j2ee\cluster\server0\temp\web\tdata).
    Each time I tried it out, I have activated and released by activities and the imported the activity into the Cons. System (for sure) by using the transport studio. The status afterwards was "import succeeded" and the activity appears on the assembly tab.
    Now, after changing the J2EE system of my developer studio to the run time system SMA922, the file exists at
    E:\usr\sap\J2E\JC00\j2ee\cluster\server0\temp\web\tdata\td~cp.webgui\Components\de.technidata.cfp.suppliercollaboration.SupplierCollaboration\cfp_ini.xml.
    Vendor: tdata
    DC: td/cp.webgui
    WebDynpro Component: SupplierCollaboration
    Component package:  de.technidata.cfp.suppliercollaboration
    Does this information help you ?
    Regards,
    Stefan

  • No src/mimes/Components/MyComponent folder

    Hello,
    I've taken over finishing writing an application that a consultant started writing for us.  I want to add an html file to my src/mimes/Components/[MyComponent] folder, but... none exists!  I can see src/mimes/Components, but there's nothing underneath that.  I didn't create the component to begin with, the consultant did... is there anything they could have done to cause that not to show up?  What can be done about it now?
    Points will be awarded for a helpful answer.
    Thanks,
    Jennifer

    Hi Jennifer,
    Might be the other developer not added the folder structure to the Activity while check in the code. Generally if no objects exist it wont add to the activity.
    So now what you can do is, go to Navigator perspective and add the package and files which you want and refer the same path in your code.
    Regards
    Abhilash

  • Read XML file in folder /src/mime...

    Hello,
    I got a XML file with some data which I need for my application. I put the file in the folder: src/mime/components/com.sap.test/mydata.xml
    I also tried src/packages/com/sap/test/mydata.xml
    How can I access this file?
    e.g. I tried
    InputStream is = getClass().getClassLoader().getResourceAsStream("mydata.xml");
    Thanks
    Rene

    HI Rene,
    Let the xml file be mydata.xml inside src/mime/components/com.sap.test/
    To access to this file,
    String url=WDURLGenerator.getResourcePath(wdComponentAPI.getComponent().getDeployableObjectPart(),"mydata.xml");
    File f=new File(url);
    try
    FileInputStream fos=new FileInputStream(url);
    catch (Exception e)
    wdComponentAPI.getMessageManager().reportException("While reading file "+e,true);
    Regards,
    Fahad Hamsa

  • Error message "The operation can't be completed because an item with the name .DS_Store already exists"

    Major headaches with copying files and folders between drives. I constantly (and I mean constantly) have to resort to copying files across in small batches (fewer than 10 works best) because anytime I try to copy lots of files and folders from my mac to an external hard drive (or from one external HD to a second external HD), I ALWAYS get the error message  "The operation can't be completed because an item with the name .DS_Store already exists".
    The files and folders are all Mac-generated, so hint or trace of foreign OSs in the mix.
    All file types are susceptible
    the HDs are all Mac OS X formatted, no foreign file formats involved
    the HDs are all journal-enabled, OS X extended formats
    have looked on here for previous posts, past suggestion was to disable creation of DS_Store files - not really a solution and realistically, defeats the purpose of their creation
    any ideas anyone?
    would appreciate any thoughts or sugestions, this has got me beat
    the context is that I have a lot of image files that I am copying (trying to...) new external 3TB drives for backup and the job appears endless if I have to do this in batches of 10 or so..!
    many thanks for any suggestions

    This is definitively a nuisance. When copying large amounts of files between volumes  try opening a terminal window and use use ditto. You need to type the directory paths of the source and the destination volume. When it starts ditto just coupes and optionally overwrites anything on the destination. You can get a verbose mode where it lists all activities.
    gunnars-mac-mini-i7:Volumes gunnar$ man ditto
    NAME
         ditto -- copy directory hierarchies, create and extract archives
    SYNOPSIS
         ditto [-v] [-V] [-X] [<options>] src ... dst_directory
         ditto [-v] [-V] [<options>] src_file dst_file
         ditto -c [-z | -j | -k] [-v] [-V] [-X] [<options>] src dst_archive
         ditto -x [-z | -j | -k] [-v] [-V] [<options>] src_archive ... dst_directory
         ditto -h | --help

  • Install many executable on the same PC with different names

    Hello,
    I'm trying to install several executables with different names in the same computer but at the end of install process the message is : "an higher  or existing version is already installed in this computer"
    I create the Executable and Setup with LabVIEW Application Builder and install the executable in the same Program Files root directory with a different sub-directory for each executable as this : Program Files-->MyProject-->SubProjet1 with exe1/SubProject2 with exe2 etc...
    My OS is WinXP pro SP2 and I work with LabVIEW 8.5.
    Thanks and regards,
    Armindo PINTO

    Hi Armindo,
    Thank you for using the NI forums! 
    From what I understand, you are trying to create multiple executables of a vi project to co-exist on the same PC. Any time you re-use the LabView 8.x project file, it will generate
    install package with the same product ID number. That means, if the
    deployed PC has the previous version installed, which had been
    generated from the same project file, the new install package will
    remove the previous version and overwrite it with the new version. Or as in your case, not allow you to install lower versions of the executable. That
    means, the previous version will be no longer available on the deployed
    PC. If you are creating an upgraded version to the product this is
    fine.
    However, if you need to re-use the LabView 8.x project
    file and generate a new product, which can potentially co-exist with
    the previous on the end user PC, you need to generate a new installer
    with a different product ID number. One of the way to do it:
    Copy existing project file (e.g. "name1.lvproj") under a different name (e.g. "name2.lvproj")
    Open the new instance of the project
     Expand the "Build Specifications"
     Right click on the installer specification, e.g. "name1 Installer"
    Select "Duplicate" from the menu
    You can now delete the instance "name1 Installer" and rename the "Copy of name1 Installer" to a suitable name, e.g. "name2 Installer"
     Make changes that are needed between the two versions, for example:
    Select a new source VI
    Build a new exe file
    Reflect the new exe file in the "name2 Installer"
    Make
    any other changes needed in "name2 Installer", for example different
    documentation files included in install, change in the target install
    directories, changes in the start menu shortcuts. etc.
    Build the install.
    Please let me know if this solves the issue, and let me know how you get on.
    Kind regards,
    Ashish Naik
    Field Sales Engineer
    National Instruments UK

Maybe you are looking for

  • PO created instead posting block set & vendor not extended to company code!

    Dear friends, I have a vendor created for a purchasing organisation in  a company code. there are two problems that i am facing. 1) I have  blocked  a particular vendor completely. Even then system is allowing to create the PO using this vendor. 2) T

  • My computer will not boot up from disc

    Help i am having issues booting up my laptop, it won't even boot up from a disc what do I need to do??

  • HTTP Response code 500 : Delivery Exception

    Hello , i have following scenario WS(Client) <--> RFC. I am getting the following error : Response code 500: File couldnot be posted. Here are RWB data entries : 2006-03-13 09:45:52       Success       SOAP: request message leaving the adapter (call)

  • Copy photo's to ipad without internet

    Hi, Is there any smart way to copy photo's and video's shot on the iPhone 5s to an iPad mini? This without an internet connection? tia Peter

  • Certificates

    I'm using the latest (as of today) Java Studio Enterprise 8.1 application server. I'm trying to request a verisign certificate and install it on the system. I used the keytool to perform a certificate request, sent the certificate to versign, got the