Jak uruchomić eclipse w trybie czystym? a co się stanie, jeśli to zrobimy?

Jeśli coś nie działa poprawnie lub niektóre wtyczki są ładowane poprawnie w moim Eclipse. Często dostaję sugestie, aby otworzyć Eclipse w trybie czystym. Jak uruchomić w trybie czystym? a co się stanie, jeśli to zrobię?

 178
Author: venkatvb, 2010-01-08

9 answers

Co robi:

Jeśli jest ustawiona na "true", używane są wszystkie buforowane dane przez framework OSGi i eclipse runtime zostanie wyczyszczone. To będzie Wyczyść pamięć podręczną używaną do przechowywania pakietu rozwiązywanie zależności i eclipse rozszerzenie danych rejestru. Używając tego opcja zmusi eclipse do wznowić te skrytki.

Jak go używać:

  • Edytuj plik eclipse.ini znajdujący się w Twoim katalogu instalacyjnym Eclipse i wstaw -clean jako pierwszą linię.
  • lub edytuj skrót używany do uruchomienia Eclipse i dodaj -clean jako pierwszy argument.
  • lub utworzyć skrypt wsadowy lub powłokowy, który wywoła plik wykonywalny Eclipse z argumentem -clean. Zaletą tego kroku jest to, że możesz zachować skrypt i używać go za każdym razem, gdy chcesz wyczyścić przestrzeń roboczą. Możesz nazwać to coś jak eclipse-clean.bat (lub eclipse-clean.sh).

(od: http://www.eclipsezone.com/eclipse/forums/t61566.html )

Inne opcje linii poleceń eclipse: http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fruntime-options.html

 245
Author: Eran Medan,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2015-10-30 13:44:40

Dla trybu czystego: uruchom platformę jak

eclipse -clean
To wszystko. Platforma wyczyści niektóre buforowane informacje o pakiecie OSGi, pomaga lub jest zalecana, jeśli ręcznie instalujesz nowe wtyczki lub usuwasz nieużywane wtyczki.

Nie wpłynie to na żadne dane związane z przestrzenią roboczą.

 72
Author: Andreas_D,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2010-01-08 19:23:11

Możesz uruchomić Eclipse w trybie czystym z linii poleceń:

eclipse -clean
 28
Author: Spike Williams,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2010-01-08 19:22:10

Użycie opcji -clean jest dobrym rozwiązaniem, o czym wspominają Pozostałe odpowiedzi.

Upewnij się, że usuniesz go ze swojego .ini lub skrótu po naprawieniu problemu. Powoduje to, że Eclipse ponownie ocenia wszystkie wtyczki za każdym razem, gdy się uruchamia i może znacznie zwiększyć czas uruchamiania, w zależności od liczby zainstalowanych wtyczek Eclipse.

 16
Author: James Branigan,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2017-04-07 00:00:22
  • Kliknij na Skrót
  • Kliknij prawym przyciskiem myszy - > Właściwości
  • add-clean w klauzuli target, a następnie start.

To zajmie dużo czasu niż normalny start i odświeży wszystkie zasoby.

 11
Author: RTA,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2014-01-09 00:45:37

Dla Mac OS X Yosemite udało mi się użyć polecenia open.

Usage: open [-e] [-t] [-f] [-W] [-R] [-n] [-g] [-h] [-b <bundle identifier>] [-a <application>] [filenames] [--args arguments]
Help: Open opens files from a shell.
      By default, opens each file using the default application for that file.  
      If the file is in the form of a URL, the file will be opened as a URL.
Options: 
      -a                Opens with the specified application.
      -b                Opens with the specified application bundle identifier.
      -e                Opens with TextEdit.
      -t                Opens with default text editor.
      -f                Reads input from standard input and opens with TextEdit.
      -F  --fresh       Launches the app fresh, that is, without restoring windows. Saved persistent state is lost, excluding Untitled documents.
      -R, --reveal      Selects in the Finder instead of opening.
      -W, --wait-apps   Blocks until the used applications are closed (even if they were already running).
          --args        All remaining arguments are passed in argv to the application's main() function instead of opened.
      -n, --new         Open a new instance of the application even if one is already running.
      -j, --hide        Launches the app hidden.
      -g, --background  Does not bring the application to the foreground.
      -h, --header      Searches header file locations for headers matching the given filenames, and opens them.

To mi pomogło:

open eclipse.app --args clean
 4
Author: gview,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2015-08-11 19:39:32

Łatwiejszą opcją jest użyj ./eclipse -clean

 3
Author: nchouhan,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2016-04-02 11:07:26

Aby wyczyścić konfigurację startową, zobacz tę poradę:

Http://www.eclipsezone.com/eclipse/forums/t83410.html

 2
Author: keesp,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2013-01-04 10:29:58

Dla użytkowników Windows: Możesz zrobić tak, jak powiedział RTA lub za pomocą linii poleceń: Przejdź do lokalizacji pliku wykonywalnego eclipse i uruchom:

 eclipse.lnk -clean

Najpierw sprawdź nazwę pliku wykonywalnego używając polecenia 'dir' na jego ścieżce

 2
Author: cristianorbs,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2014-10-13 19:09:22