directory-structure

How does the maven file structure work?

We are planning on restructuring a complex project with many modules/pieces, what ever you wanna call it. In order to move toward a standard directory structure, we would like to adopt the maven file structure. So the big question is: Can anybody provide a description of the maven file structure, where we don't have to dig through all ...

What is the best way to determine the path to the ISV directory?

MSCRM 4.0 Problem: I'm currently storing xml files in the ISV directory along with my web applications. From a plugin (or potentially a seperate app), I need to find an easy way to navigate to the ISV directory to read these xml files. This routine will be called extremely often, so processing minimization should be a strong considerat...

Java interfaces directory structure?

Should interfaces in Java reside in their own directory? Or should both the interface and its implementation be placed in the same directory (package)? Thanks. ...

organize source code with code on different platforms

if i have csharp code solutions in multiple platforms (winforms, asp.net mvc, asp.net, wpf, etc) but i also have lots of shared code used in more than one of the above platform, what is an ideal way to organize your code in source control. right now i have: Root -- Winforms -- WPF -- Silverlight -- Asp.netmvc -- Shared ---- Shared1 --...

Simple mod_rewrite and website dir structure

I am making a site with photo albums for agents. Each agent has his folder with .css file. Each agent dir has album folders with index.php and .css /example.com/ /agent001/ agent001.css /000005/ index.php main.css /photos/ aaa.jpg bbb.jpg /000006/ index.php ...

HTML Document Naming for site sub-pages in sub-directories

I'm working on a site redesign, and part of the task at hand is the structure of the site. Currently the site uses a CMS called Kintera that gives tragically unusable URLs (the site is http://www.helpcurenow.org). Part of the initial strategy we are approaching is the structure of the redesign. Our plan is to have a subdirectory for eac...

Loading WPF satellite resources dynamically

Hello! I've read about satellite-assemblies being used in WPF localizations. However, I would like to ask if there is a way to load the satellite-assemblies without following the pre-defined directory structure that depends on the language (ex. If the system language is English, the WPF application looks for the satellite-assembly insid...

Python imports with different directory structures

I'm working on a project where all the code in the source tree is separated into module directories, e.g.: modules/check/lib/check.py modules/edit/lib/edit.py During installation, the Python files are put in the same directory program_name under Python's site-packages. All the modules therefore use the syntax import program_name.edit....

iPhone Referring to Resources in Seperate Directories

This question tells how one can create directories in your resources path. Once created, how does one reference these directories? I have created an html directory with a structure for my internal pages, now I want to load the index.html file from the html directory. Thus, I'll need the file path to it. I can just use: NSString *filen...

Unit Testing with Complex Directory Structure

I am trying to use test-driven development for an application that has to read a lot of data from disk. The problem is that the data is organized on the filesystem in a somewhat complex directory structure (not my fault). The methods I'm testing will need to see that a large number of files exist in several different directories in order...

Listing directory contents using C and Windows

I'm looking to list and store the contents of a directory in a struct using C on Windows. I'm not necessarily looking for anyone to write out the code I'm looking for, rather point me in the right direction when it comes to which library I should be looking at. I've been Googling for a few hours now and all I'm finding is C#, C++ solu...

Append number to filenames when flattening directory structure on Linux

I have a directory structure that looks like this: /a/f.xml /b/f.xml /c/f.xml /d/f.xml What I want to do is copy all the xml files into one directory like this: /e/f_0.xml /e/f_1.xml /e/f_2.xml /e/f_3.xml How can I do that efficiently on the Linux shell? ...

Is there an inbuilt way in PHP to parse a string like this: '/path/to/../../up/something.txt'

So say I have a string like so of a path $path = '/path/to/../../up/something.txt'; Is there a way built into PHP to parse it and come up with a URL without the directory ups (../) ? E.g. $path = parsePath('/path/to/../../up/something.txt'); // /up/something.txt ...

Why would this string be returning false in PHP when realpath()'d?

Here is my string $newPath = '/~new/assets/js/../packages/prettyphoto/js/jquery.prettyPhoto.js'; Now check this output var_dump($newPath); // string(64) "/~new/assets/js/../packages/prettyphoto/js/jquery.prettyPhoto.js" var_dump(realpath($newPath)); // bool(false) Does anyone know why this would be returning false on me? ...

Python directory list returned to Django template

Total Python newb here. I have a images directory and I need to return the names and urls of those files to a django template that I can loop through for links. I know it will be the server path, but I can modify it via JS. I've tried os.walk, but I keep getting empty results. ...

General graph directory structure needs garbage collection?

I can't think of an example where the reference count of a file may not be zero even when it is no longer possible to refer a directory or file. The only example that I could find for a general graph directory structure is this: (Node 1 would be the north node, Node 2 would be the node Node 1 is pointing too, and so on and so forth)...

Tool to Create Annotated Directory Structure Documentation

I've got a moderately complicated application that has been developed primarily by me, and I'm getting ready to bring a few more developers in, and I'm thinking of various forms of documentation that might be helpful. I want to communicate information about the directory structure/layout of the project so the new guys will know where t...

C - Starting a big project. File/Directory structure and names. Good example required.

Starting a new big C multiplatform project, what rules should one follow to avoid difficulties later? For example, as a new developer, I can have difficulties to navigate myself around Linux Kernel source code - which is a good example of highly evolvable but hard-to-step-in software structure with incosistent directory structure (e.g. s...

Robust Directory Manager in PHP

This is a general question. What are some techniques you employ to prevent the links in your PHP code from breaking every time you move a file or move a file into a different directory? ...

how to stop directory structure from being viewable in J2EE apps

in a J2EE app if user explicitly takes out the the ending page name then what is the best way to not show the directory structure? Example: /mycoolapp/somefolder/test.jsp /mycoolapp/somefolder/ -- this will show all the files under 'somefolder' What is the best way to redirect or show the user a page saying 'not where you belong'....