catch.jp-wiki
¥×¥í¥°¥é¥ß¥ó¥°
±Ñ¸ì³Ø½¬
ÍúÎò
¸¡º÷
Dropdown
°ìÍ÷
Build_Blockly-Games_Win
¤ò¥Æ¥ó¥×¥ì¡¼¥È¤Ë¤·¤ÆºîÀ®
³«»Ï¹Ô:
[[Programing]] > [[Programing/Blockly2014]] > Build_Bloc...
#title(Build Blockly-Games on Window: ÆüËܸìÉÕ¤)
This instruction is how to install and build Blockly-Game...
¤³¤Î¥É¥¥å¥á¥ó¥È¤Ç¤Ï¡¢ Windows¤ÇBlockly-Games¤òƳÆþ/¹½ÃÛ...
¥Ó¥ë¥É¤Ë¤Ï¡¢Windows7¤ò»È¤¤¤Þ¤·¤¿¡£É¬Íפʥġ¼¥ë¤â¿´ô¤Ë¤ï...
¥Í¥Ã¥È¤ÇÄ´¤Ù¤¿¤±¤É¡¢±Ñ¸ì¤Ç¤â¤Û¤È¤ó¤É¾ðÊ󤬸«¤Ä¤«¤é¤Ê¤«¤Ã...
2014-10-27
#contents
* Dependencies ɬÍפʤâ¤Î [#vec6d812]
- Git : for download source-code.
- Cygwin https://www.cygwin.com/
-- include Python 2.7
-- Add "Devel" - "make"
-- Add "Devel" - "git-svn"
- JDK(Java SE Development Kit) : http://www.oracle.com/te...
-- Set the environment variables for Windows : Windows¤Î...
-- JAVA_HOME : (JDK Path)
-- path : (JDK Path)\bin
- Apache Ant : http://ant.apache.org/
-- Set the environment variables for Windows: Windows¤Î´Ä...
-- JAVA_HOME : (ANT Path)
-- path : (ANT Path)\bin
* Download [#u8d30b6f]
Download source of Blockly-Games. ¥½¡¼¥¹¥³¡¼¥É¤ò¥À¥¦¥ó¥í...
- git clone https://code.google.com/p/blockly-games/
- https://code.google.com/p/blockly-games/source/checkout
* Edit Makefile [#yb30934f]
change path from googlecode to github.
old
svn checkout http://blockly.googlecode.com/svn/trunk/cor...
svn checkout http://blockly.googlecode.com/svn/trunk/blo...
svn checkout http://blockly.googlecode.com/svn/trunk/gen...
svn checkout http://blockly.googlecode.com/svn/trunk/msg...
New
svn checkout https://github.com/google/blockly/trunk/cor...
svn checkout https://github.com/google/blockly/trunk/blo...
svn checkout https://github.com/google/blockly/trunk/gen...
svn checkout https://github.com/google/blockly/trunk/msg...
* Build ¥Ó¥ë¥É [#e5319b98]
Run these commands on Cygwin.
** 1.Build deps [#k5a1a5ee]
cd blockly-games/
make deps
** 2.edit build.xml [#zfbfbee7]
If this works, great! But it will probably die with this ...
[javac] Compiling 375 source files to...
In this case you need to edit closure-templates-read-only...
¤³¤Î¾ì¹ç¡¢closure-templates-read-only/build.xm¤òÊÔ½¸¤·¤Æ...
"1.6" -> "1.7"
It is depend JDK version, maybe.
¤¿¤Ö¤ó¡¢Java¤Î¥Ð¡¼¥¸¥ç¥ó¤Ë¤è¤Ã¤Æ¡¢Êѹ¹¤¹¤ë¿ô»ú¤¬ÊѤï¤ë?
and run "make deps" again.
** 3.Build English [#l5b9e1d6]
make en
** Option. Build all Languages [#s4a94d1f]
Need many hours.
make languages
** Option. Build one Game [#fed6e217]
make index-en
make puzzle-en
make maze-en
make bird-en
make turtle-en
make movie-en
make pond-docs-en
make pond-basic-en
make pond-advanced-en
* Test Locally : Æ°ºî³Îǧ [#x79f2881]
Open blockly-games/appengine/index.html?lang=en
* Reference : »²¹Í [#d1a23dd0]
- https://code.google.com/p/blockly-games/wiki/Build
½ªÎ»¹Ô:
[[Programing]] > [[Programing/Blockly2014]] > Build_Bloc...
#title(Build Blockly-Games on Window: ÆüËܸìÉÕ¤)
This instruction is how to install and build Blockly-Game...
¤³¤Î¥É¥¥å¥á¥ó¥È¤Ç¤Ï¡¢ Windows¤ÇBlockly-Games¤òƳÆþ/¹½ÃÛ...
¥Ó¥ë¥É¤Ë¤Ï¡¢Windows7¤ò»È¤¤¤Þ¤·¤¿¡£É¬Íפʥġ¼¥ë¤â¿´ô¤Ë¤ï...
¥Í¥Ã¥È¤ÇÄ´¤Ù¤¿¤±¤É¡¢±Ñ¸ì¤Ç¤â¤Û¤È¤ó¤É¾ðÊ󤬸«¤Ä¤«¤é¤Ê¤«¤Ã...
2014-10-27
#contents
* Dependencies ɬÍפʤâ¤Î [#vec6d812]
- Git : for download source-code.
- Cygwin https://www.cygwin.com/
-- include Python 2.7
-- Add "Devel" - "make"
-- Add "Devel" - "git-svn"
- JDK(Java SE Development Kit) : http://www.oracle.com/te...
-- Set the environment variables for Windows : Windows¤Î...
-- JAVA_HOME : (JDK Path)
-- path : (JDK Path)\bin
- Apache Ant : http://ant.apache.org/
-- Set the environment variables for Windows: Windows¤Î´Ä...
-- JAVA_HOME : (ANT Path)
-- path : (ANT Path)\bin
* Download [#u8d30b6f]
Download source of Blockly-Games. ¥½¡¼¥¹¥³¡¼¥É¤ò¥À¥¦¥ó¥í...
- git clone https://code.google.com/p/blockly-games/
- https://code.google.com/p/blockly-games/source/checkout
* Edit Makefile [#yb30934f]
change path from googlecode to github.
old
svn checkout http://blockly.googlecode.com/svn/trunk/cor...
svn checkout http://blockly.googlecode.com/svn/trunk/blo...
svn checkout http://blockly.googlecode.com/svn/trunk/gen...
svn checkout http://blockly.googlecode.com/svn/trunk/msg...
New
svn checkout https://github.com/google/blockly/trunk/cor...
svn checkout https://github.com/google/blockly/trunk/blo...
svn checkout https://github.com/google/blockly/trunk/gen...
svn checkout https://github.com/google/blockly/trunk/msg...
* Build ¥Ó¥ë¥É [#e5319b98]
Run these commands on Cygwin.
** 1.Build deps [#k5a1a5ee]
cd blockly-games/
make deps
** 2.edit build.xml [#zfbfbee7]
If this works, great! But it will probably die with this ...
[javac] Compiling 375 source files to...
In this case you need to edit closure-templates-read-only...
¤³¤Î¾ì¹ç¡¢closure-templates-read-only/build.xm¤òÊÔ½¸¤·¤Æ...
"1.6" -> "1.7"
It is depend JDK version, maybe.
¤¿¤Ö¤ó¡¢Java¤Î¥Ð¡¼¥¸¥ç¥ó¤Ë¤è¤Ã¤Æ¡¢Êѹ¹¤¹¤ë¿ô»ú¤¬ÊѤï¤ë?
and run "make deps" again.
** 3.Build English [#l5b9e1d6]
make en
** Option. Build all Languages [#s4a94d1f]
Need many hours.
make languages
** Option. Build one Game [#fed6e217]
make index-en
make puzzle-en
make maze-en
make bird-en
make turtle-en
make movie-en
make pond-docs-en
make pond-basic-en
make pond-advanced-en
* Test Locally : Æ°ºî³Îǧ [#x79f2881]
Open blockly-games/appengine/index.html?lang=en
* Reference : »²¹Í [#d1a23dd0]
- https://code.google.com/p/blockly-games/wiki/Build
¥Ú¡¼¥¸Ì¾: