Fórumok

Opening a file from the terminal (command line)

thumbnail
Roar Granevang, módosítva 10 év-val korábban

Opening a file from the terminal (command line)

New Member Bejegyzések: 2 Csatlakozás dátuma: 2013.09.02. Legújabb bejegyzések
Hi. In Eclipse you can type:
eclipse filename.java
from a terminal and Eclipse will open that file in the already open IDE. This is often more practical than dragging and dropping it into the IDE using the mouse.

In Liferay Developer Studio (Version: 1.6.2.v201308230436), when you type
LiferayDeveloperStudio filename.java
it does not open filename.java. And if you already have Liferay Developer Studio running, it will start a whole new instance with a new workspace. When I compare the LiferayDeveloperStudio.ini file with the one for Eclipse I cannot find any different settings. They both have the
--launcher.defaultAction openFile
opion set.

I also have the same problem when I right-click a file and tells the OS to open this file in LiferayDeveloperStudio

I'm running Ubuntu 13.04 with the standard Unity GUI.

Looking forward hearing from you.
thumbnail
Gregory Amerson, módosítva 10 év-val korábban

RE: Opening a file from the terminal (command line)

Liferay Legend Bejegyzések: 1123 Csatlakozás dátuma: 2010.02.16. Legújabb bejegyzések
Hello Roar,

We will look into this issue on our side and let you know what we find.

Thanks for the report.
thumbnail
Gregory Amerson, módosítva 10 év-val korábban

RE: Opening a file from the terminal (command line) (Válasz)

Liferay Legend Bejegyzések: 1123 Csatlakozás dátuma: 2010.02.16. Legújabb bejegyzések
Hello again Roar,

We have been able to reproduce this problem. We will try to fix this problem in the upcoming 2.0 version of Studio. Thanks so much for submitting the report.