Why getAbsolutePath() doesn't return path?

Hi, all:
My code:
public class Test {
public static void main(String args[]) { 
File aFile=new File("MustBeThere.doc");
if (aFile.exists())
String path=aFile.getAbsolutePath();
else
System.out.println("Null");
It always return "Null". I assume to get a path instaed. I will be very grateful for any idea.
Thanks
Paul

Hi,guys:
I am pretty sure the file exitst. I found getAbsolutePath() only can find correct path if you pass the the whole path like:
File aFile=new File("c:\something\test1.html");
However, I'd like to pass "test1.html", then I expect returing sting is "c:\something\test1.html".
Could you try the following code:
import java.io.*;
class FileInfo {     
     public static void main (String args[]) {          
          System.out.println("Enter file name: ");          
          String buf = "";
          try {               
               BufferedReader bin = new BufferedReader(
               new InputStreamReader( System.in ) );               
               buf = bin.readLine();          
               } catch (Exception e) {               
                    System.out.println("Error: " + e.toString());          
                    System.out.println( "File Name: " + buf.toString() );          
                    File file = new File(buf.toString());          
                    System.out.println( "File " + file);
                    if (file.exists()) {               
                         System.out.println("File Name : " + file.getName());               
                         System.out.println(" Path : " + file.getPath());               
                         System.out.println("Abs. Path : "+ file.getAbsolutePath());               
                         System.out.println("Writable : " + file.canWrite());               
                         System.out.println("Readable : " + file.canRead());               
                         System.out.println("Length : "+ (file.length() / 1024) + "KB");          
                         } else               
                         System.out.println("Sorry, file not found.");     
Thanks in advance.
Paul

Similar Messages

  • Mail sieve filter and Return-path problem

    I want replace return-path header for one particular user when receive email. I use only sun convergence for send mail.
    imta.cnf
    ! ims-ms
    ims-ms defragment notices 1 7 14 21 28 backoff "pt5m" "pt10m" "pt30m" "pt1h" "pt2h" "pt4h" maxjobs 2 pool IMS_POOL fileinto $U+$S@$D destinationfilter /opt/sun/comms/messaging/config/imta.filter
    ims-ms-daemon imta.filter
    require ["editheader"];
    if header :contains "from" ["[email protected]"] {
            deleteheader "Return-path";
            addheader "Return-path" "[email protected]";
    }When I send email from anonymous i want delete old Return-path and add new return-path. The problem is that i see on header the new return-path but i see the old also.
    It's possible delete the default return-path ?
    Thank's
    Giovanni

    giovanni.romaneghi wrote:
    I want replace return-path header for one particular user when receive email.Why do you want to replace the Return-Path header? What is the actual problem you are trying to solve?
    Also what is the exact version of Messaging Server that you are using (./imsimta version)?
    imta.cnf
    ! ims-ms
    ims-ms defragment notices 1 7 14 21 28 backoff "pt5m" "pt10m" "pt30m" "pt1h" "pt2h" "pt4h" maxjobs 2 pool IMS_POOL fileinto $U+$S@$D destinationfilter /opt/sun/comms/messaging/config/imta.filter
    ims-ms-daemon
    You should not use "imta.filter" as the destinationfilter file-name. imta.filter is the reserved for the MTA-wide sieve filter file-name:
    http://wikis.sun.com/display/CommSuite/Mail+Filtering+and+Access+Control#MailFilteringandAccessControl-ToCreateMTAWideFilters
    When I send email from anonymous i want delete old Return-path and add new return-path. The problem is that i see on header the new return-path but i see the old also. The "Return-Path:" header is automatically added by the MTA after the sieve filter has been evaluated which is why you get two Return-Path: headers in the resultant message.
    Regards,
    Shane.

  • Query with subquery containing group clause doesn't return any rows - WHY ?

    Hi,
    My query doesn't return any values :
    select g1.NTRX from gtrx g1
    where exists
    (SELECT b.cfunctrx, b.cpro1trx, b.nmsgitrx, b.nmrc, b.ncrd, b.namtstrx,
    b.dltimtrx, b.nrtrftrx,count(*)
    FROM gtrxacq a, gtrx b
    WHERE a.ntrx = b.ntrx AND a.acq_bus_date = (SELECT curr_bus_date -1
    FROM gmbr
    WHERE nmbr = 0)
    and g1.NTRX=b.NTRX
    GROUP BY b.cfunctrx,
    b.cpro1trx,
    b.nmsgitrx,
    b.nmrc,
    b.ncrd,
    b.namtstrx,
    b.dltimtrx,
    b.nrtrftrx
    HAVING COUNT (*) > 1);
    but such query returns some number of rows :
    SELECT b.cfunctrx, b.cpro1trx, b.nmsgitrx, b.nmrc, b.ncrd, b.namtstrx,
    b.dltimtrx, b.nrtrftrx,count(*)
    FROM gtrxacq a, gtrx b
    WHERE a.ntrx = b.ntrx AND a.acq_bus_date = (SELECT curr_bus_date -1
    FROM gmbr
    WHERE nmbr = 0)
    /*and g1.NTRX=b.NTRX*/
    GROUP BY b.cfunctrx,
    b.cpro1trx,
    b.nmsgitrx,
    b.nmrc,
    b.ncrd,
    b.namtstrx,
    b.dltimtrx,
    b.nrtrftrx
    HAVING COUNT (*) > 1
    AND when i put results from query above into query :
    select g1.NTRX from gtrx g1
    where
    g1.CFUNCTRX= 200 and g1.CPRO1TRX= 000 and g1.NMSGITRX= 1240 and
    g1.NMRC= '000000000000675' and g1.NCRD= 405671**********
    and g1.NAMTSTRX=14.26 and g1.DLTIMTRX=to_date('07/08/2008 15:07:02','MM/DD/YYYY HH24:MI:SS')
    and g1.NRTRFTRX= '000414598393';
    it returns values.
    what is wrong ?
    Best Regards Arkadiusz Masny

    but such query returns some number of rows :
    /*and g1.NTRX=b.NTRX*/Add b.NTRX into group by and recheck.

  • Click on a cell in formula doesn't return value, only text. why?

    When doing a simple formula like =c4-c5 in one of my sheets, when i click on the cell, it doesn't return the value, only text.
    What setting do i have enabled/disabled?
    thanks
    hamdog

    HI Hamdog,
    What you are seeing is the formula that is in that cell.
    The setting you have turned on is the first one in the bottom section of the General page of Numbers Preferences. In the English versions, it looks like this:
    With the checkbox unchecked (as mine is), the formula would read:
    =L10-P10
    Column L is labeled "Tips", Column P is labeled "Lenka", Row 10 is labeled "9. 2. 2013"
    To Copy and Paste the result, 462, click (once) on the cell and Copy, then click (once) on the cell where you want to paste the result and go Edit > Paste Values. This should be the seventh item (not including the separator line) in the Edit menu.
    Regards,
    Barry
    Regards,
    Barry

  • Why does the correct return address not show up on outgoing messages?

    Hello,
    Specs:
    Windows NT
    iPlanet Messaging Server 5.1
    iPlanet Directory Server 4.13
    One user recently went through an account change (spam reasons).
    old uid: bob
    old email: [email protected]
    new uid: bsmith
    new email: [email protected]
    The problem is, that during testing, any email sent from the new account is arriving as having both the <Return-path> and <From> fields with the old email address.
    Keep in mind that this is not a client-specific problem as everything has been changed correctly (outlook) If an email goes from "Clients computer" >> "3rd party smtp server" >> "Hotmail" or the like, it shows up as having the correct return address.
    But the pickle I'm in, is that if an email goes from "Clients computer" >> "3rd party smtp server" >> "Our Server" , it shows up as having the OLD return address. - same thing if messages are sent internally (same server) through the webmail interface. The messaging server is somehow rewriting the email field when any message goes through it.
    What makes this a super-pickle is that this is a NEW account., not just a 'change' of the old one. The old account has been deleted, and the command 'imadmin user purge' doesn't find it, nor is there any reference to the old 'bob@' address in the ldif file except for an address book entry or two (other users have added 'bob' into their address book)
    Any help is greatly appreciated in advance. Sorry for the long description, but now all the bases I've covered are known.
    Sincerely,
    Josh

    Jay,
    I only mentioned SIMS 4.0 because I jumped directly from that to MS 6.0p1, and because what my customers wanted to do worked on SIMS and doesn't on MS6.
    To complicate things more, my customer has multiple domains, but not all employees have e-mail addresses in both domains. For example, Joe is [email protected], Jane is [email protected], and John wants mail sent to either [email protected] or [email protected] to come to him.
    I dealt with this by setting up abc & xyz as separate domains, and created a mailing list in xyz.com named "john" with an external member of [email protected] While this works fine, when I add an alias to that mailing list of "[email protected]" and John tries to send a message with "[email protected]" in the From, it is rewritten to [email protected] as that is his primary e-mail address.
    In looking at the LDAP entries of mailing lists that are not working as I'd like, I see that the aliases are specified as mailAlternateAddress attributes. Are you saying that if I change these to MailEquivalentAddress attributes that they will then show up in the From unchanged?
    Oh, and one more possible factor - they are sending mail using SMTP AUTH as they are roving users. Since the mail server knows that the authenticated user is truly [email protected], is that why his From of [email protected] gets nuked?
    Thanks,
    Bill

  • One reason why commandLink doesn't work in dataTable

    Ok, so I think I've got an explanation why commandLink doesn't work in dataTable when the model bean is request scoped. Maybe somebody can tell me if I'm wrong.
    I have a model bean that generates table rows based on some input criteria (request parameters).
    So, we validate the inputs, apply them to the bean and render the page. Once the inputs have been applied to the bean, a request for table rows returns rows, no problem.
    However, we put a commandLink in each row, so we can expand the details. Maybe we even get smart and repeat the input row-generating criteria as a hidden field in the page.
    Unfortunately, when the user hits the commandLink, the list page simply refreshes, maybe even w/out table rows. The user doesn't get the details page as expected.
    Why not?
    Because: in the DECODE phase (even before validation and before "immediate" values have had their valueChangeListeners called), we ask the model bean for the table rows, so we can decode the commandLinks. Unfortunately, in "decode" phase, the request-scoped model bean has not had its row-generating criteria updated (that happens in the "update model" normally, or at the END of the decode phase if we got cute by (1) setting the "immediate" attribute on the row-generating criteria to "true" AND (2) set a valueChangeListener to allow us to update the model bean early. The END of the decode phase isn't good enough -- in the middle of that phase, when we're attempting to deocde commandLinks, the model bean has no citeria, so there's no row data. No row data means no iteration over commandLinks to decode them and queue ActionEvents. So, we march through the rest of the phases, process no events, and return to the screen of origin (the list screen) with no errors.
    So, what's the solution?
    One solution is to make the model bean session-scoped. Fine, maybe we can store a tiny bit of data in it (the search criteria), so it's not such a memory drag to have it live in the session forever. How do we get that data in? A managed property in faces-config.xml with value #{param.PARENT_KEY} won't work because it's assigning request-scoped data to a session-scoped holder. JBoss balks, and rightly so. Do we write code in the model bean that pulls the request parameter out of thin air? (FacesContext.getExternalContext()....) I don't really like to code the name of a specific http request parameter into the bean, I think it's the job of the JSP or faces-config.xml to achieve that binding (request parameter to model propery). Plus, I'd be sad to introduce a dependency on Faces in what was previously just a bean.
    Is there a better way?
    In my particular situation, we're grafting some Faces pages onto an already-existing non-Faces application. I don't get the luxury of presenting the user an input field and binding it to a bean. All I've got to work with is a request parameter.
    Hmm, I guess I just answered my own question. if all I've got to work with is a request parameter, some ugliness is inevitable, I guess.
    I guess the best fix is to cheat and have the bean constructor look for a request parameter. If it finds it, it initializes the criteria field (which, in my case, is the key of an object that has a bunch of associated objects (the rows data), but could be more-general d/b search criteria).
    (I looked at the "repeater" example code in the RI, but it basically statically-generates its data and then uses 100% Faces (of course) to manage the paging (where "page number" is essentially the "criteria").
    Comments? Did I miss something obvious?
    John.

    ...or I could just break down and do the thing I was hoping to avoid (outputLink instead of commandLink):
    <h:outputLink value="/faces/Detail.jsp">
      <f:param name="PARENT_KEY" value="#{bean.parentKey}"/>
      <h:outputText value="#{bean.label}"/>
    </h:outputLink>It's still a "hardcoded" parameter name, but at least the binding is in the JSP and faces-config.xml, not the bean Java code.

  • SQL Query (PL/SQL Function Body returning SQL query) doesn't return any row

    I have a region with the following type:
    SQL Query (PL/SQL Function Body returning SQL query).
    In a search screen the users can enter different numbers, separated by an ENTER.
    I want to check these numbers by replacing the ENTER, which is CHR(13) || CHR(10) I believe, with commas. And then I can use it like this: POD IN (<<text>>).
    It's something like this:
    If (:P30_POD Is Not Null) Then
    v_where := v_where || v_condition || 'POD IN (''''''''||REPLACE(''' || :P30_POD || ''', CHR(13) || CHR(10), '','')||'''''''''')';
    v_condition := ' AND ';
    End If;
    But the query doesn't return any rows.
    I tried to reproduce it in Toad:
    select * from asx_worklistitem
    where
    POD IN (''''||REPLACE('541449200000171813'||CHR(13) || CHR(10)||'541449206006341366', CHR(13) || CHR(10), ''',''')||'''')
    ==> This is the query that does't return any rows
    select (''''||REPLACE('541449200000171813'||CHR(13) || CHR(10)||'541449206006341366', CHR(13) || CHR(10), ''',''')||'''')
    from dual;
    ==> This returns '541449200000171813','541449206006341366'
    select * from asx_worklistitem
    where pod in ('541449200000171813','541449206006341366');
    ==> and when I copy/paste this in the above query, it does return my rows.
    So why does my first query doesn't work?
    Doe anyone have any idea?
    Kind regards,
    Geert
    Message was edited by:
    Zorry

    Thanks for the help.
    I made it work, but via the following code:
    If (:P30_POD Is Not Null) Then
    v_pods := REPLACE(:P30_POD, CHR(13) || CHR(10));
    v_where := v_where || v_condition || 'POD IN (';
    v_counter := 1;
    WHILE (v_counter < LENGTH(v_pods)) LOOP
    v_pod := SUBSTR(v_pods, v_counter, 18);
    IF (v_counter <> 1) THEN
    v_where := v_where || ',';
    END IF;
    v_where := v_where || '''' || v_pod || '''';
    v_counter := v_counter + 18;
    END LOOP;
    v_where := v_where || ')';
    v_condition := ' AND ';
    End If;But now I want to make an update of all the records that correspond to this search criteria. I can give in a status via a dropdownlist and that I want to update all the records that correspond to one of these POD's with that status.
    For a region you can build an SQL query via PL/SQL, but for a process you only have a PL/SQL block. Is the only way to update all these records by making a loop and make an update for every POD that is specified.
    Because I think this will have a lot of overhead.
    I would like to make something like a multi row update in an updateable report, but I want to specify the status from somewhere else. Is this possible?

  • Why bind doesn' work?

    Hi, please help me to understand why bind doesn't work.
    Here is my code:
    /** Simple enum used in bean. */
    public enum CommandType {
        NOP, CREATE, UPDATE, DELETE, MOVE;
    /** just simple bean. */
    public class Command {
        private CommandType commandType;
        private Integer objectId;
        /** Getters and setters are here*/
        @Override
        public String toString(){
            return "Command{commandType=>"+commandType.name()+",objectId=>"+objectId+"}";
    * Enum for singleton pattern realization.
    * The idea: currentCommand is changed in single threaded environment. JavaFX is binded on this filed.
    public enum CommandPublisher {
        PUBLISHER;
        /** For generating random Integers. */
        private Random random = new Random();
        /** Trying to bind JavaFX on this field value. */
        public Command currentCommand = new Command(CommandType.NOP, -1);
        /** Getter... */
        public Command currentCommand(){
            return currentCommand;
        /** Set new value. */
        public void setCommand(Command newCommand){
            currentCommand = newCommand;
        /** Utility method. Just set new command to currentCommand. */
        public Command generateRandomCommand(){
            return new Command(CommandType.CREATE, random.nextInt());
        public void setNewRandomObjectId(){
            currentCommand.setObjectId(random.nextInt());
    /** JavaFX code*/
    /** on replace works only one: when CommandPublisher is initialized, javaFXcurrentCommand  gets new value,
    *   was: null, became: Command{commandType=>NOP,objectId=>-1}
    var javaFXcurrentCommand = bind CommandPublisher.PUBLISHER.currentCommand on replace oldValue{
       println("Bind? oldValue={oldValue}, newValue={javaFXcurrentCommand}");
    Stage {
        title: "JavaFX bind on Java object field. "
        scene: Scene {
            width: 250
            height: 80
            content: [
                Text {
                    font : Font {
                        size : 16
                    x: 10
                    y: 30
                    content: "Application content"
                Button {
                     text: "Change currentCommand through CommandPublisher"
                    onMouseClicked:
                    function(e: MouseEvent) {
                        println("Mouse clicked -> Change currentCommand through CommandPublisher");
                        /** JavaFX var realy gets new objectId though java object field. But "on replace"  doesn't work. */
                        //CommandPublisher.PUBLISHER.setNewRandomObjectId();
                        /** Tried to use these methods: nothing happens. */
                        //CommandPublisher.PUBLISHER.currentCommand = CommandPublisher.PUBLISHER.generateRandomCommand();
                        //CommandPublisher.PUBLISHER.setCommand(CommandPublisher.PUBLISHER.generateRandomCommand());
                        println("currentCommand -> {javaFXcurrentCommand}");
                        println("Mouse clicked ##");
    }Sample output:
    init:
    deps-jar:
    compile:
    jar:
    standard-run:
    Bind? oldValue=null, newValue=Command{commandType=>NOP,objectId=>-1}
    Mouse clicked -> Change currentCommand through CommandPublisher
    currentCommand -> Command{commandType=>NOP,objectId=>-1}
    javaFXcommand -> Command{commandType=>NOP,objectId=>-1}
    Mouse clicked ##
    Mouse clicked -> Change currentCommand through CommandPublisher
    currentCommand -> Command{commandType=>NOP,objectId=>-1}
    javaFXcommand -> Command{commandType=>NOP,objectId=>-1}
    Mouse clicked ##
    As you can see, "on replace" is fired only once: when Enum became initialized.
    mouse clicking doesn't force "on replace" to work.
    What do I do wrong?

    Hi, please help me to understand why bind doesn't work.
    Here is my code:
    /** Simple enum used in bean. */
    public enum CommandType {
        NOP, CREATE, UPDATE, DELETE, MOVE;
    /** just simple bean. */
    public class Command {
        private CommandType commandType;
        private Integer objectId;
        /** Getters and setters are here*/
        @Override
        public String toString(){
            return "Command{commandType=>"+commandType.name()+",objectId=>"+objectId+"}";
    * Enum for singleton pattern realization.
    * The idea: currentCommand is changed in single threaded environment. JavaFX is binded on this filed.
    public enum CommandPublisher {
        PUBLISHER;
        /** For generating random Integers. */
        private Random random = new Random();
        /** Trying to bind JavaFX on this field value. */
        public Command currentCommand = new Command(CommandType.NOP, -1);
        /** Getter... */
        public Command currentCommand(){
            return currentCommand;
        /** Set new value. */
        public void setCommand(Command newCommand){
            currentCommand = newCommand;
        /** Utility method. Just set new command to currentCommand. */
        public Command generateRandomCommand(){
            return new Command(CommandType.CREATE, random.nextInt());
        public void setNewRandomObjectId(){
            currentCommand.setObjectId(random.nextInt());
    /** JavaFX code*/
    /** on replace works only one: when CommandPublisher is initialized, javaFXcurrentCommand  gets new value,
    *   was: null, became: Command{commandType=>NOP,objectId=>-1}
    var javaFXcurrentCommand = bind CommandPublisher.PUBLISHER.currentCommand on replace oldValue{
       println("Bind? oldValue={oldValue}, newValue={javaFXcurrentCommand}");
    Stage {
        title: "JavaFX bind on Java object field. "
        scene: Scene {
            width: 250
            height: 80
            content: [
                Text {
                    font : Font {
                        size : 16
                    x: 10
                    y: 30
                    content: "Application content"
                Button {
                     text: "Change currentCommand through CommandPublisher"
                    onMouseClicked:
                    function(e: MouseEvent) {
                        println("Mouse clicked -> Change currentCommand through CommandPublisher");
                        /** JavaFX var realy gets new objectId though java object field. But "on replace"  doesn't work. */
                        //CommandPublisher.PUBLISHER.setNewRandomObjectId();
                        /** Tried to use these methods: nothing happens. */
                        //CommandPublisher.PUBLISHER.currentCommand = CommandPublisher.PUBLISHER.generateRandomCommand();
                        //CommandPublisher.PUBLISHER.setCommand(CommandPublisher.PUBLISHER.generateRandomCommand());
                        println("currentCommand -> {javaFXcurrentCommand}");
                        println("Mouse clicked ##");
    }Sample output:
    init:
    deps-jar:
    compile:
    jar:
    standard-run:
    Bind? oldValue=null, newValue=Command{commandType=>NOP,objectId=>-1}
    Mouse clicked -> Change currentCommand through CommandPublisher
    currentCommand -> Command{commandType=>NOP,objectId=>-1}
    javaFXcommand -> Command{commandType=>NOP,objectId=>-1}
    Mouse clicked ##
    Mouse clicked -> Change currentCommand through CommandPublisher
    currentCommand -> Command{commandType=>NOP,objectId=>-1}
    javaFXcommand -> Command{commandType=>NOP,objectId=>-1}
    Mouse clicked ##
    As you can see, "on replace" is fired only once: when Enum became initialized.
    mouse clicking doesn't force "on replace" to work.
    What do I do wrong?

  • I hate the new operating system. Can't connect to wifi in home anymore even after a restore. Rhapsody no longer works on my phone either. Plus the brighth graphics are bothering my eyes even with brightness turned down. Any ideas on why rhapsody doesn't w

    I hate the new operating system. Can't connect to wifi in home anymore even after a restore. Rhapsody no longer works on my phone either. Plus the brighth graphics are bothering my eyes even with brightness turned down. Any ideas on why rhapsody doesn't why rhapsody doesn't work anymore?

    Contact Rhapsody to see if they have or plan to release an update for the app. Try uninstalling and reinstalling the app. Have you tried resetting your device by pressing and holding the Home button and power button until the silver apple appears?

  • Why Aperture doesn't send the RAW file to Photoshop

    I've seen the complaint about Aperture not passing the original RAW file to Photoshop in several places in this forum. I think I have a reason for why Aperture doesn't work this way.
    The reason has to do with the 1st law of digital RAW photography. "Never, ever, overwrite the original RAW data from a camera's RAW format file."
    Because of the above rule, both Aperture and Photoshop do not actually work on the original RAW file. They transform the RAW image data into a usable image using user specified settings (which may be the camera's default setting for that image). The original RAW file is left untouched.
    When you open a RAW file in Photoshop and try to save it, you'll be prompted for a new file name. You wouldn't want to overwrite the original RAW file by writing the edited image data back to it.
    When you edit an Aperture RAW file using Photoshop as the external editor, Aperture first creates a TIFF or PSD version image file in its library and then passes that file name to Photoshop. Photoshop opens the TIFF or PSD file and directly edits it. Since this version file is already in Aperture's library, when Photoshop is finished editing it, Aperture automatically sees the edited file because its already in the library.
    If Aperture were to send the RAW file name to Photoshop, Photoshop would open the RAW file and create a new PSD file. When it came time to save your edits, where would you save it. In order to get it back into Aperture's library, you would need some form of Photoshop to Aperture communication so that Photoshop would know where to save the edited file and Aperture would know to add it to the library. This would require collaboration between both Adobe and Apple and doesn't seem likely.
    I have a couple of ideas someone can try. These are only ideas and completely untested. I'd do it myself but I don't own Aperture (see my computer info below for the reason).
    1. Create two folders with automator actions. You export your RAW files from Aperture to a "Photoshop-IN" folder. Any new RAW image found in this folder will be automatically opened in Photoshop by the Automator action. Then you save the edited Photoshop file into a 2nd folder "Aperture-IN". Another Automator action imports this into Aperture.
    2. In iPhoto, if you try to edit a RAW image with an external editor, iPhoto creates an intermediate image file (JPEG I think) which it passes to Photoshop. But, if you drag the original RAW image thumbnail from iPhotos library window to the Photoshop icon in the dock, the original RAW image file is passed to Photoshop. You only have the problem of getting the saved Photoshop file back into iPhoto's library. Maybe this same thing would work in Aperture by dragging the Master image to the Photoshop icon in the dock.
    PowerMac G4 Dual 1.25GHz   Mac OS X (10.4.3)   FW800, 4 internal HD - 550GB

    This is all well and good. I wholeheartedly agree with the idea of keeping the "master" sacrosanct. What I object to is not being able to do the conversion in Photoshop (or elsewhere)
    What I want is for Aperture to send the raw over to photoshop when I select "open in external editor", and then follow the current workflow (I do my edits, hit save, and a second master is added to Aperture's db.)
    It's totally possible for them to do this, and it wouldn't break anything in the system, or the philosophy. Of course it's a workaround that wouldn't be necessary if Aperture's converter were up to snuff. But it isn't, and I bet it would be easier to implement the workaround than to fix the fundamental defects in the converter itself.

  • IDoc Transport Acknowledge doesn't return to PI 7.0 automatically

    Hi all,
    I realized an Integration scenario in which PI 7.0 generates custom IDocs messages (like MBGMCR) and send them to a SAP system (4.6 C). In particular there are the scenario steps:
    1. BPM -> IDoc msg
    2. IDoc msg transport ACK -> BPM
    3. BPM -> JDBC updating
    When SAP receive IDocs must send back to PI the related Transport Acknoledgement in order to complete the Integration Scenario with JDBC updating.
    So I observe that, if I don't refresh IDoc messages on SXMB_MONI, the Transport ACK doesn't return back from SAP to PI and the BPM remains pending.
    Any ideas?
    Thanks in advance,
    GB

    Hi Gaurav,
    could you please tell me which are these parameters:
    - partner number (for the receiver)
    - partner type (for the receiver)
    - partner role  (for the receiver)
    In my scenario PI 7.0 sends IDocs to R/3 so the receiver (written in the point 3 of the link you sent me) should be R/3.
    It's right?
    I'm unable to find the Parner Role. In which transaction can I found it?
    Thanks,
    GB

  • How do i turn off the 'Return Path' info in mac mail!

    I don't know where it came from? how i turned it on or worse....how to turn this 'return Path' info off.
    Please can someone help me.
    I have lines of information with the follow starting with 'Return-Path:'All under my
    FROM:
    CC:
    SUBJECT:
    TO:
    Headers in mac mail, please can some one tell me how to get rid of it! and tell me what its all about?

    Sounds like you're seeing the full e-mail headers in Mail, rather than just the From, Subject, Date and To lines like normal. Is this in every message or just one? If it's just one, select it and press command-shift-H, or choose View -> Message -> Default Headers.
    Alternately, if you're seeing it in every message, go to Mail -> Preferences, click the Viewing icon and set the "Show header detail" pop-up to Default.
    Message was edited by: Thomas A Reed

  • When i change permission of folder why it doesn't change the permission inside that folder?

    When i change permission of folder why it doesn't change the permission to inside  files of that folder?

    have to select "apply to enclosed items" options

  • Why 2 castings in return statement of entrySet() of HashMap?

    Hi
    When looking through the code of the HashMap class in jdk 1.5 in Eclipse 3.2 I see the following:
    public Set<Map.Entry<K,V>> entrySet() {
    Set<Map.Entry<K,V>> es = entrySet;
    return (es != null ? es : (entrySet = (Set<Map.Entry<K,V>>) (Set) new EntrySet()));
    Here I am wondering why there in the return statement are 2 (two) castings:
    return (es != null ? es : (entrySet = (Set<Map.Entry<K,V>>) (Set) new EntrySet()));
    , where I think of (Set<Map.Entry<K,V>>) (Set)
    Can anyone give me a good explanation to this?
    Thank you!

    Hi,
    you're right: the casts are not really necessary at all, since an assignment from a raw type is possible without an explicit cast. Either with or without the casts, the compiler will issue an "unchecked" warning.
    (And, of course, a single cast to the target type would also work here.)
    The "correct" way to fix the code would be to make the inner class EntrySet a parameterized class by deriving it from AbstractSet<Map.Entry<K,V>>. Then all "unchecked" warnings would automatically disappear.
    My guess is that by the time the developer generified the HashMap, there where still compiler bugs preventing him from declaring inner classes such as EntrySet correctly. Since then, nobody's touched the code again.

  • Why cant I use relative paths in Netbeans

    Why cant I use relative paths in Netbeans to files on my PC.
    I want to be able to copy my project folder between different drives and pcs dont want to edit the code everytime I do.
    BTW I didnt know where on the forum to post this. Just in case this is the wrong place.

    When I use relative paths it doesnt see the files. Like when I want to add an image to a panel. If I use '../image.jpg' it wont work but if I use 'd:\javafiles\images\image.jpg\ it will work.
    Cant seem to fix it.

Maybe you are looking for

  • BDC Problem about call T-CODE BUG2

    hey every friends, I have a requirement about BDC process t-code BUG2. The requirement is as following: Update the value of the email address field reference to the bussiness partner in t-code BUG2. The issule I meet is that: 1 Whatever dismode( N,E,

  • EMac - Modem problem ?

    I am using dial-up internet access with the Emac internal modem....when my modem is plugged in, and I am NOT connected to the internet, my home phone cannot receive incoming calls. This happens even when the eMac is switched off. I have tried connect

  • How to merge two apple ID

    I've had an Apple ID based on an old AOL email address, lets say its "Jeff1234" The email address on my Apple ID above is a Yahoo email address, lets say its "[email protected]" I used my Apple ID above for years, for Apple support and my iTunes acco

  • Lightroom 5 only converts 1 photo in folder from RAW to DNG

    I am fairly new to Lightroom and I am having problems with converting photos from RAW (RW2, Lumix FZ200) to DNG. I am in Library Mode, select all photos in a folder, go to Library>Convert Photo to DNG and only 1 photo gets converted. I am aware that

  • Charts inside of Reports 6

    Report Builder 6.0.8.12.1 Database: 7.3.4 Is there a way to combine several groups (queries) into one chart (without creating one select statement)? ~Vannette