[ADF, JDev 10.1.3.1] recreate package xml file

Hi!
How do I recreate a package xml file aside from adding a Business Component (Entity or View or Service)?
I purposely deleted a package xml file as we were having problems in synchronization of our files. But now it seems that I need it back because i will generate a jar file through "the Business Components Deployment." The instruction says I need the package xml file to successfully import business components to other projects.
regards,
Anton

What mechanism are you using to refresh the page upon selection of employee in the master table . Are you using autosubmit?
[email protected] wrote:
The VO is a simple VO that has a bind parameter for Dept No in it.
Select * from emp where deptno=:dept
Now in the Page Def-> bindings folder , I've created an action binding of type ExecuteWithParams that gives param value as say 10.
and I've created an Executable that binds to this Action there by invoking it when page renders.
WHen page is rendered I get to see only employees in dept 10 which is fine and according to requirement.
Employee No | Ename | Deptno
123 Roger 10
235 Badge 10
The problem is:
In case the page is a master detail page where employee list is a Master Table and say employee's enrolled courses are the detail table
then when we select a different employee, the page is refreshed again and first employee got selected again.
For solving this i changed the Refresh Property in Executable to "prepareModel" or "prepareModelIfNeeded".
On doing that I could select employees fine without the page getting refreshed , but corresponding Detail tab does not get changed thereafter.
Hope this clears the question a bit...
Thanks
Chris

