Directory restructuring

Hi all.
I'm contemplating making a small program that takes a directory structure (of a codebase) and rearranges it according to the package structure of the classes.
So, for example in your IDE (and hard drive) you might see something like:
Project A
  com
    blah
      Smith.java
      Jones.java
    zork
      Dylan.java
Project B
  com
    blah
      Oconnor.java
    zork
      Miller.java
      Steve.java
  net
    sun
      Cork.javaYou'd then expect to see it rearranged like so:
com
  blah
    Smith.java
    Jones.java
    Oconnor.java
  zork
    Dylan.java
    Miller.java
    Steve.java
net
  sun
    Cork.javaI'm debating whether this would be easier to do in an OS-specific shell script (it would be the windows platform, unfortunately) or whether Java would let me do it in a reasonably easy and clean way.
Thoughts?

kajbj wrote:
I'd write a script, but why do you want to do this?
KajEssentially I have a code generation tool that generates java classes into a directory structure based on the package name. Then I have a Java project (with many subprojects) which uses these classes- but they're imported and stored within different directories on disk. So Tree.java might have a package of au.com.tree.Tree but it could reside in Tree Core/Java Source/ or Tree Clients/Java/ or whatever...
I want to knock up a program/script to compare freshly generated files with the ones currently in the codebase. If I were working in linux, I'd use shell scripting, diff, etc etc to do all of this. But I'm working on windows and not as familiar with its "batch files" system. And unfortunately, using cygwin is not an option as it's not part of the SDE.
I guess it's just as easy/hard either way then- whether I use java or a script.
My idea is to copy the codebase files into a temp directory somewhere, structured according to their package name (like the generator output does) and then call WinMerge on the two directories to show all the differences between the two sets of files.
Right now, this is a rather painful and manual process, and I'd like to automate it like above.
EDIT: Doesn't need a GUI, though it could be considered a "nice to have" later down the track. Execution speed wouldn't need to be lightning fast, but I can't imagine this taking an incredibly long time anyway, surely?

