Project files hierarchy

Hi all;
i was not faithfull for java files hierachy and my projects was based on simple jsp files.
İ want to create my own java class files and use in my project now.But how can i make the hierarchy on files.
for example: com.java.myproject.mail , com.java.myproject.sql etc...
how i must write this and how i must set the folder's index.
i dont exactly know what i must call this situation so i couldnt search it somewhere.please let me know about any article and please give me link to learn on this more..
Thank you
Burak

http://java.sun.com/docs/books/tutorial/reallybigindex.html#getStarted

Similar Messages

  • Recommended File Hierarchy

    What is the recommended project file hierarchy? I tried:
    -site
    --cgi-bin
    --jsfiles
    --stylesheets
    --templates
    etc.
    but when I tried to save a template file, I got a dialog
    saying it should be outside of the root or remote updates might not
    occur correctly (or something like that). So, what is the
    recommended project file hierarchy? What works best? Is it
    documented anywhere? I read the getting started doc, but it blows.
    GN

    Here is a hard and fast rule -
    Every file used by the site must be within the hosting
    account's root.
    Here's a loose guideline -
    Every file used by the site *could* be placed within the
    site's root.
    Here's a final rule -
    All HTML, js, CSS, DWT, LBI, and image files *MUST* be placed
    within the
    site's root.
    When you save a file, place it anywhere you want within the
    root of the
    site, unless it's a template file or a library item file.
    When you save
    templates, use FILE | Save As Template, and DW will take care
    of this for
    you.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "gnubie" <[email protected]> wrote in
    message
    news:e2lnjh$ifs$[email protected]..
    > What is the recommended project file hierarchy? I tried:
    > -site
    > --cgi-bin
    > --jsfiles
    > --stylesheets
    > --templates
    > etc.
    >
    > but when I tried to save a template file, I got a dialog
    saying it should
    > be
    > outside of the root or remote updates might not occur
    correctly (or
    > something
    > like that). So, what is the recommended project file
    hierarchy? What
    > works
    > best? Is it documented anywhere? I read the getting
    started doc, but it
    > blows.
    >
    > GN
    >

  • 10.0.9 to 10.11 update issues - re: project files not updating

    #1 - I understand the function of libraries/events/projects in the 10.1+ version of Final Cut X, so this is not a case of not being able to identify projects contained within an event.
    FCPX simply refuses to update projects created in an older version (which is unfortunate).
    Events are imported without issue.  
    Is there some type of workaround?  I am just getting an error that quits cancels the update process without giving me reason.
    40 minutes of searching through google lead me to posing this question.
    Thanks

    Solved the issue:
    I had multiple folders/subfolders which contained all of my old projects (this hierarchy was created through pre 10.1 file system organization).  the point is I just moved all of the project folders to the "Final Cut Projects" folder at the root of the drive and all was fine.

  • Project Files & Saving

    There is often confusion between Saving a Project and Exporting/Sharing a Video from that Project.
    Let’s look at what a Project file is. In PrE, this is a .PREL file. In PrPro, it’s a .PRPROJ file. These are just XML database files, that define the Project, show where the media used in that Project was located the last time that you had the NLE (Non Linear Editor) program and that Project, open. Then, there are instructions as to what one has done to those media Assets. There is no media, of any sort included in it.
    If you open it up in WordPad, or an XML editor, it looks something like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <PremiereData Version="3">
    <Project ObjectRef="1"/>
    <Project ObjectID="1" ClassID="62ad66dd-0dcd-42da-a660-6d8fbde94876" Version="20">
    <IsProjectVideoTemplate>false</IsProjectVideoTemplate>
    <VideoPreviewCompileSettings ObjectRef="108"/>
    <NextID>1000000</NextID>
    <NextSequenceID>2</NextSequenceID>
    <CustomCompileSettings ObjectRef="103"/>
    <StillCompileSettings ObjectRef="93"/>
    <MovieCompileSettings ObjectRef="88"/>
    <ProjectSettings ObjectRef="77"/>
    <RootProjectItem ObjectRef="2"/>
    <AudioCompileSettings ObjectRef="98"/>
    <Node Version="1">
    <Properties Version="1">
    <MZ.NextSequenceIndex>2</MZ.NextSequenceIndex>
    <Media.View.Normal>1</Media.View.Normal>
    <ColumnListContents.Version>3</ColumnListContents.Version>
    <Project.Sort.Direction>0</Project.Sort.Direction>
    <Project.Sort.ColumnIndex>0</Project.Sort.ColumnIndex>
    <Project.Sort.Type>0</Project.Sort.Type>
    <Project.ListView.Thumbnail.Size>1</Project.ListView.Thumbnail.Size>
    <Project.ListView.Thumbnail.State>true</Project.ListView.Thumbnail.State>
    <Project.ContentView.LastViewed>1</Project.ContentView.LastViewed>
    <Columns.List Version="3">
    <Columns Version="1">
    Note: in the actual Project file, there will be much indentation, that does not show up above.
    There is much, much more, but this should give you an idea. You cannot "play" this file with any media player. Remember, there is zero media in it, only links to that media. Also, there are only two programs that can do anything but allow one to edit the various text lines in a Project file. PrPro can open both types, .PREL’s and.PRPROJ’s, with a few exceptions. PrE can ONLY open .PREL files and will give you an error that "this Project was created in PrPro. Use that program to open this Project." There are no exceptions to this, though who knows if PrE 8 will be able to open .PRPROJ files?
    Now that we know there is no media in these files, what good are they? Well, they contain links to the location of the media and also instructions on what one has done to that media. They are the instructions for PrE and PrPro, with descriptions of all edits. They are the working tools of both of these NLE programs. They also must be set up, before one can do anything else in these programs.
    As one works with the Project, they will want to Save their Project files, or any edits will be lost. There are basically three ways to this, plus one additional variation.
    First, there is Save. It records all operations and instructions to the previously created Project file, overwriting the previous version. I do this often and usually use Ctrl+s for this purpose.
    Next, we have Save_As. This does a Save, but with two variations: it allows one to set a new name, or location for this Project file. I use this and increment the Project file’s name, as I go. This does NOT overwrite the existing Project file, but writes another one, with the name, or location that the user assigns. The second part of this, and quite important, is that not only does it Save with the new name/location, but it keeps this new Project open in the NLE. You are now working on the new version, and not the original. To me, this is especially useful, if I want to leave the original version untouched, in case I need to go back to it at some date. After a day of editing, or after some big changes, I’ll make sure to do this, so I have the original, plus this newly edited version. By incrementing by 1, I know that if I am working with [Project Name]_05, it came after [Project Name]_04, so it is newer.
    Then, we have Save_As_a_Copy. How does this differ from Save_As? The biggest difference is that it does not overwrite the original, allows one to change, or increment, the file name/location, but it does NOT stay open in the program. You are still working with the original version, and this Save_As_a_Copy version is tucked away, in case you need it at some time. I use this, when I just want a record and a backup of that moment for possible later use. It’s more of a "snapshot" of how things were at that moment.
    Last is the "variation" that I mentioned. This is AutoSave. Depending on one’s Preferences, these will be stored in the AutoSave folder in the Project’s hierarchy. By default, one will have five of these and they will reflect that they are AutoSave files. Note: one must do a first Save in an editing session to start AutoSave, which will make an AutoSave copy at the time interval set in Preferences. Also, Premiere is pretty smart. It will NOT just AutoSave every 5 mins (or whatever time interval is set in Preferences), unless some work has been done. This is a good thing, as AutoSave will overwrite the previous files in that folder. If you go to lunch, if it did not keep track of edits being done, one would end up with 5 exactly identical copies of the same file in AutoSave. This would not be that useful.*
    Now, because it does overwrite your previous AutoSave files, you need to pay close attention, should you ever need to use an AutoSave Project file. By default, there will be five files, _001, _002, _003, _004 and _005. However, because of that overwriting (basically FIFO), you need to change the View in Windows Explorer to Details, and sort by Date/Time, to make sure that you are getting the latest version. Remember, _003 could well be newer than _005. Watch out for this, and do the Sort on Date/Time to be sure.
    Hope that this helps one distinguish between Project files and Video FROM that Project, plus give some tips on Save, Save_As, Save_As_a_Copy and also AutoSave.
    Hunt
    * It has come to my attention that as of PrPro CS3, things have changed with Auto-Save. One does not need to do an initial Save to start Auto-Save, but if left Open, though no editing is being done, the Auto-Save will keep on overwriting the files at the set interval, say every 5 mins.. What this means is that if you leave a Project Open for 25 mins., have the number of Auto-Saves at the default of 5 and the default of every 5 mins., you will have 5 copies of the same Project file. I do not know what Adobe was thinking here, as Auto-Save should not be active, if no editing is being done. I often have a Project Open, but am working in PS, AI, or Encore, so there is no editing being done in PrPro, but there soon will be. I do not want all previous Auto-Saves being overwritten with the same exact file. With PrPro CS3 or higher, I strongly recommend that one does a lot more Save_As and Save_As_a_Copy, than in previous editions, or they might be in for a rude surprise, if they went to lunch, or just left the Project Open for a half-hour.

    There is a special use for the Save, Save_As and Save_As_a_Copy, that might not be readily apparent. As we have discussed how the three differ, I will only cover this use, and the user can then choose which works for them.
    Often, an editor will work on a large Project, but need to break out segments of that Project into separate "mini Projects." The easiest way to do this is to make sure that a Save has been done for the full, large Project. Then, just Delete anything not needed in the new mini Project. This could be Clips on the Timeline, Assets in the Project Panel, or Sequences (in PrPro only). When done, just choose Save_As, or Save_As_a_Copy. If more "versions" of that large Project are needed, Open the original, repeat the Deletions, and then do the appropriate Save_As, with another name, or into another location.
    Remember, all forms of Save are for the entire Project, and not just elements of it, unless you remove all unnecessary elements.
    Hunt

  • CS5 Programs losing track of CS4 project file locations?

    A friend recently got his hands on a AE and Premiere Pro CS5, and I thought I'd give them a test drive. But when I attempted to open a few project files in both programs, they couldn't locate any of the footage, music, or other resources used in the projects. I'm probably missing something simple here, but does anyone have an idea as to why (Premiere, as we're on those fourms) would be acting like this? It would really be a pain to have to locate everything manually if I were to upgrade to CS5.
    Thanks

    For future reference, you can Open your PRPROJ file in NotePad, or WordPad, or similar, and see what the Path is, that PrPro "thinks" should be linked to.
    If you do any editing of the XML in the PRPROJ file, be very sure to Save_As, so as to not overwrite your original PRPROJ file, in case you mis-type.
    Good luck,
    Hunt
    PS - I agree with Craig's reply. PrPro tries to make locating Moved/Renamed Assets easy. Find is a great tool to use. Yes, it's easiest if one has some clue as to where they Moved the files to, as it saves navigation. Once PrPro has been pointed to that missing Asset, it will then search that folder for any more in that Project and link to them. If you have an intricate sub-folder hierarchy, you will need to point to each of those sub-folders.

  • How to import a XSD schema files hierarchy (=mulitple dependent XSD files)?

    Assume I have a XSD schema file hierarchy in my local directory
    D:\bpelprojects\projXSDs\proj123\*
    The "main" XSD
    D:\bpelprojects\projXSDs\proj123\main.xsd
    imports internally other XSDs (files) from other directories. So we have a whole set of depending XSD schema files.
    Now I want to import the top-most XSD main.xsd (see above) as a XSD schema for one of my BPEL process in JDeveloper. When I rightclick on "Schema" in the "Structures" pane in JDeveloper and import the main.xsd then it seems to me that the other (dependent) XSD files are NOT imported as well (or only sometimes under some circumstances). They are at least not copied to the BPEL project folder
    How can I assign a hierarchy of XSD files to a WSDL otherwise WITHOUT to copy and enter them all manually and individually in the WSDL?
    Peter

    HI,
    Make sure that you use all the relative paths while referring those XSDs in the BPEL/XSD files. Otherwise you will see the problems ar runtime.
    As a jeneral rule... if the schemas are public put them in system/xmllib directory and refer them using the localhost:7778/xmllib/...
    or copying them into the BPEL folder and referring them with relative paths like "main.xsd" or abc/sub.xsd.
    If you are ferering the main inside the sub then ../main.xsd should be mentioned in the sub.xsd.
    Hope this makes clear.
    -- Khaleel

  • My premiere project file size just went from 190MB to 5.61GB... and now it won't open! Anyone know how this happened?

    My premiere project file size just went from 190MB to 5.61GB... and now it won't open! Anyone know how this happened? Or how to prevent it from happening again? Thankfully I saved a backup project of the 190MB file size.

    warp stabiliser?

  • Using iMovie to save project files to external hard drive?

    I have a MacBook Pro with very limited space on the internal hard disk drive. I also have a few FireWire external hard drives.
    A friend recently gave me his Hitachi DZ-HS300A mini-DVD camcorder so I could copy footage off of it, load it into my machine, edit it and upload it (several minutes) to YouTube. He can't do this because he lives in a remote area where there is no broadband yet.
    I almost never use iMovie. I was wondering if there is a way to save the project file to an external FireWire drive so that there will be no large video files clogging up my laptop's internal hard drive. Can this be done? Is there an iMove preference I have to change?

    You should generally leave the iMovie Project file on the boot drive. The Project File is mainly a small text file with in and out points.
    The iMovie Event file is where the video assets are stored. You can store events to an external hard drive in two ways:
    1) As you import from the camera, you will see an import screen. You can select the external drive on the import screen
    2) If the event is already on your internal drive, you can click View/Events By Volume. Now you can drag and drop the event to the external drive in the Events SOurce List in iMovie.
    For your external drive to be visible to iMovie, it must be formatted HFS+ or HFS+ (journalled).

  • "Unable to open project file" Error Message

    I pulled an all-nighter (13 hours of editing) last night to create a critical project in FCE 3.5.1 on my Intel iMac running 10.4.11 then left this afternoon for a few hours and shut down my machine. Came back tonight and tried to open the project (which I saved on my Maxtor 1 TB external drive along with all of the scratch disk files). To my absolute panic, it won't open the file now with an error message that simply says, "Unable to open project file". HELP!!!! Anyone have any suggestions?!?!

    In the past I found (and reported to Apple Feedback) the same bug Steve reports here, but I should recall that the problem:
    - only appeared in PAL projects (probably not the case for kscritch) - never heard of it in NTSC
    - was consistent in FCE 3.x, not so in FCE 4
    I made tests importing .psd images with transparency into PAL projects using FCE 4, and I had various behaviours: sometimes the project worked, sometimes I couldn't open the project again (as in FCE 3), sometimes I had error messages with inconsistent behaviour (msg like "file error", but the project opened and file was there...), etc. so I decided to do without.
    Now I only import .tif or .png images when I need transparency
    Piero

  • "Unable to Open Project File" - error

    Does anyone know how to resolve an "Unable to Open Project File" - error. I accidentally shut down my computer wrong, although Final Cut wasn't open.

    Welcome to the forums.
    The project file might have gotten corrupted. Look for the AUTOSAVE VAULT (typically in the DOCUMENTS>FINAL CUT PRO DOCUMENTS folder) and open the most recent version. Copy it to your main project folder if it works.
    If not, then try trashing your prefs with FCP Rescue.
    Shane

  • Error reading project file : no protocol

    I have followed the instructions exactly as in the j2ee tutiorial ,but, when I run asant , an error occurs:
    : Error reading project file : no protocol: ../../common/targets.xml
    Urgent!

    Could you please provide a bit more detail such as which sample you are using? Also are you using the latest version of the tutorial and have you configured your build.properties in the samples/common directory?

  • Using a JAR file as a project file

    My application allows the user to create projects. Previously, a project file was simply an XML file. Now, a project file needs to also contain many images.
    I thought it would be a good idea to simply use a JAR file as my project file.
    Since I've really never really worked with JAR files and the java.util.Jar package directly, I have a few questions.
    1) Would it be better just to simply store the images as binary in the XML file? I just spent a good amount of time making the XML file very readable so I thought it would be better to keep the images separate while still having a single "project" file.
    2) Is there anything inherently wrong with the way I'm working with the JAR file in the code below?
    Simple XML file:
    <?xml version="1.0" encoding="utf-8"?>
    <!DOCTYPE project [
      <!ELEMENT project (img+)>
      <!ELEMENT img EMPTY>
      <!ATTLIST img src CDATA #REQUIRED>
    ]>
    <project>
         <img src="blah.jpg"/>
    </project>
    import java.io.*;
    import java.util.jar.JarFile;
    import javax.xml.parsers.*;
    import org.xml.sax.*;
    import org.xml.sax.helpers.DefaultHandler;
    public class LoaderTest {
        private String imageName;
        public LoaderTest() {
            InputStream i = null;
            JarFile jf = null;
            try {
                jf = new JarFile("project.jar");
                i = jf.getInputStream(jf.getJarEntry("project.xml"));
                // Here's my simple XML parser to load the project and images
                SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
                parser.parse(new InputSource(i), new DefaultHandler() {
                    @Override
                    public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException {
                        // Right now we only care about images
                        if (qName.equalsIgnoreCase("img")) {
                            imageName = attributes.getValue("src");
                // Load the image from the inputstream
                java.awt.image.BufferedImage img = javax.imageio.ImageIO.read(jf.getInputStream(jf.getJarEntry(imageName)));
                // Display the image in a JFrame
                javax.swing.JFrame f = new javax.swing.JFrame();
                f.setLayout(new java.awt.BorderLayout());
                f.setSize(800, 600);
                f.getContentPane().add(new javax.swing.JLabel(new javax.swing.ImageIcon(img)), java.awt.BorderLayout.CENTER);
                f.setDefaultCloseOperation(javax.swing.JFrame.EXIT_ON_CLOSE);
                f.setVisible(true);
            } catch (ParserConfigurationException ex) {
                ex.printStackTrace();
            } catch (SAXException ex) {
                ex.printStackTrace();
            } catch (IOException ex) {
                ex.printStackTrace();
            } finally {
                // Do our best to close the input streams
                if (i != null) {
                    try {
                        i.close();
                    } catch (IOException ex) {}
                if (jf != null) {
                    try {
                        jf.close();
                    } catch (IOException ex) {}
        public static void main(String[] args) {
            new LoaderTest();
    }Thank you!

    1) I also think it's much better to keep your images separate from your XML, this prevents a lot of in case you just want to read XML data
    2) What's exactly going wrong here? For the project.xml, make sure it's not inside a directory within the JAR file, or else the variable i will be null. Otherwise it looks fine..

  • I was working on a project a few days ago and now I'm not getting any audio or visuals out of it. In the project file the screen went grey. Not sure how to fix this. I'm new to iMovie, but the program seems easy to use and my Mac is new. Any help?

    I used to use Movie Maker and it would be able to handle lots of file uploads and big projects. I figure iMovie can do the same since it's newer and it's on my iMac. I was working on a project for a few months, it was working fine up until about a few days ago when the project file just stopped working. Not getting any audio or visuals and the screen went grey. I hope to not lose the project file as I've spent a lot of time on it. The project will still show up in iMovie, but it won't play. Other project files will, but this one won't for some reason. It's my first time using this program and I assumed it would be fine, but now it's causing me big problems. Anyone else run into a similar problem?

    But it is I jsut can sync, back up files, or anything becuase its stuck at this screene and wont do execute when i click either of those button

  • Need help badly. project file wont open. saying damaged file or may contain outdated elements. please help

    project file wont open. damaged file or contains outdated elements message. i believe its an XML error but i dont know how to fix it. please help

    As a happy user of the Matrox RT.X2 for many years, and later an equally happy user of a Matrox MXO2, I can say from experience that it is highly unlikely that this problem has anything to do with the Matrox hardware!
    Can you open a new blank project, and save it?
    If you cannot import your faulty project into a new project, can you import the sequence from your faulty project?
    Have you tried clearing the Media Cache, clearing your preferences, etc. - all among the techniques used to resurrect a Premiere Pro project that has gone bad???

  • How to change default value in "Project file" dialog

    I'm new to Labview, and I've encountered an example with a dialog that allows to define a path to a file.  If I open the properties on the block diagram of this block the name of the block appears to be "Path Properties: Project file:"   The default value points to a different place than where the file installed and the VI won't run untiI I change the path.  If I save and open the file, it doesn't remember the change.  When the vi is running I can right click the text and there is an option to reinitialize to default.  I've rooted around all over the place and can't find where this can be set or changed.  How do I change this? 

    On the front panel, change the control to the desired value.
    Now, right click on the control, select Data Operations and Make Current Value Default.
    -Matt Bradley
    ************ kudos always appreciated, but only when deserved **************************

Maybe you are looking for