[oXygen-user] soft link to the java app stub to easily open a file

Robert Koberg
Fri Aug 29 07:29:39 CDT 2008


uff, thanks,

Just switched over from Ubuntu to OS X (again) and thought I needed  
something special...

$ open /path/to/file.xml

works fine.

thanks,
-Rob


On Aug 29, 2008, at 3:48 AM, Dan Caprioara wrote:

> Hello,
>
> You can use the "open" shell utility, like this:
>
> open -a  /Applications/oxygen/Oxygen.app /path/to/file.xml
>
> To create an alias, use "open -e /Users/ 
> your_user_name/.bash_profile" to start editing the .bash_profile  
> file with TextEdit, and then add the line:
>
> alias oxy='open -a  /Applications/oxygen/Oxygen.app '
>
> Make sure you preserve the space after the  ".app". You must restart  
> the Terminal application before trying it out.
>
>
> Cheers,
> Dan
>
>
> Robert Koberg wrote:
>> Hi,
>>
>> I am looking for a simple way to open a file in a running oxygen  
>> app.  have found that I can open a file in a running instance of  
>> oxygen like so:
>>
>> $ /Applications/oxygen/Oxygen.app/Contents/MacOS/ 
>> JavaApplicationStub /path/to/file.xml
>>
>> I tried to create a soft link the JavaApplicationStub in my home  
>> dir, but the system does not recognize it as a file. Is there some  
>> way I can alias the longish path so I can do something like (while  
>> in my home dir):
>>
>> $ oxy /path/to/file.xml
>>
>> Is there a better/easier way?
>>
>> thanks for any tips,
>> -Rob
>> _______________________________________________
>> oXygen-user mailing list
>> 
>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user




More information about the oXygen-user mailing list