Similar Messages

  • File and directory restructuring

    I just moved all my PSE8 contents to a new computer using backup and restore, and it worked fine.  however, the directory structure on the new computer isn't ideal;  PSE uses the whole "documents/settings..." structure from the source location, which creates a bit of a convulted structure.  it works, but its messy.  I'd like to change it. I can think of two ways of doing it but would like some recommendations and thoughts before i proceed.
    1.  Use the "move" command to take logical groupings of photos and move them to a different file/directory structure.  I know this will work, but it can be a bit tedious.
    2.  just move the files to the new directory strucutre, and let PSE find them using "reconnect."  not sure how automated this will be or if i will have to "browse and find" each file.  i've never been too impressed with "reconnect"
    thoughts?

    First of all my entire post is sequitur, it's just not sequitur to you.
    Second, malware usually attaches itself to Windows or browser files, not to some Jpeg laying in a remote corner of a "volume" drive. Of what exact "good" or use would it be to the originator? Why would you place malware in a file that stands a chance of not being opened at all?  Given that there are are great number of multi-user computers in the field, the care the OP has taken to avoid malware is of little relevance to the possibility of an actual infection.
    Malware writers have gotten more sophisticated, as have the scanners. However, what is getting through seems to be be harder to identify and eradicate.
    In the case of guarding my personal information, I am zealous to the point of not being willing to take chances, and would rather reformat in the event of trouble, instead of a long running post and repost, scan and rescan, install and uninstall various malware scanners, meanwhile relying on ther kindness of others to bail yourself out of an infection. Reformat, and my photos are a still right where they where on "G:/" (on  >>>four <<<) computers.
    As an aside note, the biggest uptick in exploits and infections is from the "friendship meat markets" such as "Face Book", where all the imbeciles congregate to take "online IQ tests", thus giving out all their personal information. As you can likely tell, I am not all all suited to that environment, and have had my IQ tested in manners professional.
    You are simply overtly and patently incorrect about all the, "I lost my photos because PSE stopped working" being "pilot error" in file management. Simply go to the PSA forum, you'll see what  mean. Or, read this post, from this forum.
    Re: out of memory error adobe elements 3.0
    Hi, just wondering if you had any success in retreiving or opening your Organizer?? Im having the same problem and i have tried everything, i even rang Adobe and they told me there were no technitions able to help because Adobe Photoshop Elements 3.0 was too old. If anyone has a solution please let me know, i have 5 years worth of photos in this software, i just want to be able to open the organizer to burn all my pics to CD then i will update my software. PLEASE HELP!!!!!!!!
    IMHO, it would be more productive to assist a member who desires to have knowledge and control over their photos location in the Windows environment, and also permit a harmonius integration with PSE's file management, rather than simply continuing to spout Adobe dogma. Given the POS that PSE-8 (organizer) is stacking up to be, it may be time to seek out another file manager anyway, at which point you had better know exactly where (in Windows) your photos are and be able to manage them from there.
    If I were going to go through the agonizing, (to me), process of recognizing a deity, it certainly wouldn't be "The Adobe Software Corporation". And hell would freeze over before I knelt at PSE's altar.

  • [SOLVED] Files in the /tmp directory are being deleted

    Hi,
    I've been using Arch Linux for four weeks, but have now come across a problem which I can't fix after trying to search for a solution (and also checking to see if anyone also had the same problem). I would appreciate any help you can give.
    A few days ago the web browsers I use (chromium and opera) lost their profile settings, and I had to set the profiles. This kept happening and the indicator of the problem was that I use profile-sync-daemon for both web browsers, which uses the /tmp directory. I then started noticing that a file I created in /tmp disappeared which pointed me to the fact that something was cleaning up the /tmp directory (this seems to happen hourly).
    A quick search led me to systemd-tmpfiles and the /usr/lib/tmpfiles.d/tmp.conf file. I have not modified the file, and if I have read it correctly only files in the /tmp directory that are more than 10 days old are deleted. I boot every day, so no files should be deleted by systemd-tmpfiles (unless I've misunderstood tmpfiles.d).
    Here is the tmp.conf file anyway:
    $ cat /usr/lib/tmpfiles.d/tmp.conf
    # This file is part of systemd.
    # systemd is free software; you can redistribute it and/or modify it
    # under the terms of the GNU Lesser General Public License as published by
    # the Free Software Foundation; either version 2.1 of the License, or
    # (at your option) any later version.
    # See tmpfiles.d(5) for details
    # Clear tmp directories separately, to make them easier to override
    d /tmp 1777 root root 10d
    d /var/tmp 1777 root root 30d
    # Exclude namespace mountpoints created with PrivateTmp=yes
    x /tmp/systemd-private-*
    x /var/tmp/systemd-private-*
    X /tmp/systemd-private-*/tmp
    X /var/tmp/systemd-private-*/tmp
    The /etc/tmpfiles.d directory is empty, so /usr/lib/tmpfiles.d is the only location for the tmpfiles.d config files:
    $ ls /etc/tmpfiles.d/
    $
    Here is the list of packages I upgraded/installed for the last few days. systemd 207-3 seems the likeliest candidate, but I have not come across any reports about the problem I am having.
    [2013-09-17 19:30] [PACMAN] Running 'pacman -Syu'
    [2013-09-17 19:30] [PACMAN] synchronizing package lists
    [2013-09-17 19:30] [PACMAN] starting full system upgrade
    [2013-09-17 19:34] [PACMAN] upgraded bluez-utils (5.7-1 -> 5.8-1)
    [2013-09-17 19:34] [PACMAN] upgraded cogl (1.14.0-4 -> 1.14.0-5)
    [2013-09-17 19:34] [PACMAN] upgraded dbus (1.6.12-1 -> 1.6.14-1)
    [2013-09-17 19:34] [PACMAN] upgraded dialog (1.2_20130523-2 -> 1.2_20130902-1)
    [2013-09-17 19:34] [PACMAN] installed efivar (0.6-1)
    [2013-09-17 19:34] [PACMAN] upgraded efibootmgr (0.6.0-3 -> 0.6.0.138.1132342-1)
    [2013-09-17 19:34] [ALPM-SCRIPTLET] Generating locales...
    [2013-09-17 19:34] [ALPM-SCRIPTLET] en_GB.UTF-8... done
    [2013-09-17 19:34] [ALPM-SCRIPTLET] Generation complete.
    [2013-09-17 19:35] [PACMAN] upgraded glibc (2.18-3 -> 2.18-4)
    [2013-09-17 19:35] [PACMAN] upgraded gnome-desktop (1:3.8.3-2 -> 1:3.8.4-1)
    [2013-09-17 19:35] [PACMAN] upgraded gnome-color-manager (3.8.2-1 -> 3.8.3-1)
    [2013-09-17 19:35] [PACMAN] upgraded gnome-settings-daemon (3.8.4-2 -> 3.8.5-1)
    [2013-09-17 19:35] [PACMAN] upgraded gnome-control-center (3.8.4.1-2 -> 3.8.5-1)
    [2013-09-17 19:35] [PACMAN] upgraded gnome-themes-standard (3.8.3-1 -> 3.8.4-1)
    [2013-09-17 19:35] [PACMAN] upgraded libpng (1.6.3-1 -> 1.6.5-1)
    [2013-09-17 19:35] [PACMAN] upgraded libusbx (1.0.16-2 -> 1.0.17-1)
    [2013-09-17 19:35] [PACMAN] upgraded linux-firmware (20130725-1 -> 20130903-1)
    [2013-09-17 19:35] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
    [2013-09-17 19:35] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> Starting build: 3.11.1-1-ARCH
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [base]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [udev]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [block]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> Generating module dependencies
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> Image generation successful
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> Starting build: 3.11.1-1-ARCH
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [base]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [udev]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [block]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: bfa
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: smsmdtv
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> Generating module dependencies
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> Image generation successful
    [2013-09-17 19:35] [PACMAN] upgraded linux (3.10.10-1 -> 3.11.1-1)
    [2013-09-17 19:35] [PACMAN] upgraded openssh (6.2p2-1 -> 6.3p1-1)
    [2013-09-17 19:35] [PACMAN] upgraded orc (0.4.17-1 -> 0.4.18-1)
    [2013-09-17 19:35] [ALPM-SCRIPTLET]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> The file /etc/sysctl.conf has been removed from this
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> package, as all its settings are now kernel defaults.
    [2013-09-17 19:35] [ALPM-SCRIPTLET]
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> If you had customized it, you need to rename it as
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> /etc/sysctl.d/99-sysctl.conf since from version 207 on
    [2013-09-17 19:35] [ALPM-SCRIPTLET] ==> systemd only applies settings from /etc/sysctl.d/* .
    [2013-09-17 19:35] [ALPM-SCRIPTLET]
    [2013-09-17 19:35] [PACMAN] upgraded procps-ng (3.3.8-2 -> 3.3.8-3)
    [2013-09-17 19:35] [PACMAN] upgraded raptor (2.0.9-2 -> 2.0.10-2)
    [2013-09-17 19:35] [PACMAN] upgraded xorg-xinput (1.6.0-1 -> 1.6.1-1)
    [2013-09-17 19:36] [PACMAN] Running 'pacman --color auto -U /tmp/yaourt-tmp-dsana/PKGDEST.u70/profile-sync-daemon-5.40.1-1-any.pkg.tar.xz'
    [2013-09-17 19:36] [PACMAN] upgraded profile-sync-daemon (5.40-1 -> 5.40.1-1)
    [2013-09-18 20:35] [PACMAN] Running 'pacman -Syu'
    [2013-09-18 20:35] [PACMAN] synchronizing package lists
    [2013-09-18 20:35] [PACMAN] starting full system upgrade
    [2013-09-18 20:35] [ALPM] warning: /etc/systemd/journald.conf installed as /etc/systemd/journald.conf.pacnew
    [2013-09-18 20:35] [ALPM-SCRIPTLET] ==> systemd 205 restructures the cgroup hierarchy and changes internal
    [2013-09-18 20:35] [ALPM-SCRIPTLET] protocols. You should reboot at your earliest convenience.
    [2013-09-18 20:35] [ALPM-SCRIPTLET] ==> The "timestamp" hook for mkinitcpio no longer exists. If you used
    [2013-09-18 20:35] [ALPM-SCRIPTLET] this hook, you must remove it from /etc/mkinitcpio.conf. A "systemd"
    [2013-09-18 20:35] [ALPM-SCRIPTLET] hook has been added which provides this functionality, and more.
    [2013-09-18 20:35] [PACMAN] upgraded systemd (204-3 -> 207-3)
    [2013-09-18 20:35] [PACMAN] upgraded systemd-sysvcompat (204-3 -> 207-3)
    [2013-09-18 20:35] [PACMAN] upgraded udisks2 (2.1.0-3 -> 2.1.1-1)
    [2013-09-19 20:46] [PACMAN] starting full system upgrade
    [2013-09-19 20:48] [PACMAN] Running 'pacman -Rns psd'
    [2013-09-19 20:48] [PACMAN] Running 'pacman -Rns profile-sync-daemon'
    [2013-09-19 20:48] [PACMAN] removed profile-sync-daemon (5.40.1-1)
    [2013-09-19 20:48] [PACMAN] removed rsync (3.0.9-6)
    [2013-09-19 20:49] [PACMAN] Running 'pacman -Rns chromium'
    [2013-09-19 20:49] [PACMAN] Running 'pacman -Syu'
    [2013-09-19 20:49] [PACMAN] synchronizing package lists
    [2013-09-19 20:49] [PACMAN] starting full system upgrade
    [2013-09-19 20:50] [PACMAN] upgraded chromium (29.0.1547.65-1 -> 29.0.1547.76-1)
    [2013-09-19 20:50] [PACMAN] upgraded xvidcore (1.3.2-1 -> 1.3.2-2)
    [2013-09-19 20:58] [PACMAN] Running 'pacman --color auto -U /tmp/yaourt-tmp-dsana/PKGDEST.ZDK/chromium-pepper-flash-stable-2:11.8.800.170-1-x86_64.pkg.tar.xz'
    [2013-09-19 20:58] [PACMAN] upgraded chromium-pepper-flash-stable (2:11.8.800.97-1 -> 2:11.8.800.170-1)
    EDIT: journalctl doesn't show me anything interesting, other than the fact that chromium complains when it realizes that its profile data has gone missing.
    Last edited by dsana123 (2013-09-21 16:02:48)

    I think I have found the problem.
    There was a gnome update earlier in the week. gnome-settings-daemon runs an hourly housekeeping job. I had set the "Automatically Purge Temporary Files" in the Privacy tab when setting up my laptop last month.
    gnome-settings-daemon has decided to delete files in the /tmp directory (I can trigger this by clicking "Purge Temporary files" which then deletes my files in the /tmp directory). This does not happen in the previous gnome-settings-daemon. Anyway, I'll mark the thread SOLVED if my file in the /tmp directory survives the hour!
    [2013-09-17 19:35] [PACMAN] upgraded gnome-desktop (1:3.8.3-2 -> 1:3.8.4-1)
    [2013-09-17 19:35] [PACMAN] upgraded gnome-color-manager (3.8.2-1 -> 3.8.3-1)
    [2013-09-17 19:35] [PACMAN] upgraded gnome-settings-daemon (3.8.4-2 -> 3.8.5-1)
    [2013-09-17 19:35] [PACMAN] upgraded gnome-control-center (3.8.4.1-2 -> 3.8.5-1)
    [2013-09-17 19:35] [PACMAN] upgraded gnome-themes-standard (3.8.3-1 -> 3.8.4-1)

  • Active Directory domain migration with Exchange 2010, System Center 2012 R2 and File Servers

    Greeting dear colleagues!
    I got a task to migrate existing Active Directory domain to a new froest and a brand new domain.
    I have a single domain with Forest/Domain level 2003 and two DC (2008 R2 and 2012 R2). My domain contains Exchange 2010 Organization, some System Center components (SCCM, SCOM, SCSM) and File Servers with mapped "My Documents" user folders. Domain
    has about 1500 users/computers.
    How do u think, is it realy possible to migrate such a domain to a new one with minimum downtime and user interruption? Maybe someone has already done something like that before? Please, write that here, i promise that i won't ask for instruction from you,
    maybe only some small questions :)
    Now I'm studying ADMT manual for sure.
    Thanks in advance, 
    Dmitriy Titov
    С уважением, Дмитрий Титов

    Hi Dmitriy,
    I got a task to migrate existing Active Directory domain to a new froest and a brand new domain.
    How do u think, is it realy possible to migrate such a domain to a new one with minimum downtime and user interruption?
    As far as I know, during inter-forest migration, user and group objects are cloned rather than migrated, which means they can still access resources in the source forest, they can even access resources after the migration is completed. You can ask users
    to switch domain as soon as the new domain is ready.
    Therefore, there shouldn’t be a huge downtime/interruption.
    More information for you:
    ADMT Guide: Migrating and Restructuring Active Directory Domains
    https://technet.microsoft.com/en-us/library/cc974332(v=ws.10).aspx
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • Migrating to new Active Directory Domain

    Hey people,
    I have a OSX Server here at a school which I need to move from an old Active Directory domain to a new one. We are having a restructure of our IT System and 90% of our equipment is PC but have a few macs on site for the specific tasks that we need them to do.
    The OSX server was set-up 2yrs ago by some consultant which charged an arm and leg, so its up to me this time round to configure it. It is not a vital part of the IT system so a rebuild is possible, but the quicker it can moved across the better.
    So my question is. Is it easier to "modify" the settings on the OSX Server to the new domain? i.e. change field names in Server Admin. or rebuild the server from scratch?
    Our configuration is Apple clients authenticate to AD, but grab all their settings and OSX group membership from the OSX server. I have here a guide called "Leveraging Active Directory on OSX" would this be useful if I need to rebuild the server? I am fairly confident that I wont run into too many problems, but things like kerberos settings, etc may confuse me. Any help would be excellent!

    Hi,
    perform homogeneous system copy if you migrate from one server to other.
    find document at service.sap.com/systemcopy
    if you just add you local system to domain then look following
    Domain name change for an existing SAP System
    regards,
    kaushal

  • Problem with Restructuring of the cube + IO access mode is Direct IO

    Hi All,
    There is a problem faced with the restructuring of the cube.
    Application Name: Sample
    IO Access Mode: Direct I/O
    Operation peformed: Copying of Outline from one server (Development) to other server (QA). Performed verification of the outline & saved. And while closing the outline window, it was asking for the restructure and started restructuring of outline.
    In this case, some exceptional files are created at the log directory & ABNORMAL SHUTDOWN of application is happening.
    Below are the entries in the application log file:
    *Restructuring Database [AtLaunch]*+
    Essbase Internal Logic Error [7333]+
    *Exception error log [E:\Hyperion\logs\essbase\app\Sample\log00011.xcp] is being created...*+
    Exception error log completed E:\Hyperion\logs\essbase\app\Sample\log00011.xcp please contact technical support and provide them with this file+
    RECEIVED ABNORMAL SHUTDOWN COMMAND - APPLICATION TERMINATING+
    Please let me know the below information:
    1.What will be happened to the Outline?
    2.What is the reason of this kind of error and how to resolve this?
    3.During the restructuring process, what will be happening if the access mode of application is in Direct I/O?

    Exception error log [E:\Hyperion\logs\essbase\app\Sample\log00011.xcp] is being created...^^^You're on your eleventh crash? Not Good. Get that .xcp file to Oracle Support forthwith.
    FWIW, some people swear by Direct I/O for its performance -- I was burnt, badly, by it in the past and never use it.
    Copying of Outline from one server (Development) to other server (QA). Performed verification of the outline & saved. And while closing the outline window, it was asking for the restructure and started restructuring of outline.^^^You used the Migration Wizard? Did a Save As? Changed the density (my guess if BSO)? You did something that caused Essbase to do a restructure. A simple Save without changes shouldn't require that, I think.
    Regards,
    Cameron Lackpour
    P.S. I have seen saves that do things like change BSO density (depends on whatever bugs your version has) and resulted in massive blocks. When Essbase tried to save -- KABOOM!
    Edited by: CL on Apr 2, 2012 7:51 AM
    Duh, if you're using Direct I/O, it is BSO.

  • Required HD space for DB Restructure

    Hi All
    Running Essbase 11.1.2.1
    Have searched around for a definitive answer to this and cant seem to find one, hoping someone here can provide some clarity.
    For arguments sake, if I wanted to carry out a 'RESTRUCTURE' through EAS for a 50gb database, how much free space would be required for this to complete succesfully?
    From a probably over simplified view (assuming the data needs to land on ora-ess01, have some "jiggery-pokery" and then go back to the DB), I would imagine that something around 150% of the file size would be sufficient, so approximately 75gb free.
    We are being advised by our consultants to have 250%, which would mean 125gb...im assuming they are correct, as they clearly know more than us mere mortals (me), but if anyone could shed some light on this it would be appreciated.
    Thanks
    JB

    You don't mention if this is ASO or BSO. I'll assume BSO. For that you need at least the size of your .pag, .ind, .otl, .esm files combined as it makes copies of all of these. a little extra would be food. Of course that would be the minimum and if only one database gets restructured and does allow for any DB growth.
    With ASO, you need more space as it creates a copy in the temp directory to as well as the .dat file and so I've heard the recommendation of 2 times your dat file, but I think you could get away with less.
    I'm not sure what other factors your consultant is factoring in as I don't know your environment.
    I should mention this is for a simple restructure, if the restructure is being done by exporting the data, clearing the DB and reloading, then much more disk is needed as the data would not be compressed on disk in the export.
    Edited by: GlennS_3 on Jan 23, 2012 7:45 AM

  • RH10 Parent/Child Directory Structure

    I know that you cannot embed a child project within a child project. When the parent displays in the browser, Child Project 1 is on the TOC, but Child Project 2 simply isn't in the Child Project 1 book.
    Now I have a situation where I am trying to restructure my help system to display child projects in multiple different ways for different audiences. We've already had the discussion about why I don't combine 40,000 topics, video files and PDFs into one project and use categories to sort them - the project is too big. Robohelp only handles 2 gigs of files in one project before it crashes. So that is not an option.
    What I did was create multiple parent projects, and publish each child project to multiple destinations using multiple single source layouts. Each parent displays only the child projects that audience needs to see. That part works fine.
    However, now I have a problem on the server that reminds me of embedding child projects into child projects, and I'm wondering if I can even do this.
    A parent project apparently needs to be on the root of the server, or its child projects don't display. In other words, you CANNOT put a parent project into a folder. That means you cannot separate the parents from one another because they all need to be in the same location. So, you cannot have multiple parent projects on one server - you actually need a separate server for each one.
    Am I correct about this? That's what I found out when I tested the scenario. I just want to verify this with someone before I send my progress report.
    Thanks

    Thanks but he only covers the design aspect that I already have up and running - I've already created the multiple parents and generated multiple outputs for the various child projects. Phil says he has different "output folders" but these would have to be on the C:\ drive - that part works.
    The rest of what he describes is what I'd envisioned for the project structure, but in actual fact it doesn't work. The instant I publish a parent project into a folder on the webserver, one level down from the directory root, the child projects do not display on the Table of Contents. They only display at folder Level 2, never at Level 3 , which is where they would be if you embed a child project into another child project - Parent Level 1> Child Level 2 > Child Level 3 - or Level 4, which is where they are in a mergedProjects folder.
    Let's call the webserver "S". Your published output must be to S:\ - the "root," or "Level 1" -with your start file as S:\index.htm and the project files at that same level (except for a few folders, like SSL).
    If you publish to S:\Parent1\index.htm, and publish all its child projects to S:\Parent1\mergedProjects\Child1\index.htm, the child project files are at Level 4 and don't display. Only the parent displays, without any children ot its Table of Contents.
    My problem is that child projects don't display on the server because the parents apparently all need to be published to the root directory - Level 1. Phil doesn't say how he managed this. If he actually did this successfully, I'd be interested in knowing how because I'm out of ideas.
    If I publish all parents to the same directory root, only the first one in alphabetical order displays, and the rest of the parents are lost. So it appears that you need multiple servers with multiple roots to pull this off.
    My question is : Do parent projects HAVE to be at the root of the webserver directory structure in order to display child projects? My testing says "Yes." I'm just looking for someone to confirm that Robohelp isn't coded for the design Phil and I had envisioned so I can go to the executive team with that information.
    Or, if Phil actually successfully did this, can he please tell us how? What were his target paths to the webserver, and how did he structure the folders and output on that webserver?

  • Refresh System Data in Integration Directory PI 7.11

    Hey,
    I have setup a new technical system and a business system in SLD, but now I still can't find it in Integration Directory.
    I knew from the later PI Version, that there was an option to transfer SLD data to integration directory, but now I can't find it
    anymore.
    Can anybody help?
    Thanks!
    Michael

    I have setup a new technical system and a business system in SLD, but now I still can't find it in Integration Directory.
    I knew from the later PI Version, that there was an option to transfer SLD data to integration directory, but now I can't find it
    Tools (or right-click in ID) --> Assign Business System --> follow the wizard...it will assign the business system from SLD to ID

  • SharePoint Foundation Active Directory Problem

    Hey,
    I have a problem with the Active Directory connection to SharePoint Foundation.
    My Situation looks like this:
    I'm working on a kind of project controlling plattform. Each of our customers has its own site. Also each customer has an account in our Active Directory. For the administrative part, we have a list which contains some infos of the customer, the url to its
    site and the contact person.
    I wrote an import-script which creates a site and a new item in the list. To put the contact person in the list-item, I use a code-snippet like this:
    try
    user = web.EnsureUser(loginName);
    catch (Exception ex)
    throw new Exception("LoginName " + loginName + " not found");
    Now the problem is, that the try/catch block fails too often which means: SharePoint doesn't know the loginNames of some of our customers.
    Why does SharePoint not know maybe 1/5 of all our customers? All of them have an account in our active directory, none of them ever logged in the SharePoint (at the time they even doesn't know, that they have a SharePoint site for this project).
    I searched the internet for the problem but all I found where questions related to the synchronization of ad-properties to SharePoint Foundation. But I don't want to sync the phone-number or something like that - I want SharePoint only to know all the loginNames
    of our customers, not only 1/5 of them.
    How do I achive this, what am I doing wrong?
    Thank you!

    web.EnsureUser has nothing to do with the UPS at all. This has nothing to do with synchronisation (it does have a role but it's a maintenance one and nothing to do with authentication.
    The simplest answer is that the login names are being entered wrongly. Having said that there are a few areas you can look at to try to identify the problem:
    Does it fail repeatedly for the same username? Can you add that user to the site manually using a people picker control and if so will the script work afterwards? Are there any trends in the user accounts that SharePoint cannot find?

  • Delete file from directory which

    Hi ,
    I want to delete files from a directory in  Application server.
    I have the file name as fn_13/07/2007.txt
    Have a condition that files should be deleted which are less  than 10 days.
    Is there any function module to do this.
    Thanks in Advance.
    Regards,
    Indhra

    Hello Indhra,
    These methods may help ( from CL_GUI_FRONTEND_SERVICES )
    <b>DIRECTORY_BROWSE</b>     Static Method     Public          Shows a Directory Selection Window
    <b>DIRECTORY_CREATE</b>     Static Method     Public          Creates a Directory in the Client
    <b>DIRECTORY_DELETE</b>     Static Method     Public          Deletes a Directory in the Client
    <b>DIRECTORY_EXIST</b>     Static Method     Public          Checks if a directory exists
    <b>DIRECTORY_GET_CURRENT</b>     Static Method     Public          Returns the Current Directory
    <b>DIRECTORY_LIST_FILES</b>     Static Method     Public          Lists Files in a Given Directory
    <b>DIRECTORY_SET_CURRENT</b>     Static Method     Public          Sets the Current Directory (Do NOT Use)
    <b>ENVIRONMENT_GET_VARIABLE</b>     Static Method     Public          Gets an Environment Variable
    <b>ENVIRONMENT_SET_VARIABLE</b>     Static Method     Public          Sets an Environment Variable
    <b>EXECUTE</b>     Static Method     Public          Starts an Application or Opens a Document in the Client
    <b>FILE_COPY</b>     Static Method     Public          Copies a File
    <b>FILE_DELETE</b>     Static Method     Public          Deletes a File

  • Delete file from directory

    Hi All,
    After uploading data from file to internal table i want delete the file from the directory. How to do this any function modue for this?
    Thanks and Regards
    Parthipan.

    Hello Parthipan
    You can use function module <b>EPS_DELETE_FILE</b> to delete the file from the application server.
    Regards
      Uwe

  • When I login to my bank, I get the message: 403 - Forbidden: Access is denied. You do not have permission to view this directory or page using the credentials that you supplied. Have new MacBook Air with Yosemite. How to solve this problem?

    When I try to login to the website of my bank, I get the following error message:
    403 - Forbidden: Access is denied.
    You do not have permission to view this directory or page using the credentials that you supplied.
    I have a new MacBook Air with OS Yosemite installed.
    What is the problem and how can I solve it?

    Some websites require a special client certficate for access. If you don't have that certficate, you'll have to contact the site operator to find out how to get one.
    Sometimes the problem is caused by a web server that is configured to request an optional client certificate. Safari treats the request as mandatory. In that case, other browsers such as Firefox and Chrome may be able to connect to the site, because they ignore the request.
    The first time you were prompted for a certificate, you may have clicked through a dialog that requested access to the Apple certificate in your keychain that is used to secure the iMessage service. In that case, you may be able to regain access to the site in Safari by doing as follows.
    Back up all data.
    Double-click anywhere in the line below on this page to select it:
    com.apple.idms.appleid.prd
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Paste into the search field in the Keychain Access window by clicking in it and pressing the key combination command-V. An item may appear in the list of keychain items. The Name will begin with string you searched for, and the Kind will be "certificate."
    Delete the item by selecting it and pressing the delete key. It will be recreated automatically the next time you launch the Messages or FaceTime application.
    The next time you visit a site that prompts for an optional client certificate, cancel out of the prompt. You may have to do this several times before the server stops asking.
    Credit for this idea to Christian Braukmueller of SAP.

  • Open Directory: "Unable to load replica list"

    I'm currently running Mavericks Server 3.1 on my Mac Mini at the home network. I had some issues with the client logins and went for local accounts on the clients instead. Today I finally wanted to fix the problem and go all Open Directory. But the Open Directory service was shut off when I opened the server software. I tried to turn it on but got a message saying "Unable to load replica list". I updated the software to the latest 3.1 but are still having the same issue. I never had any replica list, I only had a standard one from the start, but it seems I can't do anyhing there now.
    LDAP log:
    Mar 21 22:48:38 xxYY.com slapd[172]: @(#) $OpenLDAP: slapd 2.4.28 (Nov 12 2013 12:02:47) $
    [email protected]:/private/var/tmp/OpenLDAP/OpenLDAP-491.1~1/servers/slapd
    Mar 21 22:48:38 xxYY.com.com slapd[172]: daemon: SLAP_SOCK_INIT: dtblsize=8192
    Mar 21 22:48:39 xxYY.com.com slapd[172]: TLS: found identity in keychain using identity preference.
    Mar 21 22:48:42 xxYY.com.com slapd[172]: slap_add_listener: opened additional listener 'ldaps:///'
    Mar 21 22:48:42 xxYY.com.com slapd[172]: bdb_monitor_db_open: monitoring disabled; configure monitor database to enable
    Mar 21 22:48:44 xxYY.com.com slapd[172]: slapd starting
    Mar 21 22:48:44 xxYY.com.com slapd[172]: daemon: posting com.apple.slapd.startup notification
    Mar 21 22:48:54 xxYY.com.com slapd[172]: => bdb_idl_delete_key: c_del id failed: DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock (-30994)
    Mar 21 22:48:54 xxYY.com.com slapd[172]: conn=1022 op=3: attribute "entryCSN" index delete failure
    Mar 21 22:50:02 xxYY.com.com slapd[172]: => bdb_idl_delete_key: c_get failed: DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock (-30994)
    Mar 21 22:50:02 xxYY.com.com slapd[172]: conn=1042 op=3: attribute "entryCSN" index delete failure
    I don't understand any of this other than the obvious failure words. Can anyone understand this and help me here?

    This procedure is a diagnostic test. It makes no changes to your data. If you have more than one user account, you must be logged in as an administrator to carry out these instructions.
    Please triple-click anywhere in the line below on this page to select it:
    sudo /usr/libexec/slapd -Tt | pbcopy
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing the key combination command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting. You'll be prompted for your login password. Nothing will be displayed when you type it. If you don’t have a login password, you’ll need to set one before you can run the command. You may get a one-time warning to be careful. Confirm. You don't need to post the warning.
    If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. Log in as one and start over.
    Wait for a new line ending in a dollar sign ($) to appear below what you entered.
    The output of the command will be automatically copied to the Clipboard. If the command produced no output, the Clipboard will be empty. Paste into a reply to this message.
    The Terminal window doesn't show the output. Please don't copy anything from there.

  • Mail wont open says home directory is full. HELP?

    I dont know what happend but i restarted my powerbook today and when i got back to the desktop and tried launching mail it gives me the following message.
    MAIL CANNOT UPDATE YOUR MAILBOXES BECAUSE YOUR HOME DIRECTORY IS FULL.
    You must free up space in your home folder before using mail. Delete unneeded documents or move documents to another volume.
    what happend to cause this and what can i do to fix it.
    Thanks

    If your hard drive has at least 5GB of free space available, quit Mail first and using the Finder go to Home > Library > Mail > Envelope Index. Move the Envelope Index file to the Desktop.
    Afterwards, copy the Mail folder and place the copy on the Desktop for backup purposes.
    Launch Mail and you will be prompted to import all mailboxes available in the Mail folder at Home > Library > Mail.
    Select OK and allow the import process to complete and a new Envelope Index file will be created automatically by Mail within the Mail folder.
    After confirming all mailboxes were successfully imported and are available, you can delete the copy of the Mail folder and the old Envelope Index file from the Desktop.
    This should resolve the problem.

Maybe you are looking for

  • How do I revert to iTunes 11.0 or earlier?

    iTunes used to work well with my iPad1, iPhone5, and two iPod5's.  I would periodically synch them in order to create a backup, or transfer any new apps.  Ever since I upgraded to iTunes 11.1.4.62, iTunes will no longer recognize any Apple device.  W

  • My power button is not working

    hi , umm.. the power button at the top of my phone (the lock button) isn't working.. i think i pressed it down to hard and it's jammed and mumy flash isn't working.. is there anyway i can go to the apple store and the can repair it ?

  • Multi-mapping....2nd mapping not executing

    Hi all.. I am doing Proxy to file scenario.... I am using multi-mapping in this.. one source..... 2 targets i am triggering the taregt based on a field value( using equalsS and IF) if i am testing it with single value then the mapping is success and

  • Can Acrobat create forms which pull info from Excel for the fields?

    Any suggestions on how to create multiple documents using fields from an Excel spreadsheet? I need to create over 400 of the same document but need personal information in each one, so not sure if this is something which I can do with Acrobat or if I

  • Firefox will not allow cookies?

    I'm really not sure what's going on with my Firefox. I'm trying to use Google Scholar and it keeps telling me that I need to enable cookies to use it properly (add libraries, change settings etc). By default, my cookie settings are: Use custom settin