PackageMaker doesn't include empty folders

I am trying to create a package that contains empty folders. Items may be installed into these folders from another program. All items are listed when I authenticate to archive the Package_contents on building. Most of the empty folders are not in the final package.
My example Package_contents contains where all icm and firmware directories are empty:
/usr/local/share/foo2/
/usr/local/share/foo2/icm/
/usr/local/share/foo3/
/usr/local/share/foo3/crd/
/usr/local/share/foo3/crd/file1
/usr/local/share/foo3/crd/file2
/usr/local/share/foo3/icm/
/usr/local/share/foo4/
/usr/local/share/foo4/firmware/
/usr/local/share/foo4/icm/
The package as built by PackageMaker v2.1.1(123) in OS X 10.4.9 contains:
/usr/local/share/foo2/
/usr/local/share/foo2/icm/
/usr/local/share/foo3/
/usr/local/share/foo3/crd/
/usr/local/share/foo3/crd/file1
/usr/local/share/foo3/crd/file2
/usr/local/share/foo4/
Is there some way to get all the empty directories included in the build?
Matt
Mac Mini G4; B&W G3/300    

I tried putting some dummy files in the empty
folders. They got included in the package as I
would
have expected. I think this is a bit messy.
True. It is a bit messy but you can always include
some code in your application which deletes the dummy
files the first time it runs... or perhaps build the
delete into the post flight script.
It would probably be less messy and less confusing to create the package with the dummy or placeholder files and delete them in the postflight. It would seem to make more sense and "be more honest" to list "placeholder" files of zero bits in the Archive.bom than to create extra directories in the postflight.
As I mentioned in my previous response, PackageMaker 1.2 running in OS X 10.3.9 builds the package as I want, so I won't have to deal with the issue.
Matt