Similar Messages

  • Recreate server.xml file

    When I copy class files for a seeded application from the server to my JDev project, there are some instances where there is no server.xml file. How do I recreate this?

    Thanks both of you.
    I tried this for $JAVA_TOP/oracle/apps/okc/schema/repository/authoring/server on the Apps server. There is no server.xml file there. So, I
    1. copied all the files in the server directory to %JDEV_USER_HOME%\myclasses\oracle\apps\okc\schema\repository\authoring\server
    2. created the package oracle.apps.okc.schema.repository.authoring.server.
    3. highlighted the package in the JDev Navigator
    4. Selected all the files in %JDEV_USER_HOME%\myclasses\oracle\apps\okc\schema\repository\authoring\server and did File->Open
    The generated server.xml file is essentially empty -- it does not contain any reference to the files in the directory. Does this matter? Here is the generated server.xml:
    <?xml version="1.0" encoding='windows-1252'?>
    <!DOCTYPE JboPackage SYSTEM "jbo_03_01.dtd">
    <JboPackage
    Name="server"
    SeparateXMLFiles="true"
    PackageName="oracle.apps.okc.schema.repository.authoring.server" >
    <DesignTime>
    <Attr Name="_version" Value="9.0.3.14.00" />
    <Attr Name="_ejbPackage" Value="false" />
    </DesignTime>
    </JboPackage>
    Edited by: user522137 on Apr 2, 2009 11:23 AM
    Edited by: user522137 on Apr 2, 2009 11:36 AM

  • Parse exisitng xml file and recreate another xml file with different struct

    Is it possible in java using dom parser to parse an exisiting xml file and recreate a new xml file from data obtained by parsing old xml file.
    I checked on old forum threads and everywhere either parsing xml file has been explained or creating new xml file from scratch has been shown.
    Any examples/guidance will be appreciated....

    The general process is:
    Document dom1 = ... // the parsed document
    Document dom2 = ... // new document constructed on the fly
    Node nD1 = ... // some random node found in dom1
    // copy the node from dom1 and associate with dom2
    Node nD2 = dom2.importNode(nD1, true);
    // ... treat nD2 as a node which can now be inserted into dom2 ...
    Node otherD2 =  ... // some other node already in dom2
    otherD2.appendChild(nD2);Note, in this example the nD1 node is copied (including any sub-nodes) into a new node, nD2. You can alternately move the node from one Document to another using Document.adoptNode(), however this may fail (see the javadoc).

  • ADF jdev 11g portlet   in Weblogic Portal 10G R3?

    Is possible to build a ADF Jdev 11g portlet and deploy it in a Weblogic Portal 10g R3?

    Not with WebLogic Portal 10gR3, no, but that use case is one that will be supported in the upcoming release of WebLogic Portal, which will coincide closely with the release of WebCenter 11g.
    George

  • How to import BC4J package into JDEV project without server.xml file?

    Dear,
    I need to bring the seeded BC4J package into my JDEV OAF project. Usually to do that, once I am sure that all I need is accessible, I open the server.xml file for the BC4J that I need and I am all set - all the items from under that BC4J are brought in.
    How about if there is no server.xml file for that BC4J, for example, under oracle.apps.icx.por.req.webui, and I need to have a controller from under there in my project? Do I create this package (oracle.apps.icx.por.req.webui) manually? If I do that and then open the controller the controller is being brought into JDEV outside the package.
    Thank you.
    Anatoliy

    Sumit,
    Thank for quick response.
    Yes, I agree for the controller.
    But let's say I want to bring over some other xml staff, like some shared regions for example from under that webui. They are also brought outside the package. You have an idea?
    Regards,
    Anatoliy

  • Jdev 11g - Error while opening struts-config.xml

    Hi,
    could you help me please, I have this error when I try to open my struts-config.xml file:
    Message
    BME-99003: An error occurred, so processing could not continue.
    Cause
    The application has tried to de-reference an invalid pointer. This exception should have been dealt with programmatically. The current activity may fail and the system may have been left in an unstable state. The following is a stack trace.
    java.lang.NullPointerException
         at oracle.bm.diagrammer.shape.helper.Polyline.getExtent(Polyline.java:314)
         at oracle.bm.diagrammer.shape.BaseDiagramEdge.getExtent(BaseDiagramEdge.java:1482)
         at oracle.bm.diagrammer.util.BaseShapeSet.getExtent(BaseShapeSet.java:569)
         at oracle.bm.diagrammer.BaseDiagram.getDiagramResizeSize(BaseDiagram.java:3933)
         at oracle.bm.diagrammer.BaseDiagram$DiagramRemovePagesLockMonitor.doReleaseAction(BaseDiagram.java:2548)
         at oracle.bm.diagrammer.DistributableLockMonitor.releaseDistributableLock(DistributableLockMonitor.java:99)
         at oracle.bm.diagrammer.DistributableLockMonitor.performLockedAction(DistributableLockMonitor.java:79)
         at oracle.bm.diagrammer.BaseDiagram.performDiagramRemovePagesLockedAction(BaseDiagram.java:2581)
         at oracle.bm.addinUtil.IDEAppContext.buildDiagramImpl(IDEAppContext.java:2509)
         at oracle.bm.addinUtil.IDEAppContext.buildDiagram(IDEAppContext.java:2327)
         at oracle.bm.addinUtil.DiagAppPanel.buildDiagram(DiagAppPanel.java:50)
         at oracle.bm.addinUtil.IDEAppContext.openLoad(IDEAppContext.java:3857)
         at oracle.bm.addinUtil.IDEAppContext.open(IDEAppContext.java:3517)
         at oracle.adfdt.controller.diagram.PageFlowEditor.open(PageFlowEditor.java:82)
         at oracle.ideimpl.editor.EditorState.openEditor(EditorState.java:276)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:181)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:94)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:379)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1400)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1334)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1260)
         at oracle.ideimpl.navigator.OpenEditorController.whenOpenEditor(OpenEditorController.java:41)
         at oracle.ideimpl.navigator.OpenEditorContextMenuListener.handleDefaultAction(OpenEditorContextMenuListener.java:51)
         at oracle.ide.controller.ContextMenuListenersHook$LazyContextMenuListener.handleDefaultAction(ContextMenuListenersHook.java:199)
         at oracle.ide.controller.ContextMenu.fireDefaultAction(ContextMenu.java:412)
         at oracle.ideimpl.explorer.BaseTreeExplorer.fireDefaultAction(BaseTreeExplorer.java:1792)
         at oracle.ideimpl.explorer.BaseTreeExplorer.dblClicked(BaseTreeExplorer.java:2127)
         at oracle.ideimpl.explorer.BaseTreeExplorer.mouseReleased(BaseTreeExplorer.java:2148)
         at oracle.ideimpl.explorer.CustomTree.processMouseEvent(CustomTree.java:198)
         at java.awt.Component.processEvent(Component.java:5806)
         at java.awt.Container.processEvent(Container.java:2058)
         at java.awt.Component.dispatchEventImpl(Component.java:4413)
         at java.awt.Container.dispatchEventImpl(Container.java:2116)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
         at java.awt.Container.dispatchEventImpl(Container.java:2102)
         at java.awt.Window.dispatchEventImpl(Window.java:2440)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Action
    If further errors occur, you should restart the application.
    Also, report the problem on the JDeveloper forum on otn.oracle.com, or contact Oracle support, giving the information from this message.
    ________________________________________________________________________________

    Hi,
    I have recreate my file from scratch and it is working now... JDev replace its old oxd file and it is working, maybe it was during the migration process from 10.1.3.4 to 11.1.1.0.2.

  • Help:UIModel.xml file for ADF Tree with three level depth

    Hello,
    I am trying to create a DCTree with structure like this:
    root....branch1----child11,child12
    ..........branch2......branch21---child212,child212
    ............................branch22---child221,child222
    Because I can not create more than one binding rule due to the problem that "Add New Rule" button disappears after the first rule is created when I use the tool under Createbinding/Input/Tree to create the DCTree.
    Could somebody post or send me a script of the UIModel.xml file of the tree structure above so that I can work around this problem?
    Thanks in advance,
    Deborah

    Hi,
    I haven't test it for more than 3 layers but I have never seen this limitation mantioned anywhere.
    I used HGrid and this is my code:
    1. UIX file (the relevant part highlighted):
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40" expressionLanguage="el"
    xmlns:myTemplate="test">
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="baseTemplate.uit"/>
    </templates>
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title=""/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <form name="form0">
    <contents>
    <myTemplate:baseTmpl title="" xmlns:myTemplate="test">
    <contents>
    <rowLayout>
    <contents>
    <link text="Bets View" destination="browseCustBets.do"/>
    <spacer width="10" height="10"/>
    <link text="Customer Bets" destination="viewCustBets.do"/>
    </contents>
    </rowLayout>
    <rowLayout>
    <contents>
    <spacer width="10" height="10"/>
    </contents>
    </rowLayout>
    <rowLayout>
    <contents>
    <hGrid id="hg1" treeData="${uix.data.treeData}" proxy="${uix.eventResult.hGridProxy}">
    <columnHeaderData>
    <col text="Email"/>
    <col text="Bet Date"/>
    <col text="ID"/>
    <col text="Is Winner"/>
    <col text="Amount"/>
    <col text="Rate"/>
    </columnHeaderData>
    <columnHeaderStamp>
    <text text="${uix.current.text}"/>
    </columnHeaderStamp>
    <columnFormats>
    <columnFormat columnDataFormat="textFormat" width="140"/>
    <columnFormat columnDataFormat="textFormat" width="160"/>
    <columnFormat columnDataFormat="textFormat" width="40"/>
    <columnFormat columnDataFormat="textFormat" width="70"/>
    <columnFormat columnDataFormat="textFormat" width="70"/>
    <columnFormat columnDataFormat="textFormat" width="40"/>
    </columnFormats>
    <contents>
    <text text="${uix.current.Email}"/>
    <text text="${uix.current.BetDate}"/>
    <text text="${uix.current.BetID}"/>
    <text text="${uix.current.IsWinner}"/>
    <text text="${uix.current.Amount}"/>
    <text text="${uix.current.Rate}"/>
    </contents>
    </hGrid>
    </contents>
    </rowLayout>
    </contents>
    <tabs/>
    <pageButtons/>
    <globalButtons/>
    <pageHeader/>
    <start/>
    <end/>
    <about/>
    <copyright/>
    <privacy/>
    <corporateBranding/>
    <productBranding/>
    </myTemplate:baseTmpl>
    <formValue name="${bindings.statetokenid}" value="${bindings.statetoken}" id="_uixState"/>
    </contents>
    </form>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    <provider>
    <data name="treeData">
    <method class="view.CreateTreeData" method="getTreeData"/>
    </data>
    </provider>
    </dataScope>
    </content>
    <handlers>
    <event name="*">
    <method class="view.BetDetailsAction" method="doHGridEvent"/>
    </event>
    </handlers>
    </page>
    2. CreateTreeData class:
    It has a static method getTreeData() that returns a DataObject containing the tree nodes. This methode is mentiond in <provider> node in UIX/XML.
    package view;
    import java.util.Enumeration;
    import model.*;
    import oracle.cabo.servlet.BajaContext;
    import oracle.cabo.servlet.ServletConstants;
    import oracle.cabo.servlet.ui.BajaRenderingContext;
    import oracle.cabo.ui.RenderingContext;
    import oracle.cabo.ui.UIConstants;
    import oracle.cabo.ui.data.DataObject;
    import oracle.cabo.ui.data.servlet.HttpSessionDataObject;
    import oracle.cabo.ui.data.tree.SimpleTreeData;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.ViewObject;
    import oracle.adf.model.BindingContext;
    import oracle.adf.model.binding.DCDataControl;
    //import oracle.jbo.common.Configuration;
    import javax.servlet.http.HttpSession;
    import oracle.jbo.client.Configuration;
    public class CreateTreeData
    public CreateTreeData()
    public static DataObject getTreeData(RenderingContext context, String namespace, String name)
    // create root node
    SimpleTreeData root = new SimpleTreeData();
    int BetID = 0;
    // get the parameter from url
    BajaContext bContext = (BajaContext) context.getProperty(ServletConstants.BAJA_NAMESPACE,
    BajaRenderingContext.BAJA_CONTEXT_PROPERTY);
    HttpSession session = bContext.getServletRequest().getSession(true);
    try
    //BetID = new Integer(( bContext.getServletRequest( ) ).getParameter( "BetID" )).intValue();
    String s = ( bContext.getServletRequest( ) ).getQueryString();
    BetID = new Integer(s).intValue();
    session.setAttribute("BetID", s);
    //BetID = new Integer(session.getAttribute("BetID").toString()).intValue();
    catch ( Exception ex)
    // log the error on the console
    BetID = new Integer(session.getAttribute("BetID").toString()).intValue();
    //System.out.println( "Parameters cannot be retrieved" );
    //System.out.println( ex.getMessage() );
    String amDef = "model.AppModule";
    String config = "AppModuleLocal";
    ApplicationModule am = Configuration.createRootApplicationModule(amDef, config);
    AppModuleImpl myAm = (AppModuleImpl)am;
    root = myAm.createNodesData(BetID);
    myAm.remove();
    Configuration.releaseRootApplicationModule(am,true);
    // return the tree
    return root;
    3. createNodesData(int Id) is the actual function that creates the data structure containing the nodes.
    It is in AppModule. The actual tree is kept in one table and every node knows its parent ID. There is no limitation in depth.
    This function is called recursively until the tree is finished and the parameter Id is the Id of the parent node that I want to be listed. Tne top parent nodes has null in ParentID field.
    public SimpleTreeData createNodesData(int Id)
    SimpleTreeData tData = new SimpleTreeData();
    String baseSQL =
    "SELECT Bet.ID, Bet.CUST_LOGIN_ID, Bet.BET_CLASS_ID, Bet.PARENT_BET_ID," +
    "Bet.CHAMPIONSHIP_ID, Bet.AMOUNT, Bet.WIN_RATE, Bet.IS_WINNER, Bet.BET_DATE, " +
    "BetClass.NAME, CustLogin.EMAIL, CustLogin.ID AS CUST_LOGIN_ID " +
    "FROM BET Bet, CUST_LOGIN CustLogin, BET_CLASS BetClass " +
    "WHERE (Bet.CUST_LOGIN_ID = CustLogin.ID) AND (Bet.BET_CLASS_ID = BetClass.ID) ";
    if(Id!=0){
    String sqlStmt = baseSQL + " AND (Bet.ID = '"+ Id +"')";
    ViewObject betVo = this.createViewObjectFromQueryStmt("betVo", sqlStmt);
    betVo.executeQuery();
    if(betVo.hasNext())
    //SimpleTreeData tData = new SimpleTreeData();
    tData.setText(betVo.first().getAttribute("NAME").toString());
    if(betVo.first().getAttribute("PARENT_BET_ID")==null)
    tData.put("Email", betVo.first().getAttribute("EMAIL").toString());
    tData.put("BetDate", betVo.first().getAttribute("BET_DATE").toString());
    tData.put("BetID", betVo.first().getAttribute("ID").toString());
    tData.put("IsWinner", betVo.first().getAttribute("IS_WINNER").toString());
    tData.put("Amount", betVo.first().getAttribute("AMOUNT").toString());
    tData.put("Rate", betVo.first().getAttribute("WIN_RATE").toString());
    if(Integer.parseInt(betVo.first().getAttribute("BET_CLASS_ID").toString())>1){
    tData.setExpandable(UIConstants.EXPANDABLE_EXPANDED);
    betVo.remove();
    String sqlStmt = baseSQL + " AND (Bet.PARENT_BET_ID = '"+ Id +"')";
    ViewObject betVo = this.createViewObjectFromQueryStmt("betVo" + Id, sqlStmt);
    betVo.executeQuery();
    while(betVo.hasNext()){
    tData.addChild(createNodesData(Integer.parseInt(betVo.next().getAttribute("ID").toString())));
    betVo.remove();
    return tData;
    Hope this will help...

  • Uploading xml file using ADF UIX and storing in ordsys.orddoc field

    I am using ADF UIX and I am using the messageFileUpload tag to upload an XML file into the database (the file contains special characters like hyphens, apostrophes, $, etc). Once in the database I have a procedure which puts it into a clob field using the dbms_lob package. However, what exactly does ordsys.orddoc do with special characters? If I debug my procedure I see that 1 of 4 hyphens and 3 apostrophes have been turned into a character that looks like a square. Anyone know what is going on?

    It should pass binary information only, no conversion at all.
    The conversion is likely in messageFileUpload or the dbms_lob package you are using. Or you may need to tell DBMS_LOB the character set the XML file is in?
    You may want to upload the file using the interMedia tag library... Using uploadFormData?
    http://www.oracle.com/technology/software/products/intermedia/htdocs/descriptions/tag_library.html
    http://www.oracle.com/technology/products/intermedia/htdocs/jsptaglib/html/toc.htm
    Larry

  • Urgent- Any way to recreate xdbconfig.xml???

    Hello! A good '?' :
    Is there any way to recreate the config file xdbconfig.xml file in xml/db without reinstalling xml/db. Our file was renamed to xdbconfig_old.xml.
    It was just renamed earlier today. I have a copy of the old xdbconfig.xml file but cannot put it in the directory using WEBDAV because you have to have the xdbconfig.xml file to access the webdav folders. Is
    there is a way to recreate it in its default directory with a package/procedure without reinstalling?
    Thanks~

    Have your friend, in iTunes, go to iTunes menu View -> View options.
    Tick the columns you want to see.
    Go to Library - Music, select all the songs then copy and paste into a spreadsheet
    You can then sort everything as you want.

  • I am working on a file I created in Indesign CC 2014 and when I try to rearrange pages in the Pages menu or try to package the file, I get the spinning wheel for 20 mins. then it crashes. What should I do?

    Can anyone help? I started a 24 page document in Indesign CC 2014 and have been using the file off of a dropbox acct on my two machines (desktop and macbook pro). I need to rearrange some of the pages but when I try to drag and drop the pages in the Pages menu, I get the ominous spinning wheel...for about 20 mins at times. then It will just crash. The document doesn't have a tone of images. I've also tried to collect and package the file but get the same thing.
    What should I do?? Help!

    try the script at Adobe Community: InDesign 6 is crashing when attempting to open a particular document. All others are opening OK.
    I'd also try moving the pages to a new file, though I suspect that will crash too. Divide and conquer might work -- tray one of your operations on half the document at a time, then repeat by dividing any piece that fails, and so on, until you isolate a page, then use the same method to isolate an object (though it's possible you have a corrupt page).

  • Unable to recreate replica as I cannot delete the xml files for the old VM on Hyper-v Cluster

    My setup
    There are 2 sites each running a Hyper-v 2012-R2 cluster comprising of 5 nodes each.
    All the machines are in a HA state and stored on the shared clustered resource.
    Initially we had replication working and it was replicating all the servers from Site A to Site B
    There were some replication issues which needed me to stop the replication and redo it again, in doing so I firstly removed replication on Fail-over cluster manager on Site A and did the same on Site B.
    On one of the servers I had to remove the VM, although the VM config and Disks still remain on the Site B Cluster.
    I was trying to recreate the replica but it always fails with the following error :
    Hyper-v failed to enable replication for virtual machine xxxxxxxx operation aborted (0x80004004).....
    I followed an article to stop the Hyper-V Virtual Machine Management Service and try delete the file,
    When i tried to stop the service it would restart automatically and I was unable to delete the file. I put the service in disabled which kept it stopped however I was still unable to delete the files. I also tried to get File assassin which can help delete
    and clear locked files but it too was unable to delete it while the service was running or stopped as well as its additional mode whereby it will delete it on next reboot.
    The  Article Https://social.technet.microsoft.com/Forums/windowsserver/en-US/4c4f2535-81ee-4a21-a920-b5632de2be37/hyperv-old-vm-folders-cannot-be-deleted?forum=winserverhyperv
     makes mention of stopping another service Hyper-V
    Image Management Service but I am unable to find it on 2012-R2 server.
    I have also tried to put the additional nodes in a paused drained roles state leaving only one node as the active one but it still will not let me delete the VM config
    files, without removing those files I cannot re-initiate the Replication.
    Any assistance would be greatly appreciated.

    Can you storage migrate any other vms or resources off of the CSV that contains the XML file in question? If so you may be able to then take that CSV offline, remove it from available storage, re-add as available storage, and add to CSV Volumes. Maybe
    that will clear your lock. 

  • Can an iPhoto library that does not exist be recreated from the AlbumData.xml file?

    Our iMac hard drive recently got corrupted and we hadn't backed up. (I know, I know, stupid, stupid, stupid. Won't make that mistake again!) The comptuer folk we took it too were able to recover most of the data on the drive, but my iPhoto library was not one of them.  I don't have the library - the file is gone. But I do have the AlbumData.xml file.  Is there any way to recreate the library from that file alone? I've tried it with iPhoto Library Manager and it wants me to have a default library for which this file is associated. I don't have that.  Is there any way to get this data back?  Some friends had trusted us with their wedding pictures. (I know, I know, stupid, stupid, and again, stupid. They won't make that mistake again!) I'd really, really, love to get them back if it's at all possible from this one file I do have.
    Thanks in advance for any help!

    No
    iPhoto is a SQL database and you can only create the database (the iPhoto library) using a SQL editor - using iPhoto is the best
    The database has many components and all of them must be there with exact names and in an exact structure to work
    The only way you could rereate the library is from the photos (depending on the version of iPhoto you had they would have been in the originals or masters folder)
    And yes - it is unfortuante but you have learned the most simple and basic lesson of computers - If you do not have a good current backup (I have multiple daily backups plus occasional offsite backups) you will eventually lose all of your data including your photos
    LN

  • How to load a xml file from a package inside of a jar file

    hi@all
    my application has got a xml configuration file which is saved inside the package tree of the class that reads this file.
    when i`m developing using eclipse the class can find that file, everything works fine. but when i create a jar file of my application to use it in another application it cannot find that file anymore.
    can anyone tell me how to solve this problem, please?
    thx a lot
    dialsc

    hi all,
    the xml file is in the jar file and
    ClassLoader.getSystemResourceAsStream(..) solved my problem.
    in fact i did nameOfClassInSamePackageAsXmlFile.class.getResourceAsStream("nameOfFile.xml");thank you all
    greez
    dialsc

  • When packaging a file in indesign - Error message - Cannot copy necessary linked file(s)

    When packaging a file in indesign - Error message - Cannot copy necessary linked file(s)

    Can you select all Links in the Links Panel
    Use the Flyout Menu on the top right of panel.
    Choose "Utilities>Copy Links to"
    And see if that works.

  • Is there a way to package a file for print? Also help on die cut settings?

    Hello!
    I've gotten myself in a bit over my head, I work at a very small company. I am the only one with design experience, and being somewhat fresh out of college, until this job I've had no print experience. So everytime I send something to them, I learn something new. Typically the files I send originate in InDesign though.
    I have designed a rectangle sign with a triangle at the top, and so I am preparing the file to be sent to the printer for a die cut. I reached out to them and asked how to prepare it, and the response was very short "Draw your shape, make an overprint rule where you want it to cut. Extend bleed beyond the cut lines." But I wasn't quite sure i understood so I searched, and I created a die cut layer that is the shape of the cutout completely filled in a bright color not found anywhere on the document itself. Is that correct?
    Secondly, there is text, so I wanted to package the file just as I would in InDesign. Typically I send a pdf, but not sure a pdf would work with this since the red covers the area needing to be printed. So thus why I wanted to package the file to go in case I haven't prepared it correctly for them.
    Should It have just been a stroke and not filled in?
    Sorry so long-but I try to explain thoroughly from the get-go. Thanks for any help!

    SReigel:
    A little after the fact, but here are a couple more tidbits for you!
    Illustrator doesn't have a Package function like InDe. (Unfortunately!)
    If you don't have any placed images in your file, you can convert all the text to outlines and send a native Illustrator file, or a vector EPS, or whatever vector file-type your vendor prefers.
    There's an app out there called Art Files that will collect fonts and images a la InDe's Package. It's inexpensive, and I believe it has a fully functional trial if you only need it for one or two files.
    Hope it all turned out well.
    Regards,
    D.

Maybe you are looking for