Problem of setting version entry in �depend� file of package

I am working on creating a package pkg1 that depend on pkg2, so I added a �depend� config file in the prototype.
From the man page of depend, I should add the following entries in the depend file:
type pkg name
(arch)version
(arch)version
So I added the following entries in the �depend�
P pkg2 my_pkg2
     I386 1.0
My question is: if I want my pkg1 depends on the pkg2 that version >= 1.0, how could I write it in the �depend�? Any comments are appreciated, thank you very much.
The methods I known:
1.     Add all the possible versions in the �depend�, like the following:
P pkg2 my_pkg2
     i386 1.0
     i386 2.0
     i386 3.0
     �
2.     Ignore the version entry in the �depend�, like the following:
P pkg2 my_pkg2

Sorry, this is not a good place to ask question on package management tools; this forum is about Sun Studio, which is a collection of compilers and tools for software developers.
I think you can try this forum: http://www.opensolaris.org/jive/forum.jspa?forumID=107&start=0
Also, this link might be helpful (although I doubt it answers your question immediately):
http://www.softpanorama.org/Solaris/Packages/index.shtml

Similar Messages

  • Having problems saving PDF version properties in PDF files

    We have to set the Acobat version to Adobe Acrobat 5.0 (PDF 1.4) in our PDF files.
    The PDF Version properties change even after they are set using any of the following 3 methods:
    1.      Document > Reduce File Size and then  Save As 
              (In my past experience  - if you only “save” the file, it doesn’t save some of the settings)
    2.      Also set them using -  Advanced   > PDF Optimizer and then  Save As.
    3.      These properties were originally set in the Adobe PDF Settings in the Word file before the PDF was created:
    Compatibility : Adobe Acrobat 5.0 (PDF 1.4)
    When I close the file and re-open, the version is not what I set – it doesn’t save.
    Is there something that has to be set in Adobe to save the PDF Version property??
    I'm using Adobe Acrobat Pro v9.
    Thanks -- Karen

    If you use Save or Save as (except the new AAx move of Reduce File Size and PDF Optimize to the save as menu) you will get a current version based on your Acrobat. To get a prior version you have to either create it with compatibility set in the print driver or PDF Maker or you have to used Reduce File Size or PDF Optimize to get a prior version. Maybe that is why they moved those two items to the save as menu so folks would realize that option.
    If you save the file (other than with one of the 2 options mentioned) the version will revert to your current version. It sounds like you may be doing that in some way and losing the type. You can check by opening the PDF in a text editor (like WORD) and looking at the first characters of the file -- should read PDF 1.4. If it does, then you were successful. Of course, do not save the file from the text editor.
    Since you are using AA9, DO NOT use Save As. Use either the Reduce File Size under the Document menu or the PDF Optimize under the Advanced>Print Production menu as I recall. Then close Acrobat, but do not save again. If you do, you will be right back to an AA9 document.

  • Went to open a file in words and got message. "You need a newer version of Pages to open this document." I have latest version.  All other files open w/o a problem.  Please help.

    Went to open a file in words and got message. "You need a newer version of Pages to open this document." I have latest version.  All other files in words open w/o a problem.  Please help.
    Thank you.
    <Email Edited by Host>

    You have 2 versions of Pages on your Mac.
    Pages 5.2 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.2 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Older versions of Pages 5 can not open files from later versions of Pages 5.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud and opened in a newer version of Pages is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed almost 100 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Peter

  • I have the latest version of Pages 5.2 but I keep getting a message saying I must download the newest version to open my file, has anyone else had this problem?

    I have the latest version of Pages 5.2 but I keep getting a message saying I must download the newest version to open my file, has anyone else had this problem?

    You have 2 versions of Pages on your Mac.
    Pages 5.2 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.01 can not open Pages 5.2 files and you will get the warning that you need a newer version.
    Pages 5.2 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Once opened and saved in Pages 5.2 files can not be opened in Pages 5.
    Anything that is saved to iCloud is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed over 95 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Archive/trash Pages 5, after exporting all Pages 5 files to Pages '09 or Word .docx, and rate/review it in the App Store, then get back to work.
    Peter

  • Problem with setting Created, Modified, Author, Editor on file i Site Collection from Client SDK

    Hello,
    I have a piece of code that is used for converting files from a shared file area to SharePoint for customers that move to SharePoint and Dynamics CRM. The relation to Dynamics CRM calls for using custom code an not existing conversion tools.
    The code I wrote works fine if the file sent to a regular site in SharePoint, but if I try to use the same code for files in the Site Collection. If I use the address for the site collection in the constructor for the ClientContext, and the relative URL
    from that for the file, both the upload and the setting of the attributes fails (I do make sure the file is there before trying to set the attributes).
    After some experimentation I am able to upload the file, by creating the client context with the main site URL, and adding the site collection path elements ("/sites/crm") to the path for the file, but using the same the setting of the attributes
    fails.
    I have tried some other variant where the site collection elements are in the path for both the ClientContext and the file path. Then the upload fails, the file retrival (GetFileByServerRelativeUrl) works, but the retrival of the attributes then fails.
    The code below illustrates the variations.
    Can someone please explain what I am doing wrong, or is this a bug in the SDK?
    Regards
    Anders
    using System;
    using System.IO;
    using System.Security;
    using Microsoft.SharePoint.Client;
    using File = System.IO.File;
    using SP = Microsoft.SharePoint.Client;
    namespace TestSharePointDocumentAttributes
        class DocumentAttributeTester
            public void Execute(string[] args)
                string userId = args[0];
                string password = args[1];
                string filePath = @"C:\work\TestCV1.docx";
                string siteUrl;
                string documentPath;
                string clientContextUrl;
                string serverRelativeUrl;
                DateTime createdDate = new DateTime(2013, 2, 1, 11, 20, 45);
                DateTime modifiedDate = new DateTime(2013, 3, 1, 11, 40, 45);
                string fileName = Path.GetFileName(filePath);
                SecureString securePassword = new SecureString();
                foreach (char c in password.ToCharArray())
                    securePassword.AppendChar(c);
                // Pass 1, no site collection
                Console.WriteLine("Pass 1");
                clientContextUrl = "https://losangas.sharepoint.com";
                serverRelativeUrl = "/crmn_candidate/TestSPAttributes" + '/' + fileName;
                upload(clientContextUrl, serverRelativeUrl, userId, securePassword, filePath);
                setVariables(clientContextUrl, serverRelativeUrl, userId, securePassword, createdDate, modifiedDate);
                Console.WriteLine();
                // Pass 2, site collection, parameters as expected, both upload and set attributes fails (even if file exists)
                Console.WriteLine("Pass 2");
                clientContextUrl = "https://losangas.sharepoint.com/sites/crm";
                serverRelativeUrl = "/kontakter/N/Test1" + '/' + fileName;
                upload(clientContextUrl, serverRelativeUrl, userId, securePassword, filePath);
                setVariables(clientContextUrl, serverRelativeUrl, userId, securePassword, createdDate, modifiedDate);
                Console.WriteLine();
                // Pass 3, site collection, parameters adjusted. Upload works and set attributes fails.
                Console.WriteLine("Pass 3");
                clientContextUrl = "https://losangas.sharepoint.com";
                serverRelativeUrl = "/sites/crm/kontakter/N/Test1" + '/' + fileName;
                upload(clientContextUrl, serverRelativeUrl, userId, securePassword, filePath);
                setVariables(clientContextUrl, serverRelativeUrl, userId, securePassword, createdDate, modifiedDate);
                Console.WriteLine();
                // Pass 4, site collection, parameters adjusted. Upload works fails, but GetFileByServerRelativeUrl succeds and load items fails
                Console.WriteLine("Pass 4");
                clientContextUrl = "https://losangas.sharepoint.com";
                serverRelativeUrl = "/sites/crm/kontakter/N/Test1" + '/' + fileName;
                upload(clientContextUrl, serverRelativeUrl, userId, securePassword, filePath);
                setVariables(clientContextUrl, serverRelativeUrl, userId, securePassword, createdDate, modifiedDate);
                Console.WriteLine();
            private void upload(string clientContextUrl, string serverRelativeUrl, string userId, SecureString securePassword, string filePath)
                try
                    byte[] fileContents = File.ReadAllBytes(filePath);
                    string fileName = Path.GetFileName(filePath);
                    ClientContext clientContext = new ClientContext(clientContextUrl);
                    clientContext.Credentials = new SharePointOnlineCredentials(userId, securePassword);
                    SP.File.SaveBinaryDirect(clientContext, serverRelativeUrl, new MemoryStream(fileContents), true);
                    Console.WriteLine("Upload successful.");
                catch (Exception ex)
                    Console.WriteLine(string.Format("Upload error: {0}", ex.Message));
            private void setVariables(string clientContextUrl, string serverRelativeUrl, string userId, SecureString securePassword, DateTime createdDate, DateTime modifiedDate)
                try
                    ClientContext clientContext = new ClientContext(clientContextUrl);
                    clientContext.Credentials = new SharePointOnlineCredentials(userId, securePassword);
                    Microsoft.SharePoint.Client.File uploadedFile = clientContext.Web.GetFileByServerRelativeUrl(serverRelativeUrl);
                    clientContext.ExecuteQuery();
                    ListItem listItem = uploadedFile.ListItemAllFields;
                    List list = listItem.ParentList;
                    clientContext.Load(uploadedFile.ListItemAllFields);
                    clientContext.ExecuteQuery();
                    FieldUserValue author = FieldUserValue.FromUser("Elisabeth Skaane");
                    FieldUserValue editor = FieldUserValue.FromUser("Elisabeth Skaane");
                    listItem["Created"] = createdDate.ToString("MM.dd.yyyy HH:mm:ss"); // i.e. "6/5/2012 10:19" 
                    listItem["Modified"] = modifiedDate.ToString("MM.dd.yyyy HH:mm:ss"); // i.e. "6/5/2012 10:19" 
                    listItem["Author"] = author;
                    listItem["Editor"] = editor;
                    listItem.Update();
                    clientContext.ExecuteQuery();
                    Console.WriteLine("Set attributes successful.");
                catch (Exception ex)
                    Console.WriteLine(string.Format("Set attributes error: {0}", ex.Message));

    Hello,
    Thanks for your effort, but you are not addressing the problem.
    As I tried to explain, setting the date works fine in the case where there is no site collection involved. There is no reason to believe that this will be different when in a site collection. Also the logon works fine in borth cases. The FieldUserValue.FromUser
    can take either an email, or a prefered name. I tested both.
    Anders

  • Links in template-dependent files (solved - but new problems towards the end of the thread!)

    This is a simple problem that probably has a simple solution.
    My links work in the .dwt file itself, but just one of them
    (although there are only two at the moment) does not work in the
    template-dependent files (my browser can't find the file). I used
    point-to-file to create the link.

    >
    http://www.mathgoesawol.com
    I can't find any links there or here:
    http://www.mathgoesawol.com/Templates/template.dwt
    In the template, select the image you want to be a link.
    Use the Property inspector to link it
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Veristand Problem: When Configurin​​g a project, searching for a library file as a dependent file

    Hi,
    The problem that I am having is that I took all of the necessary files in order to run a project and moved it to a different computer. When I open Veristand, and try to configure the project, a pop up window comes up with "Search for Dependent File: [filename]". It then says the missing file and the search directory. You can also browse for the file. So, for about the first couple of files, I just browsed for it and it was fine. But when it reaches a library file, I try to open it and it opens the library inside of Veristand. I think it thinks that I'm trying to get the file from inside of the library instead of the library itself.
    Any thoughts greatly appreciated.

    Continued here
    LabVIEW Champion . Do more with less code and in less time .

  • Veristand Problem: When Configuring a project, searching for a library file as a dependent file.

    Hi,
    The problem that I am having is that I took all of the necessary files in order to run a project and moved it to a different computer. When I open Veristand, and try to configure the project, a pop up window comes up with "Search for Dependent File: [filename]". It then says the missing file and the search directory. You can also browse for the file. So, for about the first couple of files, I just browsed for it and it was fine. But when it reaches a library file, I try to open it and it opens the library inside of Veristand. I think it thinks that I'm trying to get the file from inside of the library instead of the library itself.
    Any thoughts greatly appreciated.

    Continued here
    LabVIEW Champion . Do more with less code and in less time .

  • Save and dependant files problem

    hi
    when i press f12 to see in the browser i get the "put
    dependant files" dialogue. why is that and how can i turn it
    off?

    Hi,
    I had that problem when I was working on a website at school
    using a mac but when I used it at home on a pc it was fine. Im not
    sure if this will work for you (it did for me) I just moved the few
    pages into a new folder and redefined the site. It worked for me im
    not sure if it will work for you.

  • HT201442 I am got error while trying to restore,, but i just only error file with 3194. I try many step by install lastest version and fix host file, but still fail. Anybody can give me any key point to solve this problem? Thank you

    I am got error while trying to restore,, but i just only error file with 3194. I try many step by install lastest version and fix host file, but still fail. Anybody can give me any key point to solve this problem? Thank you

    Error 3194:
    This device isn't eligible for the requested build
    It means that Apple has stopped signing the version of iOS that you have, try downloading the latest iOS version, then try Restore again.

  • HT201210 Facing a problem while setting MAC 6.1. My version is 5.1. The activation does not complete.

    Facing a problem while setting MAC 6.1. My version is 5.1. The activation does not complete.

    Hacked or jailbroken iPhone will have this problem.
    BTW, it's IOS 6.0.1 not MAC.

  • A problem regarding set up of Oracle Lite 3.6.0.2.0 on Win 95, with JDK 1.1.8 &java 2

    A problem regarding set up of Oracle Lite 3.6.0.2.0 on Win 95, with JDK 1.1.8 and Java 2 SDK ( Ver 1.3 Beta)
    After the installation of Oracle Lite 3.6.0.2.0 on a laptop (with WIN 95 OS), When I run Oracle Lite Designer from start menu, I receive following error message :
    ====================================
    Invalid class name 'FILES\ORA95_2\LITE\DESIGNER\oldes.jar;C:\PROGRAM'
    usage: java [-options] class
    where options include:
    -help print out this message
    -version print out the build version
    -v -verbose turn on verbose mode
    -debug enable remote JAVA debugging
    -noasyncgc don't allow asynchronous garbage collection
    -verbosegc print a message when garbage collection occurs
    -noclassgc disable class garbage collection
    -ss<number> set the maximum native stack size for any thread
    -oss<number> set the maximum Java stack size for any thread
    -ms<number> set the initial Java heap size
    -mx<number> set the maximum Java heap size
    -classpath <directories separated by semicolons>
    list directories in which to look for classes
    -prof[:<file>] output profiling data to .\java.prof or .\<file>
    -verify verify all classes when read in
    -verifyremote verify classes read in over the network [default]
    -noverify do not verify any class
    -nojit disable JIT compiler
    Please make sure that JDK 1.1.4 (or greater) is installed in your machine and CLASSPATH is set properly. JAVA.EXE must be in the PATH.
    ====================================
    My ORACLE_HOME is c:\program files\ora95_2 and Oracle Lite is installed under the ORACLE_HOME in LITE\DESIGNER directory.
    JDK version is 1.1.8 which is greater than 1.1.4 installed in c:\program files\jdk1.1.8, My PATH, and CLASSPATH are set in AUTOEXEC.BAT as follows:
    set CLASSPATH=c:\Progra~1\jdk1.1.8\lib\classes.zip;c:\progra~1\ora95_2\lite\classes\olite36.jar;c:\progra~1\ora95_2\lite\designer\oldes.jar;c:\progra~1\ora95_2\lite\designer\swingall.j ar
    PATH=C:\Progra~1\Ora95_2\bin;.;c:\Progra~1\jdk1.1.8\lib;c:\Progra~1\jdk1.1.8\bin;C:\Progra~1\Ora95_2\lite\Designer;C:\WIN95;C:\WIN95\COMMAND;C:\UTIL
    And, I can run JAVA.EXE from any directory on command prompt.
    With JAVA 2 SDK (ver 1.3 Beta) instead of JDK 1.1.8 I'm getting a different Error message as follows:
    =============================
    java.lang.NoClassFoundError: 'FILES\ORA95_2\LITE\DESIGNER\oldes.jar;C:\PROGRAM'
    Please make sure that JDK 1.1.4 (or greater) is installed in your machine and CLASSPATH is set properly. JAVA.EXE must be in the PATH.
    ==============================
    the PATH and CLASSPATH were set accordingly, as with JDK1.1.8, and there was no classes.zip in classpath
    also the class file or the jar file looks weird or wrapped in the error message : 'FILES\ORA95_2\LITE\DESIGNER\oldes.jar;C:\PROGRAM'
    Another interesting thing I noticed is if I run oldes.exe from Installation CD, the Oracle Lite Designer runs fine, and without error, I'm able to modify tables in the database of my laptop also.
    Could someone shade some light on what am I doing wrong here ?
    Thanks for help in advance .
    Regards
    Viral
    null

    On 07/20/2015 06:35 AM, Itzhak Hovav wrote:
    > hi
    > [snip]
    > [root@p22 eclipse]# cat eclipse.ini -startup
    > plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
    > --launcher.library
    > plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120913-144807
    >
    > -showsplash
    > org.eclipse.platform
    > --launcher.XXMaxPermSize
    > 256m
    > --launcher.defaultAction
    > openFile
    > -vmargs
    > -Xms40m
    > -Xmx512m
    > [snip]
    Try this: http://wiki.eclipse.org/Eclipse.ini. You should have read the
    sticky posts at forum's top for getting started help.

  • When I have video clips on my timeline, they do not play in the monitor screen. I hear the sound track but can not see the image. To test if my new files are somehow the problem, I went back and used video files that I used successfully a year ago, and th

    When I have video clips on my timeline, they do not play in the monitor screen. I hear the sound track but can not see the image. To test if my new files are somehow the problem, I went back and used video files that I used successfully a year ago, and they no longer play in the monitor window. I hear the sound track, but do not see any video. Have I changed some setting that controls video playback in the monitor window?

    Randy Ruttger
    Thanks for the follow up.
    Missing in this equation were the version of Premiere Elements that you were using and the computer operating system on which it was running. But...
    The deed is done. But.....Until now and after you went ahead and moved to version 12, we now learn what version of Premiere Elements you were using. We still do not know the computer operating system involved.
    You just said Premiere Elements 10. Premiere Elements 10 is hit by a serious known display issue if the computer uses a NVIDIA GeForce video card/graphics card. In this issue, the only remedy is to roll back the driver version to about May 2013. The description of the problem and how to do the roll back are described in one of the Announcements at the top of this forum. What video card/graphics card does your computer use?
    On another front, Adobe will be releasing a new version of Premiere Elements any day now. No one but Adobe knows the feature set for the new version. That type of information is announced at the moment of release of the new version.
    So the remedy to the problem that you presented in this thread could have been...
    1. Rolling back the NVIDIA GeForce driver version to about May 2013 if possible (Windows 8 or 8.1 64 bit, may not be possible)
    2. Move to another version of Premiere Elements (which you did)
    I offer the above for consideration so that you can review your decisions. We are pleased to learn that Premiere Elements 12/12.1 works for you.
    Please do not hesitate to ask questions and ask for clarifications, but remember that the answers are in the details.
    Best wishes,
    ATR

  • Searching for an entry in a file that contains 2 words or more...

    Hey :)
    I created a Binary Search Tree that would hold a list of words located in a .txt file. So, basically, the objective of the program is to search through a typed up document for the words in the search tree, and if the word is found, return it to the user to see.
    I have that part working, but what I'm having trouble with is one of the entries in the file. The entry is "data structure." All the other entries are 1 word, like queue, depth-first, etc...but this one is 2 words. I'm having trouble making it so that the search will detect the 2-word entry, "data structure." How do I go about searching for entries that are 2 or more words in length?
    I have been struggling with this for some time, and I don't know if it's just me, but I'd really like to get this done since this is the only thing I'm having trouble with right now. I thought I could figure this out, but I'm just putting too much time into it, and I need to submit this tomorrow.
    Any help would really be appreciated! :)
    Take care,
    Alex

    Yea, I was thinking of doing that myself. Turning the two words into one word, so it'll end up like, "datastructure," but how do I do that? Would I use the substring method? Or is there something else that I can use to get rid of whitespace. I'll look that up now on google or something, but in the meantime, if anyone can help me out with this, it would be great.
    Just for a reminder, this is my problem :: I need to be able to locate an entry in my document that has 2 words in it. In this case, the entry is, "data structure." How can I go about searching for this 2 word entry? It seems to be a bit more complex than merely searching for one word. Any help you can provide me would be great! :)
    Here's the code for the Binary Search Tree:
    import java.io.*;
    import java.util.*;
    public class KeywordBinarySearchTree
         BinaryNode root;
         //static String[] docWords; // captures each of the words into an array while ignoring punctuation
         public KeywordBinarySearchTree()
              root = null;
         public void preOrderTraversal()
              preOrderTraversal(root);
         public void inOrderTraversal()
              inOrderTraversal(root);
         public Comparable findNode(Comparable node)
              return dataOfNode(findNode(node, root));
         public Comparable dataOfNode(BinaryNode node)
              if (node == null)
                   return null;
              else
                   return node.nodeData;
         public BinaryNode insertInOrder(Comparable iNodeData)
              BinaryNode nodeWalker;   // used to walk through each of the nodes until the appropriate spot
                                            // is found to insert the node of data
              BinaryNode parentNode = new BinaryNode(iNodeData); // represents the new root node after each pass through the tree
              if (root == null) // if it's a brand new tree with no nodes, then insert the new root of the tree
                   root = new BinaryNode(iNodeData);
              else
                   nodeWalker = root; // sets current root of tree to nodeWalker
                   while (nodeWalker != null) // will start its first iteration of the loop at the top of the tree
                        parentNode = nodeWalker;
                        if (iNodeData.compareTo(nodeWalker.nodeData) < 0) // if the data to be inserted is less than the current
                                                                                       // node in the tree
                             nodeWalker = nodeWalker.leftChild;                  // set nodeWalker to the left child of that node
                             System.out.println("INSERT NODE: LEFT CHILD");
                        else
                             nodeWalker = nodeWalker.rightChild;                 // otherwise, set nodeWalker to the right child of that node
                             System.out.println("INSERT NODE: RIGHT CHILD");
                   } // this loop will determine where the node has to travel to get to the appropriate destination. once the nodeWalker
                     // has reached its final stop, the while loop exits into the statements below to insert the new node of data
                   if (iNodeData.compareTo(parentNode.nodeData) < 0)
                        parentNode.leftChild = new BinaryNode(iNodeData);
                        System.out.println("INSERT NODE: PARENT NODE LEFT CHILD");
                   else
                        parentNode.rightChild = new BinaryNode(iNodeData);
                        System.out.println("INSERT NODE: PARENT NODE RIGHT CHILD");
              return parentNode;
         public BinaryNode findNode(Comparable searchNode, BinaryNode bn)
              if (bn == null)
                   return null;
              else
                   while (bn != null)
                        if (searchNode.compareTo(bn.nodeData) < 0)
                             bn = bn.leftChild;
                             //System.out.println("FIND NODE: LEFT CHILD DETECTED");
                        else if (searchNode.compareTo(bn.nodeData) > 0)
                             bn = bn.rightChild;
                             //System.out.println("FIND NODE: RIGHT CHILD DETECTED");
                        else // word has been spotted in the tree!
                             System.out.println(bn.nodeData);
                             return bn;
              return null;
         public void preOrderTraversal(BinaryNode bn)
              if (bn == null)
                   return;
              System.out.println(bn.nodeData);
              preOrderTraversal(bn.leftChild);
              preOrderTraversal(bn.rightChild);
         public void inOrderTraversal(BinaryNode bn)
              if (bn == null)
                   return;
              inOrderTraversal(bn.leftChild);
              System.out.println(bn.nodeData);
              inOrderTraversal(bn.rightChild);
    // and then the code after this is the public static void main code, which I posted snippets of above.

  • Problem in setting up Actionable Emails

    Hi
    Hope you are doing fine
    I'm finding problems in setting up Actionable emails in Human Tasks.
    The mails are coming fine, with approve/reject buttons, but when I click on either of those buttons and send the email, nothing is hapenning. The same, when done using workspace is working fine.
    So I think this is something to do with the configuration.
    Before setting up the configuration, I have the foll details
    OutgoingMailServer, port
    IncomingMailServer, port, userName(say ActionableAccnt), pwd (which I'm using for actionable email)
    Here is my setup:
    In email driver notification under UMS
    Sender Address : [email protected]
    Default Sender Address : [email protected]
    provided outgoingMailServer, port, incomingMailServer, port, username, pwd
    And setting in Workflow Notification Properties
    From Address : [email protected]
    Actionable Address : [email protected]
    ReplyTo Address : [email protected] (this is a dummy address)
    Please note that in every emailId entry except the replyToAddress, I've used the same valid emailId [email protected]
    Is this ok? I'm ok even if the replyTo and actionable addresses are same.
    I've restarted the server. But its not working.
    Did I miss something here?
    I've gone through the documentation, some blogs, but could not find any.
    Would you please help me in this regard.
    Thanks in Advance
    Regards
    RaviKiran

    Hello there.
    Here's the ServiceLocator and delegates I am using....
    // LoginDelegate.as
    package com.myproj.products.business {
         import com.myproj.products.vo.LoginVO;
         import mx.rpc.IResponder;
         import com.adobe.cairngorm.business.ServiceLocator;
         public class LoginDelegate {
              // anything that implements the IResponder interface can act as a responder
              private var responder:IResponder;
              private var service:Object;
              public function LoginDelegate(responder:IResponder) {
                   this.responder = responder;
                   this.service = ServiceLocator.getInstance().getRemoteObject("loginService");
              public function login(loginAttempt:LoginVO):void {
                   // Call the method of service that resides on server
                   var call:Object = service.login(loginAttempt);
                   // Send the response to responder
                   call.addResponder(responder);
    // com/myproj/products/business/Services.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <cairngorm:ServiceLocator
         xmlns:mx="http://www.adobe.com/2006/mxml"
            xmlns:cairngorm="com.adobe.cairngorm.business.*">
         <!-- Login Service -->
         <mx:RemoteObject
              id="loginService"
              destination="zend"
              source="LoginService"
              showBusyCursor="true">
              <mx:method name="doLogin" />
         </mx:RemoteObject>
    </cairngorm:ServiceLocator>
    With kind regards
    ShiVik

Maybe you are looking for

  • Locking problem in VL02N at the time Post Goods issue

    Hi, We have implemented 2 BADIs to change qty in delivery and in subsequent documents. Once we receive an IDoc with batches, then we need to change subitems qty according to no of batches. Once IDoc has updated, then PGI will do automatically. 1. LE_

  • It says that itunes was not installed correctly, and i cant fix it. what do i do?

    first it said that a file was missing and i needed to uninstall and reinsall. so i tried that and it did nothing. so i got the new virsion (10.3 ?) now it says that it was not installed correctly and i need to reinsall to fix it. so i did and it didn

  • IMac to Macbook sync

    I have a Macbook and is considering buying a iMac, I know i can use my mobile me account to sync the important stuff between the 2 computers but what about, iPhoto, iWeb, Aperture and iMovie. Is there a way to sync between the 2 computers with these

  • Process and Session

    I have set the below parameter value in oracle 10g Processes: 20 Sessions: 20 AFter setting the above value when I start the database and queries session parameter values shows: 27 Based on the above parameter how many concurrent users can connect to

  • How do I batch-rename objects/paths (not just layers)?

    Question from a complete n00b: I need to rename a large number of selected objects/paths. This is because I want to use another script that only works when my objects have the default name, "<Path>". So really, I just need to remove existing names of