Similar Messages

  • Basic table question - include empty rows

    Hi msdn,
    I create SSRS reports for MS CRM 2011 in Visual Studio Shell 2010 (SQL Server 2012).
    For
    my Dataset, i use fetch xml from the crm. 
    I'm currently creating a report which  should list all the lost opportunities from one year grouped by the reason(statuscode)
    of their loss.
    The table below is working but it doesn't include "empty statuscodes"(Reasons with no opportunities attached to
    it)
    (Stückzahl 2013 = number of opportunities) (Angebotssumme 2013= Sum of all opportunities in CUR)
    I have a list in my crm with all the possible reasons, a number of  25 Statuscodes.
    I want them all to appear in the table and when there is no lost opportunity linked to it, just display a 0.
    Below is my dataset query and as you see, i select the opportunity first and statuscode is a field in it
    <fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true">
    <entity name="opportunity">
    <attribute name="name" />
    <attribute name="customerid" />
    <attribute name="estimatedvalue" />
    <attribute name="statuscode" />
    <attribute name="opportunityid" />
    <order attribute="name" descending="false" />
    <filter type="and">
    <condition attribute="statecode" operator="eq" value="2" />
    <condition attribute="statuscode" operator="not-null" />
    <condition attribute="estimatedvalue" operator="not-null" />
    <condition attribute="actualclosedate" operator="not-null" />
    </filter>
    <link-entity name="new_automatisierung" from="new_verkaufschance" to="opportunityid" alias="ae"></link-entity>
    </entity>
    </fetch>
    So my question is which possibilities i have to achive my goal?
    Is it even possbile with this dataset?
    I hope i made it clear enouth for you guys to understand. As you can see, im fairly new to SSRS.
    Thank you in advance

    Hi there,
    You may need two queries to do this, #1 to retrieve status codes & opportunities and #2 above query to get details.  Bind the table to #1 query.  Then use lookup or lookupset function to retrieve results from #2.
    http://technet.microsoft.com/en-us/library/ee210531.aspx
    You might have more luck in Dynamics forum.
    http://community.dynamics.com/crm/f/117/t/108149.aspx
    cheers,
    Andrew
    Andrew Sears, T4G Limited, http://www.performancepointing.com

  • Folders and duplicates everywhere; empty folders... a mess in the Library

    I am tired of iPhoto's difficulty to use as soon as you modify pix and try to move pix from a computer to another.
    It creates tones of duplicates files, empty folders and doesn't even recognize px it already imported.
    I have the same pix floating everywhere.
    THen i tried to delete some folders and files and some pix are now 'offline'.
    Any trik other than don't mess with iPhoto, don't modify your pix and don't move them from one computer to the other one.
    Help!

    xavier
    iPhoto is a database. Think of it this way. When you use iPhoto it's like hiring a filing clerk and giving them your shoe box full of photos. "Take these and sort them out so that when I ask for one, you can give it to me, and fast." So the Clerk sets up his filing structure, then goes home for the evening and you go into the filing cabinets and move things around. Next morning, it is any wonder that the Clerk can't find things?
    So here's tip one: It is strongly advised that you do not move, change or in anyway alter things in the iPhoto Library Folder as this can cause the application to fail and even lead to data loss.
    You do everything you need to do via the iPhoto Window - and the good news is that everything you need to do can be done from there. So, ignore the iPhoto Library Folder. There are no user serviceable parts in there.
    Want to access a file: There are three ways (at least) to get files from the iPhoto Window.
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    To upload to MySpace or any site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
    This is also true for emailing with Web-based services. If you're using Gmail you can use THIS
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser. Or, if you want to access the files with iPhoto not running, then create a Media Browser using Automator (takes about 10 seconds) or use THIS
    Also, for 10.5 users: If you use the extended Open or Attach dialogue (with Column View) you can scroll to the bottom of the Shortcuts and find the Media browser there. Select any pic you want from there.
    Want to use a photo editor? You can set Photoshop (or any image editor)as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically.
    FYI: This might explain how the iPhoto Library Folder is laid out: A Note about the iPhoto Library Folder:
    In this folder there are various files, which are the Library itself and some ancillary files. Then you have three folders
    Originals are the photos as they were downloaded from your camera or scanner.
    (ii) Modified contains edited pics, shots that you have cropped, rotated or changed in any way.
    This allows the Photos -> Revert to Original command - very useful if you don't like the changes you've made.
    (iii) Data holds the thumbnails the the app needs to show you the photos in the iPhoto Window.
    Regards
    TD

  • My Fall 2009 system DVI output to our HDTV doesn't include audio.  Connecting the Macbook headphone output to the TV's RCA plugs works if TV is in AV (PC) mode, but no picture.  DVI to HDMI adapter to TV works fine for picture, but no audio.

    My Fall 2009 model Macbook Pro DVI output apparently doesn't include audion.  Adapting DVI to HDMI works with new LG TV, but doesn't provide sound.  Connecting the Macbook headphone output to the TV's RCA jacks give sound with the TV in AV (PC) mode, but no video.  Is there a fix for this?  Search for a DVI to HDMI adapter that includes a plug for the headphone jack comes up empty, so far.

    DVI has never included audio, sorry.
    There is also no DVI->HDMI adapter including a plug for audio; such thing cannot work without quite a bit of electronic extra effort.
    Instead of much bla-bla, why don't you tell the exact TV model, and we'll try to come up with a solution?
    BTW, no home theater AV receiver present, correct? Sound to come from the TV, correct?

  • I have 40 empty folders in my mailbox on ipad 3. They are shown on the left hand side of my mailbox screen.I have tried to delete them but they keep re appearing should they be there or can anyone tell me how to delete them. .

    I have 40 empty folders which have appeared in my mailbox. I have tried to delete them using the edit button but they keep coming back. I have done a factory reset to start my ipad as new but this has not removed them. They have now appeared on my wifes ipad air. Can anyone help please.

    Hi Go to Settings Email Accounts Delete Accounts Then add them back again. If that doesn't work Do a Factory Restore. Cheers Brian

  • How can I import bookmark HTML records directly into pre-defined (but empty) Folders?

    Firefox is my default browser. I am in the process of replacing an old computer with a new one. I've converted into HTML files the Bookmark content of all of the Folders appearing within the Bookmarks section of Firefox on my old computer. I then uploaded this into the cloud, and downloaded it to my new computer. I've loaded Firefox afresh on the new computer. Now . . .
    Ideally, I would like to be able to import these saved/HTML bookmarks (now on my new computer) directly into the new Firefox, keeping the Folder structure maintained in saving them from the old computer; less ideally, but still acceptable, would be to simply re-create as empty Folders each Folder from the old computer's Firefox setup and then do a 'Select All' copy/paste from each of these Folders as saved in my downloaded HTML bookmarks into these initially empty Folders created in the new computer's Firefox Bookmarks section. Is either of these currently possible? In short, this is a quite distinct scenario from importing bookmarks from other browsers on the same computer.
    I have tried, but it seems that neither of these functions is currently viable. As common as replacing one computer with another is, I find this a pretty significant oversight which will require a very time consuming conversion process if such functions are not currently available; i.e., I'll have to open each saved HTML Folder and manually activate each individual html bookmark, go to that website, and individually re-bookmark each of these one by one within the Bookmarks section of Firefox on my new computer as if I were bookmarking this site for the very first time. With hundreds and hundreds of bookmarks segregated into about 30 Folders, I think you can see what a productivity drain this will be.
    While there appear to be some quite interesting and potentially useful FireFox Addons - e.g., Categorize - none of these seems to address/resolve this problem. Can you advise? Thank you.

    To start out with, Firefox hasn't used the HTML format for storing bookmarks for a few years now; you can still import and export bookmarks in HTML format, as you can with just about any other browser out there as an interchange format. Firefox 3.0+ versions use an SQLite database for storing bookmarks and browsing history in the place.sqlite file. Firefox 3.0+ versions do automatic backups of your bookmarks in the JSON format; that file includes "Tags" data but not the web site Favicon data. Restoring a backup from an old PC to the new PC is how Mozilla handles replacing an old computer - or you can "backup" the entire old Profile and transfer that data to the new PC manually. A user could also use Firefox Sync to "sync" their personal data onto the new PC. IMO, you're over-thinking this using dated information (talking about HTML files) without knowing about what options you currently have with Firefox and Mozilla.
    Is that a genuine Netscape-1 bookmarks.html file? ''Look at the first line of code in that HTML file to see.'' <br />
    Or is it a standard HTML file?
    If you have a genuine bookmarks.html file, you can '''Import''' that file thru Organize Bookmarks > Import and Backup > Import HTML... > From an HTML file.
    Doing it that way you will be appending the bookmarks & folders that are in the '''Bookmarks Menu''' folder right now. The ordering of the folders and bookmarks in the "imported" file is identical, the "imported" data is added below the existing data. That said, the '''''Bookmarks Toolbar''''' folder and the '''''Unsorted Bookmarks''''' folder from the "imported" data will be in the Bookmarks Menu folder at the bottom; you'll have to move the bookmarks that are in that folder to their respective folders, above and below the Bookmarks Menu folder.

  • How do I search for and remove empty folders?

    I would love any help. I've spent about 6 hours yesterday looking for a solution for this project...
    PROBLEM:
    I'm trying to organize a 6GB file library of sheet music documents.
    After using Gemini to find and delete duplicate files, I'm left with hundreds of empty folders and files spread across the folders in odd locations.
    How do I find and delete all the empty folders?
    My hope is to remove all the empty folders and then manually reorganize the files.
    This will probably take quite a few hours.
    Here is an example of the mess. The folders currently look something like this:
    Music Library 1 > Kids Songs > Easy > Empty Folder
    Music Library 2 > Kids Songs > Easy > "Ode To Joy.mus" and other files are here
    Music Library 3 > Kids Songs > Intermediate > Intermediate songs files are here
    A better / larger question might be - What is the best way to organize this mess?
    Is there a good file manager for organizing these documents? We run a music school and are trying to set it up for multiple teachers to organize their files and sort by a few different tags like: Difficulty, Genre, Teacher Name, Composer name etc.
    Thank you so much for any help!

    I'm afraid the ability to find empty folders is a wee bit complicated, and quite simply is completely broken in Mavericks. Just because a folder appears to be empty, doesn't mean that it is--if it was ever opened it will have an invisible .DS-Store file inside. For instance, in Snow Leopard if I do a search on the Desktop folder for Kind is Folder, plus Number of Items is less than two, I get two folders, both are empty but one I just created and never opened, and the other I created some time ago and later tossed the contents, which means that it has a .DS-Store file. Both show "No Items" in Icon view. If I modify the Number of Items to "equals 0" only the newly created and unopened folder "empty" shows up. If I try the same thing in Mavericks I get no sensible results at all in any set of search parameters.
    The moderator at Houdah Software reports: "Spotlight on Mavericks reports a value of 1 for "Number of Items" (kMDItemFSNodeCount) for all folders." He says he has reported it as a bug. Evidently it is not yet fixed.
    Francine

  • Bug: weblogic.jar doesn't include the javax.ejb classes

    In the
    Oracle WebLogic Server 11gR1 (10.3.6) + Coherence -
    Package Installer
    the C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar doesn't include the javax.ejb package classes. The javax.ejb package is empty.

    This is the correct behavior, stub and skeleton classes are generated at deployment time by WebLogic server and stored in a server internal location.
    In case you are interested, it is something like: ...\samples\domains\medrec\servers\MedRecServer\cache\EJBCompilerCache\ with file named like HelloSession_gjfaqw_Intf.java., etc.
    -danny

  • Help - AppleScript to delete empty folders

    I have been trying to create an AppleScript that will let me clean directories of empty folders. I have scoured the web and developed the following script. It doesn't work. I have a simpler script but it requires that I enter my admin password everytime that a folder is identified to delete. I'm trying to develop something that only requires me to enter the admin password once. Can someone help me identify the problem with this script?
    on killEmpty(fol)
      tell application "Finder"
      repeat with f in (get fol's folders)
      my killEmpty(f)
      end repeat
      if (count items of fol) is 0 then do shell script "rmdir" with administrator privileges
      end tell
    end killEmpty
    tell application "Finder"
      repeat with f in (get folders of window 1)
      my killEmpty(f)
      end repeat
    endtell

    Hi,
    If you need an administrator's password, use a command in a do shell script to find and delete all empty folders, like this script:
    tell application "Finder" to set tDir to quoted form of POSIX path of the ((target of Finder window 1) as string)
    set pScript to quoted form of "from os import walk; from sys import argv; from shutil import rmtree; import glob
    for dirpath, _, _ in walk(argv[1], topdown=False):
        if not (glob.glob(dirpath + '/*')): rmtree(dirpath)"
    do shell script "/usr/bin/python -c " & pScript & " " & tDir with administrator privileges

  • MY system folder, including hidden folders are littered with duplicate folders and files with the suffix (from old Mac) How do I remove them

    I have a Macbook Pro running Leopard 10.5.8. I had a problem with my my operating system (my fault, I moved a file I shoudnt have) couldnt boot up but was able to boot up from a backup. I managed to repair my original system except now all the system folders, including hidden folders are littered with duplicate folders and files with the suffix (from old Mac).  For the most part the dupes are an exact copy, but not always.  I want to remove them to free up space and cant imagine duplicate folders in the /system/library are not hindering my computer. But I dont know where to start and am afraid of doing irreparable damage. Any ideas

    pacull,
    Use iCal>View>Show Notifications to choose what to do with the notification.

  • Search doesn't include text in calendar notes fields

    I have a calendar created in iCal that includes about 90 entries with text in the notes field of each. Spotlight on the Mac searches that text fine.
    I've synched that calendar to my iPhone - and search there doesn't include text in that field, though it does for the title field.
    Its a great feature - but to keep calendar entries usable the titles need to be short with most details in the notes, but still searchable

    http://www.apple.com/feedback/iphone.html

  • I updated imovie, which is now totally different.  I tried to import videos from iphotos, but the system is now stuck on "import" and it doesn't include iphotos.  Clicking on "close" doesn't work.  How do I get out of "import"?

    I updated imovie, which is now totally different.  I tried to import videos from iphotos, but the system is now stuck on "import" and it doesn't include iphotos.  Clicking on "close" doesn't work.  How do I get out of "import" and then how do I access iphoto?

    I have asked a moderator to provide assistance, they will post an invite on this thread.
    Once you get a reply, if you click on their name, you will see a screen like this. Click on the link as shown below.
    Please do not send them a personal message, as they may not be on duty for a long time, and your message will not be tracked properly.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

  • Can't delete empty folders from NAS

    Hi all
    I have Mac Book Pro running Mavericks, and a WD World Book running as a NAS on my private network.
    Recently, I've been restructuring my files and folders on both my mac and hard drive.
    Having moved a large number of files across from the HD to my Mac, I now have a load of empty folders on my HD that I cannot seem to get rid of!
    I have tried all the usual things, and also the rm -r command but to no avail. It says that the folder does not exist!
    One other strange thing that is happening on the HD, when I 'Get Info', the top username in permissions is just saying 'fetching' and never resolves.
    Does anyone have any suggestions??
    Let me know if you need more info
    Thanks in advance

    Yes, it one of the problems you can encounter using Launchpad at the moment. You can try to drag another app in the folder and empty the folder again. Sometimes that folder disappears, sometimes not.
    There's a way to rebuild Launchpad but I won't not recommend that. It will bring Launchpad back in the default-setting, so you would have to start rearranging all over again, at the risk of having the same problems all over again.
    So, just wait until the first update of Yosemite comes out. That might solve your problem. If the empty folders bother you, you could try to drag them to a new last page, so they are out of sight for now.

  • DBMS_METADATA.GET_DDL doesn't include function parameters

    Sometimes, when I call DBMS_METADATA.GET_DDL to get the DDL statement for a function (which we always do to ensure we're starting from the source that's actually in production), the returned text doesn't include the parameters. Other times, it does, and I'm not able to see any pattern.
    I was going to just make a function and show the output, but that did show the parameters. Then I tried calling GET_DDL while logged in as SYS as SYSDBA on my development database, and I still did not get the parameters, so I don't think it's a permissions issue.
    Does anyone have any idea what's going on here?

    It's really difficult to show you exactly what I'm doing when I can't consistently reproduce the problem, as I described.
    But here, I'll try.
    declare
         the_ddl clob;
    begin
         the_ddl := dbms_metadata.get_ddl('FUNCTION', '*****', '*****');
         dbms_output.enable(null);
         dbms_output.put_line(the_ddl);
    end;
    /Sometimes, it produces output like this:
    CREATE OR REPLACE FUNCTION "*****"."*****" (
         ***** in varchar2,
         ***** in number,
    ) return *****
    ...And other times, it produces output like this:
    CREATE OR REPLACE FUNCTION "*****"."*****" return *****
    ...I am not able to determine any consistent reason for this. In our production database, I can log in as myself and get the parameters for a specific function, but another user (that our automated process uses) doesn't see the parameters. In my development database, I log in as myself and I do not see the parameters, but I still don't see them when I log in as SYS AS SYSDBA.
    For what it's worth, if I recreate the function on my development database, then subsequent calls do show the parameters.

  • Error message saying iTunes doesn't include software for iPhone

    I get an error message saying iTunes doesn't include the software for iPhone. It says to uninstall and re-install iTunes. I have done it twice and both times I get the same error.

    There is an entire iPhone forum here
    http://discussions.apple.com/category.jspa?categoryID=201
    I don't have one - perhaps you will be better off there, where most will?
    Best of luck!

Maybe you are looking for

  • Display Image in Power View and Power BI

    Hi all, I need to create a report in power view where i need to display images in tile. I have found one solution to do so, to store the images as a binary data in data model table using the following link http://www.sharepointanalysthq.com/2014/09/a

  • How can I call a web service using JAVAscript in LCD

    hi guys,      I know it can call a WSDL in LCD, but I have not any WSDL web service , and I have a REST web service ,how can I call this REST web service in LCD? I checked some documents and found nothing...if it's possible that it can call a REST we

  • Bug in apex 4.2.2.00.11, union with queries in parentheses

    Hello, with apex 4.2.2.00.11 trying to build a simple report with the following query (select 1 a from dual) union (select 2 a from dual) gives: ORA-20001: Query must begin with SELECT or WITH without parentheses it works fine select 1 a from dual un

  • Customization of PAR

    Hi Experts,        If  i have created a user wothout any roles  in Portal we will get  a page like  "no portal roles are assigned to the user ,Contact Sys Admin".I want to customize this page by adding some html page .I got the PAR file which i have

  • Print jobs stuck in queue after printer goes auto off

    Hi all!We have an HP LaserJet M125NW printer in the office, which is connected directly to the network (wired). The problem is, once the printer goes to "auto off" mode, the print jobs get stuck in the queue, and we need to restart the printer every