Libraries in project tree

I noted recently that some of my projects have libraries added in a separate "Library" branch of the project tree while in other they are simply listed at the base tree level; see these two examples:
Is there any practical difference between these two arrangements, apart the aestethic? May I have problems in the second one? I am actually running several of my projects in the second scenario without apparent problems, so I tend to answer "no", but who knows?
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos?
Solved!
Go to Solution.

I have the impression that it depends on original version the project was built.
If I add a library in a CVI2012 project it will be put in the Library folder, which is created if not yet present. Making the same operation in a CVI2009 project simply adds the library to the tree.
Opening a 2009 project without libraries in 2012 and adding a library creates the Library folder.
Opening a 2009 project with libraries in 2012 does not automatically create Library folder, but if I add a library it indeed creates it so that resulting project has a mixed situation with some libraries in the folder and others in the tree. I can then drag existing libraries into the Library folder, but this is not required to succesfully run the project in the IDE and create the executable.
I suppose the position of libraries in the project tree is simply a graphical representation and has no influence in program behaviour.
BTW I always use Edit >> Add files to project to add libs
* Edit * Constantin has replied while I was writing, confirming my hypothesis
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos?

Similar Messages

  • Java program/package in project tree

    On a fairly large web services project I am working on I started using
    workshop to develop a couple of straight java programs and put them in the
    project tree right next to the jws programs. This worked great, I could
    take advantage of the debugging and code completion type editing capability
    in Workshop. Last week I moved this source code, plus all of the common
    classes, into a directory under the top level project directory
    (com/myCompany/api/structures and com/myCompany/api/util) and copied the
    programs into there (Workshop changed the package names appropriately). It
    all ran fine.
    This week another developer got the latest pull from source control with the
    directory mentioned above but cannot build. The message is "Package
    com.myCompany.api.util not found in import". I am looking right at the file
    structure and is the same as on the original machine that it was built on.
    Any idea why it cannot find that file/directory/package?
    Is there anyway to forceworkshop to build a java program? The build menu
    command is disabled when working on a java file.
    It would be great to have a section in the support docs about writing java
    classes in Workshop. We are determined to keep our jws's (what's the plural
    of jws!) lean and use helper functions and/or business object/model
    functionality for the bulk of the work. I know V1 of workshop has not
    focused on this java editing capability but it is there and it's pretty
    strong. Without this you have
    to work in a seperate IDE to write helper classes do a build there and then
    come back to Worskhop.
    I'd like to know things like 1) when and how does workshop decide to do a
    build of the java classes 2) is it possible to put other source code like
    libraries somewhere so that I could debug right into these? and 3) how does
    workshop resolve it's package structure at build time (other than
    web-inf/classes)?
    Thanks!

    Well, our problem seems to be fixed but I'm not sure why. The java classes
    had not been deleted from the top of the project tree. When we deleted them
    suddenly the import started working ... go figure ... maybe it was something
    else we did. I would still be interested in answers to my more general
    questions about java source in workshop if possible ...
    thx
    "Dave Remy" <[email protected]> wrote in message
    news:[email protected]...
    On a fairly large web services project I am working on I started using
    workshop to develop a couple of straight java programs and put them in the
    project tree right next to the jws programs. This worked great, I could
    take advantage of the debugging and code completion type editingcapability
    in Workshop. Last week I moved this source code, plus all of the common
    classes, into a directory under the top level project directory
    (com/myCompany/api/structures and com/myCompany/api/util) and copied the
    programs into there (Workshop changed the package names appropriately).It
    all ran fine.
    This week another developer got the latest pull from source control withthe
    directory mentioned above but cannot build. The message is "Package
    com.myCompany.api.util not found in import". I am looking right at thefile
    structure and is the same as on the original machine that it was built on.
    Any idea why it cannot find that file/directory/package?
    Is there anyway to forceworkshop to build a java program? The build menu
    command is disabled when working on a java file.
    It would be great to have a section in the support docs about writing java
    classes in Workshop. We are determined to keep our jws's (what's theplural
    of jws!) lean and use helper functions and/or business object/model
    functionality for the bulk of the work. I know V1 of workshop has not
    focused on this java editing capability but it is there and it's pretty
    strong. Without this you have
    to work in a seperate IDE to write helper classes do a build there andthen
    come back to Worskhop.
    I'd like to know things like 1) when and how does workshop decide to do a
    build of the java classes 2) is it possible to put other source code like
    libraries somewhere so that I could debug right into these? and 3) howdoes
    workshop resolve it's package structure at build time (other than
    web-inf/classes)?
    Thanks!

  • Show include files in project tree

    Hi,
    I have 2 questions regarding header and source files:
    How can I display the header files used in my project tree? I already included the path in Environment->Include Path, but they are not showing up in my project tree.
    Is there a way to toggle between source and header file?
    Thanks!
    Solved!
    Go to Solution.

    Hello ZerMahlMeer,
    Adding an include path through Environment->Include Path doesn't add the header files in the project tree. With this option you just specify folders where to look for header files. Just imagine what would happen if there are a lot of header files in the include path and you only use some of them. If you want the header files in the project tree, you have to add them as Wolfgang said. It is not necesarry to have the header files in the project in order to #include them in source files. If you use a header file that is not in a include path and is not in the project you might need to use a relative or absolute path in #include directive
    Constantin

  • Organise Document Libraries by projects or departments or both?

    We have various departments that may have various managers that can initiate projects from clients. (Not always the same department everytime.) We have subsites for every department and (very likely) subsites for every project.
    I'd like to see a document library per department. Every document metadata shall have an associated project number. On the project page, I'd like to see a single view of documents from various libraries that have the corresponding project number.
    Is this doable?

    Yes, it is.
    The easiest way is to build a template site, with the document library including the relevant metadata, and then save it as a template ('Project Site Template'). You can then create new sites using that template which will create a new copy of that document
    library.
    The second bit is about the default metadata for the column. This article is for 2010 but should be valid for SharePoint online.
    https://msdn.microsoft.com/en-us/library/office/ee557925(v=office.14).aspx
    To amalgamate the content you can use the Content By Search Web Part which will look at all items the user has permission to see (not real time but it does update regularly)
    https://support.office.microsoft.com/en-gb/article/Configure-a-Content-Search-Web-Part-in-SharePoint-0dc16de1-dbe4-462b-babb-bf8338c36c9a?CorrelationId=df19aeb8-9693-4d16-85ce-f161e969b2f4&ui=en-US&rs=en-GB&ad=GB

  • Feature Suggestion: Auto Copy Libraries into Project from GUI

    I'm surely not the only one to think of this but I know I would find it very useful. When going to the Libraries section in the project settings under the desired configuration, we choose from all the libraries Jdev knows about. Of course when we shuttle them over to be in the project classpath, the jar files stay where they are. Could there be an option during this operation to add them to the project? What I mean by that is to copy the jar files from their referenced location into a directory underneath the project root and then add the files into the jpr. This would be similar to what the Struts wizard asks when it says, "Would you like to copy the struts libraries into the project?". If you say yes, it does just what I described.
    I find myself more often than not wanting to control the environment on a project by project basis - regardless of what libraries are local to the workstation. This type of library management is especially useful in a team setting. When the environment JARs are tied to the project, we can put the whole thing under source control and never have to worry about not having the right libraries on our local machines. They always get downloaded with the project. Not to mention how much easier it is to upgrade Jdev without wondering where that library went that I knew worked with my project before but now is a new version bundled with the IDE.

    Welcome to the discussions,
    you can address Apple directly and leave your suggestions by using the feedback page: http://www.apple.com/support/feedback/

  • Why is aperture not importing merged libraries as projects

    Hi Everyone:
    I'm trying to move a large library of RAW files to another library on the same machine.  I tried exporting the whole library but there were a lot of corrupted files (or at least they had the yellow triangles on them), and when I selected all and asked it to locate referenced files, it said there were none, even though it had over 1000.
    So I decided to export/import piecemeal and do it project by project.  So what I've been doing is exporting a project as a library, switching libraries, and selecting a project to import to and then clicking import.  At first it was working well and importing everything as separate projects, but today I must be doing something wrong or missing a step. 
    It is now importing the library and dumping it loose in the photos section, and I have to go picking through the photos to find the ones I imported and put them into projects.  This is going to get increasingly more difficult and I really need help... I've been at this now for two days and need to get back out taking pictures...
    Thanks,
    Lisa

    Hi everyone:
    Just to add, I already followed these steps and it didn't work...
    To merge a project or Aperture library into a project
    Control-click a project, then choose Import > Library/Project from the shortcut menu.
    In the dialog that appears, select the project or library that you want to merge into the project selected in Projects view, then click Import.
    The project or library is merged into the project selected in Projects view. For more information about merging libraries, see Merging Libraries.

  • Deploying libraries and projects...

    Hello All
    We have problem trying to make a distribution on a compiled library.
    The application that we had consist of many projects. We separate the
    service objects and the objects in different projects, because we need to
    reference a service object from another and develop a three tier application
    so we had to divide like this form :
    Project Service Object 1
    Project Object 1
    Project Service Object 2
    Project Object2
    where Object1 makes a call to Service Object 2.
    The problem is that we want to deliver the application and compile the
    project that contains objects in order to don&acute;t give the source code, so
    someone told us that we have to separate the service objects from objects in
    order to compile the projects that contain the objects as libraries and let
    the services objects in another projects without compile.
    So the previous schema finally seems like this :
    Project Service Object 1
    Library Object 1
    Project Service Object 2
    Library Object 2
    To compile this, the manual told to compile in order so We start with :
    Project Object 2 -> Configure As Library -> check compile -> generate
    .lgf -> run fcompile and get .dll. (OK)
    Project Object 1 -> Configure As Library -> check compile -> generate
    .lgf -> run fcompile (ERROR)
    the error
    said that there was not .lib.
    That was
    strange because generating Object2
    fcompile
    generates .bom, .lib and finally .dll. (??)
    Please if someone out there know something please told us....
    Probably a library can&acute;t have a supplier project with service object in
    it...
    Thanks For Help
    Julio Fern&aacute;ndez
    [email protected]

    Hi Frank,
    Thanks for the answer. I couldn't follow how the custom Manifest file will help in our case. Could you please provide some more details?
    My problem is I don't know in which order I need to compile the projects. I can do this manually but I am looking for a solution that will do this automatically.
    As the project grows it will be too hard to decide the order manually.
    Thanks

  • Multiple libraries (or projects on multiple drives)

    I'm running low on disk space so I am hoping to split my library of over 13,000 images either (a) into multiple libraries, with only one open at once, or (b) store some of the older or lesser-accessed photos on a removable drive and not on the main drive. (With "B", the removable drive may not always be connected.)
    Any recommendations on which route to go?
    Thanks.

    I'm getting close to having to do something like this myself, I have around 12,000 images sat in a single library, majority of which are RAW files and the library is around 56GB in size.
    I think the easiest way to do this is to create a new library, e.g. based on Year, and then export all projects for that year from your main library and import them into the new library you've just created.
    To switch between libraries you would need to quit Aperture, find the library you wanted to access, and double click on the Library file to load Aperture with the selected library.
    By the way, I should point out that I haven't tried this myself yet, but from what I have read and understood so far, this would be a workable solution.
    Hope this helps,
    Jason

  • Zombie libraries and projects

    I encountered a strange situation while using referenced masters, on a NAS (if that matters).
    My Aperture libraries are on my MBP, while referenced masters are on a NAS. Library A consists of some projects that are mapping to folders on the NAS, and Library B refers to some others.
    One day, suddenly all projects in Library B lost connections to their masters (170+ projects and 28,000+ photos all with the red badges, Aperture showed the NAS volume as Offline), and I could not reconnect them (the NAS volume was not shown in the lower part of the reconnect page for selection). I tried several times to revive the zombi library and its projects. For just one time it worked and all photos were back to life, but became zombies again the next time. At times it seemed they were back with the normal badges, but actually not because I could not adjust or relocate any of the photos. I rebuilt the library several times but that did not help. I could import new projects from the same NAS again into the library and they worked well, but the zombies were just dead forever. For the working projects, Aperture showed the volume as Online, but for the zombie projects, it showed the same volume as Offline. I tried export and import the zombie projects, but they were still zombies no matter where they go. At the same time, Finder was happy to see the volume and all its files without any problem.
    I gave up and created a new library C, spending days to import all 170+ projects again from the NAS as referenced masters. I got a functioning library and could happily work on it for several days, until one day suddenly all projects and versions became zombies again. Library C became Library B.
    On the contrary, I have a good lasting Library A (700+ projects and 150,000+ photos) that works. It was created before library B, referencing to the same NAS volume but different selection of folders. On one day, though, one of the projects suddenly showed all red badges for the versions, too, but luckily just that project. Aperture showed the volume of the troubled photos was Offline, but it said it was Online for all other photos in other projects. I could not revive that project, so I deleted it and re-imported from the NAS again to build an exact same new project, and it has been working with all others ever since.
    I still have no clues about what went wrong to Library B and C (and that single project in Library A). For me they are just like Library A but referring to different set of masters on the same NAS. Under what condition would Aperture consider the same Volume as Offline for some of the versions while Online for others, at the same time and in the same Library? And it's strange that when I work on Library A, Aperture sees the NAS volume as Online, but when I switch to Library B, it sees it as Offline immediately. I am afraid that one day my Library A would unexpectedly become zombie, too, then all my Aperture work will be history.
    Has anybody encountered the same situation as mine? Hope I could get some advices here.

    I see that now. Though it still could be an issue.
    If you could distill your problem down to a short paragraph it might be easier to figure out whats going on.
    regards
    Message was edited by: Frank Caggiano

  • Error with target resource of the FPGA in project tree

     Good evening
    I am completing the tutorial about NIeval quit of CompactRIO.
    I am using a RIO 9631 and after compiling the 1st example(simple counter example)
    I get this error:
    "you cannot run this VI because the because the target resource does not match the actual type of device"
    I go to project and I see than FPGA resouerce is RIO0, the same that is by default in the project, the same is in the tutorial guide and the same appears in MAX.
    I have to say I had installed the Labview before testing the card so I only have copied the folder of the tutorials in my desktop and I have opened from there.
    Can u help to solve this error??

    Hi,
    Ok here is some update on the issue:
    After again querying the WF table
    we found that this is the WF which ran
    "PA Mass Assignment Transaction Workflow" (PARMATRX) 5109937 -10001.
    Also the notification went to a person who is not at all related to this project in any way. Want to find out how to over the come with the problem of blue dots and need to find how the submitter attribute value in the WF is getting populated.
    Please let me know your views/hints.
    Thanks
    Anand.

  • Where are my libraries and projects ? update of Maverick in cause ??...

    Tonight all I have is problems with Final Cut Pro X... I read many similar things in the last few hours, and start to wonder if this could be the last OS X update in cause ??... Everything was fine 3 days ago...
    - As per my other post (few minutes ago) : unable to share to master file or any other format. Compressor fail as well..
    - Now, trying to solve problem, I lost view of all my projects. Last project I was almost over with : all I se now is just the audio track !!... (Ok this one could be just something I touched... how should I get the entire project back ??...)à
    - I've rebooted the Macbook Pro, re-opened FCP, then now it looks freezed for last 15 minutes trying to ''load events'', with a progress bar greyed out.
    I just hop eI have not lost all my projects...
    FCP is a nightmare tonight...

    Need more information to begin to help.
    What version of FCP X do you have installed? Did you recently update from an earlier version?
    Are your projects and media on your boot drive?
    Russ

  • File colors in project tree

    I thought to remember that in earlier versions of CVI source files needing compilation were marked in a different color (pink?) while in CVI2013 this feature seems to be gone. Did I miss something? I did like the color coding...
    Solved!
    Go to Solution.

    Hello Nelu,
    I see, it was on purpose, so no chance of having it fixed
    CVI2013 knows if files need to be re-compiled or not, unfortunately this information is hidden - why not indicate if pushing the RUN button will start the executable or start compilation...
    For example, in projects with many files changing an include file immediately showed the impact, i.e. the affected files. I don't see why this should affect performance.
    Anyway I understand that this wish requires another idea suggestion, you can find it here...

  • Projects vs libraries

    This should be a relatively easy question to answer:
    How do libraries and projects compare to each other (advantages and disadvantages of each)? I have several related VIs that are used together with one of the VIs making calls to the others.  I'd like to have them organized together in the most efficient way. 
    A couple of times years ago in an older version of LabView, I had built libraries to do this.  I don't remember projects being an option then.
    Thanks.

    And an llb should not really be used as an organizational tool - as least during debug. They were originally created so that LabVIEW users on win 3.x could create VIs with long files names like Mac users could. The only real valid use they have today is a way to distribute a VI and it's hierarchy. A single corrupt VI in an llb will make the entire llb unreadable and that is a major reason they should not be used in development.

  • Question about dependent projects (and their libraries) in 11g-Oracle team?

    Hello everyone,
    I have a question about dependent projects. An example:
    In JDeveloper 10.1.3.x if you had for instance 2 projects (in a workspace): project 1 has one project library (for instance a log4j library) and project 2 is a very simple webapplication which is dependent on project 1. Project 2 has one class which makes use of log4j.
    This compiles fine, you can run project 2 in oc4j, and the libraries of project 1 (log4j) are added on the classpath and everything works fine. This is great for rapid testing as well as keeping management of libraries to a minimum (only one project where you would update a library e.g.)
    However in 11g this approach seems not to work at all anymore now that weblogic is used, not even when 'export library' is checked in project 1. The library is simply never exported at all - with a noclassdeffound error as result. Is this approach still possible (without having to define multiple deployment profiles), or is this a bug?
    Thanks!
    Martijn
    Edited by: MartijnR on Oct 27, 2008 7:57 AM

    Hi Ron,
    I've tried what you said, indeed in that .beabuild.txt when 'deploy by default' is checked it adds a line like: C:/JDeveloper/mywork/test2/lib/log4j-1.2.14.jar = test2-view-webapp/WEB-INF/lib/log4j-1.2.14.jar
    Which looks fine, except that /web-inf/lib/ is empty. I presume its a sort of mapping to say: Load it like it in WEB-INF/lib? This line is not there when the deploy by default is not checked.
    I modified the TestBean as follows (the method that references Log4j does it thru a Class.forName() now only):
    public String getHelloWorld() {
    try {
    Class clazz = Class.forName("org.apache.log4j.Logger");
    System.out.println(clazz.getName());
    catch(Exception e) {
    e.printStackTrace();
    return "Hello World";
    In both cases with or without line, it throws:
    java.lang.ClassNotFoundException: org.apache.log4j.Logger
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:176)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:42)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:169)
         at nl.test.TestBean.getHelloWorld(TestBean.java:15)
    Secondly I added weblogic.xml with your suggested code, in the exploded war this results in a weblogic.xml which looks like:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app.xsd" xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app">
    <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    <jsp-descriptor>
    <debug>true</debug>
    <working-dir>/C:/JDeveloper/mywork/test2/view/classes/.jsps</working-dir>
    <keepgenerated>true</keepgenerated>
    </jsp-descriptor>
    <library-ref>
    <library-name>jstl</library-name>
    <specification-version>1.2</specification-version>
    </library-ref>
    <library-ref>
    <library-name>jsf</library-name>
    <specification-version>1.2</specification-version>
    </library-ref>
    </weblogic-web-app>
    The only thing from me is that container-descriptor tag, the rest is added to it during the deployment. Unfortunately, it still produces the same error. :/ Any clue?

  • Libraries of dependent project not deployed

    Hi,
    I have two projects, lets name it A and B. In Project A I defined some project libraries containing JAR's (Project Properties -> Libraries and Classpath -> Add Library).
    Project B depends on Project A.
    Now I created a deployment descriptor for a WAR in project B. Under the section "Library Dependencies" of the WAR profile I selected the option "Include Libraries from other projects" and I selected some libraries of project A for deployment. Under the section "WEB_INF/LIB -> Contributors" I selected these libraries as well, but under the section "WEB_INF/LIB -> Filters" the JAR's of these libraries don't appear! So when I create the WAR, these libraries are missing. The question is why??
    I figured out, that when I set the option "Deployed by Default" in the libraries of Project A, the JAR's appear in the deployment descriptor of Project B under "WEB_INF/LIB -> Filters". However these libraries cannot be deselected anymore in the deployment descriptor of project B! So this doesn't help me, because I use project A as dependency in several other projects, and each projectes needs a different set of libraries of project A.
    Is there a solution for this problem?
    Thanks for hints
    Thomas
    PS: I'm using JDeveloper 11.1.2.1.0 (Build JDEVADF_11.1.2.1.0_GENERIC_110907.2314.6081).
    Edited by: thmayr on 25.01.2012 06:10

    Since the forums are going up and down during USA business
    hours, I was forced to contact Tech Support. It was frankly the
    worse tech support experience of my life. The technician just
    didn't get what I was trying to tell him. A senior tech finally
    gave him a solution that worked. Here is that solution:
    Uninstall Flash Player and Reinstall it. However, you just
    can't use the Add/Remove Programs. You have to download a special
    uninstaller from the following web site:
    http://www.adobe.com/shockwave/download/alternates/
    Before running the uninstall, I recommend you restart your
    computer, then run the uninstaller after you have downloaded it.
    This 'unloads' Flash Player from any task and also unloads the
    ActiveX portion from memory.
    After uninstalling and reinstalling, the 'Flash' in my
    FlashHelp is back!
    Hope this helps someone else with this problem.
    Regards,
    Gilley

Maybe you are looking for

  • Sales report based on Reason for Rejection

    Hi Guru's, I have a requirment to get the list of sales orders( Open/ Close) report based on Reason for Rejection. Please makesure it should be standard not customization and using tables. Thanks & Regards, Subbu.

  • X11 won't start (sets monitor to standby) with nVidia card

    Hello everyone! I'm having some trouble getting my computer to work properly. Yesterday it was working perfectly, but today it would't start again. After some troubleshooting I've determined that the problem lies with X11 and the graphics driver. The

  • Oracle RAC requires ODP?

    I am starting a new project with the following scenario: .Net 2.0 web application accessing Oracle RAC (64 bits) using Data Access Application Block. I would like to know if it is required to use ODP to access Oracle RAC or Microsoft Oracle Data Prov

  • Identity Theft

    Hello. Someone has opened a Skype account using my name (which is very distinctive) and my picture.  People who are looking for me on Skype are contacting that person instead. How can I remove the impersonating account (who to contact, what documents

  • Preparing PDFs for web viewing

    Can I control how PDFs open for people using my web site?  I'd like them to fit on window with page thumbnails. If I can't control this, can I advise my users how to get that to happen in their own browser?