|
0 / 0 / 0
Регистрация: 23.12.2012
Сообщений: 21
|
|
Как запустить проект на Java с гитхаба оффлайн?02.07.2017, 23:55. Показов 1381. Ответов 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 ?
Как запустить проект? Как запустить проект? Искать еще темы с ответами Или воспользуйтесь поиском по форуму: |
|
Новые блоги и статьи
|
|||
|
Подключение Box2D v3 к SDL3 для Android: физика и отрисовка коллайдеров
8Observer8 29.01.2026
Содержание блога
Box2D - это библиотека для 2D физики для анимаций и игр. С её помощью можно определять были ли коллизии между конкретными объектами. Версия v3 была полностью переписана на Си, в. . .
|
Инструменты COM: Сохранение данный из VARIANT в файл и загрузка из файла в VARIANT
bedvit 28.01.2026
Сохранение базовых типов COM и массивов (одномерных или двухмерных) любой вложенности (деревья) в файл, с возможностью выбора алгоритмов сжатия и шифрования.
Часть библиотеки BedvitCOM
Использованы. . .
|
Загрузка PNG с альфа-каналом на SDL3 для Android: с помощью SDL_LoadPNG (без SDL3_image)
8Observer8 28.01.2026
Содержание блога
SDL3 имеет собственные средства для загрузки и отображения PNG-файлов с альфа-каналом и базовой работы с ними. В этой инструкции используется функция SDL_LoadPNG(), которая. . .
|
Загрузка PNG с альфа-каналом на SDL3 для Android: с помощью SDL3_image
8Observer8 27.01.2026
Содержание блога
SDL3_image - это библиотека для загрузки и работы с изображениями. Эта пошаговая инструкция покажет, как загрузить и вывести на экран смартфона картинку с альфа-каналом, то есть с. . .
|
|
Влияние грибов на сукцессию
anaschu 26.01.2026
Бифуркационные изменения массы гриба происходят тогда, когда мы уменьшаем массу компоста в 10 раз, а скорость прироста биомассы уменьшаем в три раза. Скорость прироста биомассы может уменьшаться за. . .
|
Воспроизведение звукового файла с помощью SDL3_mixer при касании экрана Android
8Observer8 26.01.2026
Содержание блога
SDL3_mixer - это библиотека я для воспроизведения аудио. В отличие от инструкции по добавлению текста код по проигрыванию звука уже содержится в шаблоне примера. Нужно только. . .
|
Установка Android SDK, NDK, JDK, CMake и т.д.
8Observer8 25.01.2026
Содержание блога
Перейдите по ссылке: https:/ / developer. android. com/ studio и в самом низу страницы кликните по архиву "commandlinetools-win-xxxxxx_latest. zip"
Извлеките архив и вы увидите. . .
|
Вывод текста со шрифтом TTF на Android с помощью библиотеки SDL3_ttf
8Observer8 25.01.2026
Содержание блога
Если у вас не установлены Android SDK, NDK, JDK, и т. д. то сделайте это по следующей инструкции: Установка Android SDK, NDK, JDK, CMake и т. д.
Сборка примера
Скачайте. . .
|