|
0 / 0 / 0
Регистрация: 23.12.2012
Сообщений: 21
|
|
Как запустить проект на Java с гитхаба оффлайн?02.07.2017, 23:55. Показов 1384. Ответов 0
Метки нет (Все метки)
Есть вот такое https://github.com/sharpie7/circuitjs1
Там есть ридми, в котором написано как всё это нужно настроить. Кликните здесь для просмотра всего текста
Building the application
The tools you will need to build the project are: Eclipse - I am using the Kepler version. Google plugin for Eclipse to provide GWT. Install "Eclipse for Java developers" from here. To add the Google plugin for Eclipse follow the instructions here. This archive is a project folder for your Eclipse project space. Once you have a local copy you can then build and run in development mode or build for deployment. Running in development mode is done using the normal Eclipse run button or "Run As..." and choosing "Web Application (Super Dev Mode)" and then picking "Circuitjs1.html" as the initial page. Building for deployment is done by selecting the project root node and using the Google button on the Eclipse taskbar and choosing "GWT Compile Project...". GWT will build it's output in to the "war" directory. In the "war" directory the file "iframe.html" is loaded as an iFrame in to the spare space at the bottom of the right hand pannel. It can be used for branding etc. Deployment "GWT Compile Project..." as explained above. This will put the outputs in to the "war" directory in the Eclipse project folder. You then need to copy everything in the "war" directory, except the "WEB-INF" directory, on to your web server. Customize the header of the file "circuitjs1.html" to include your tracking, favicon etc. Customize the "iframe.html" file to include any branding you want in the right hand panel of the application The optional file "shortrelay.php" is a server-side script to act as a relay to a URL shortening service to avoid cross-origin problems with a purely client solution. You may want to customize this for your site. If you don't want to use this feature edit the circuitjs1.java file before compiling. If you wish to enable dropbox loading and saving a dropbox API app-key is needed. This should be edited in to the circuitjs.html file where needed. If this is not included the relevant features will be disabled. The link for the full-page version of the application is now: http://<your host>/<your path>/circuitjs1.html (you can rename the "circuitjs1.html" file if you want too though you should also update "shortrelay.php" if you do). Just for reference the files should look like this -+ Directory containing the front page (eg "circuitjs") +- circuitjs.html - full page version of application +- iframe.html - see notes above +- shortrelay.php - see notes above ++ circuitjs1 (directory) +- various files built by GWT +- circuits (directory, containing example circuits) +- setuplist.txt (index in to example circuit directory) Может, я что-то неправильно понял, но я перепробовал уже три версии Эклипса 4.7, 4.6, 4.3., ставил на них этот гугл-плагин, открывал circuitjs1-master.zip как директорию проекта, нажимал Run as, короче говоря не работает. В эклипсе и яве ничего не знаю. Кто может подсказать, как сделать, чтобы вот это www.falstad.com/circuit/circuitjs.html работало на компьютере с семёркой в офлайне?
0
|
|
| 02.07.2017, 23:55 | |
|
Ответы с готовыми решениями:
0
Не могу запустить Java libgdx проект на IntelliJ IDEA, перенесенный с Eclipse Как запустить Java EE проект? Как запустить программу с гитхаба? |
| 02.07.2017, 23:55 | |
|
Помогаю со студенческими работами здесь
1
Как отрыть проект с гитхаба Как правильно скачивать проект с гитхаба с использованием Git ?
Как запустить проект? Как запустить проект? Искать еще темы с ответами Или воспользуйтесь поиском по форуму: |
|
| Опции темы | |
|
|
Новые блоги и статьи
|
|||
|
Символьное дифференцирование
igorrr37 13.02.2026
/ *
Логарифм записывается как: (x-2)log(x^2+2) - означает логарифм (x^2+2) по основанию (x-2).
Унарный минус обозначается как !
*/
#include <iostream>
#include <stack>
#include <cctype>. . .
|
Камера Toupcam IUA500KMA
Eddy_Em 12.02.2026
Т. к. у всяких "хикроботов" слишком уж мелкий пиксель, для подсмотра в ESPriF они вообще плохо годятся: уже 14 величину можно рассмотреть еле-еле лишь на экспозициях под 3 секунды (а то и больше),. . .
|
И ясному Солнцу
zbw 12.02.2026
И ясному Солнцу,
и светлой Луне.
В мире
покоя нет
и люди
не могут жить в тишине.
А жить им немного лет.
|
«Знание-Сила»
zbw 12.02.2026
«Знание-Сила»
«Время-Деньги»
«Деньги -Пуля»
|
|
SDL3 для Web (WebAssembly): Подключение Box2D v3, физика и отрисовка коллайдеров
8Observer8 12.02.2026
Содержание блога
Box2D - это библиотека для 2D физики для анимаций и игр. С её помощью можно определять были ли коллизии между конкретными объектами и вызывать обработчики событий столкновения. . . .
|
SDL3 для Web (WebAssembly): Загрузка PNG с прозрачным фоном с помощью SDL_LoadPNG (без SDL3_image)
8Observer8 11.02.2026
Содержание блога
Библиотека SDL3 содержит встроенные инструменты для базовой работы с изображениями - без использования библиотеки SDL3_image. Пошагово создадим проект для загрузки изображения. . .
|
SDL3 для Web (WebAssembly): Загрузка PNG с прозрачным фоном с помощью SDL3_image
8Observer8 10.02.2026
Содержание блога
Библиотека SDL3_image содержит инструменты для расширенной работы с изображениями. Пошагово создадим проект для загрузки изображения формата PNG с альфа-каналом (с прозрачным. . .
|
Установка Qt-версии Lazarus IDE в Debian Trixie Xfce
volvo 10.02.2026
В общем, достали меня глюки IDE Лазаруса, собранной с использованием набора виджетов Gtk2 (конкретно: если набирать текст в редакторе и вызвать подсказку через Ctrl+Space, то после закрытия окошка. . .
|