hdiutil: attach failed - No such file or directory, in Maven Projects using applescript??

Hi All.


am trying to mount the application which is present in some module named x, am using Maven projects here, so for my mounting the app am using shell script and i have given path of the application which is present in module x. If a try to run the test from the class where this mounting method is present its being compiled and am getting results properly, but when i used this mounting method in some other test class and ran the test, its saying no such file present, i know this looks something starnge, but am facing this issue, pls guide how to overcome the same.

do shell script "hdiutil mount ../../common/src/main/resources/Modulex/AdbeRdr11000_en_US.dmg"

Mac OS X (10.7.4)

Posted on Dec 17, 2012 5:13 AM

Reply
2 replies

Dec 17, 2012 8:14 AM in response to madhusudhanjr

I just want to point out for anyone else who may be confused on this point that the 'mount' verb is undocumented for hdiutil (at least in 10.7). The correct verb to use is 'attach' as in hdiutil attach ../common/src/main/resources/Modulex/AdbeRdr11000_en_US.dmg - 'mount' is probably a compatability verb aimed at people used to linux or standard unix.


I was surprised 'mount' worked at all, really, but there you go.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

hdiutil: attach failed - No such file or directory, in Maven Projects using applescript??

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.