= ArduBlockのコンパイル
mvn validate
としてから
mvn exec:java -Dexec.mainClass="com.ardublock.Main"
とするとエラー。
{{{
[WARNING] The POM for edu.mit:openblocks:jar:1.0.2-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.601s
[INFO] Finished at: Fri Oct 18 09:31:22 JST 2013
[INFO] Final Memory: 10M/80M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ardublock: Could not resolve dependencies for project org.ardublock:ardublock:jar:0.1.0-SNAPSHOT: Failure to find edu.mit:openblocks:jar:1.0.2-SNAPSHOT in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
}}}
と出たので
{{{
apt-get install openjdk-7-jdk
}}}
https://github.com/taweili/openblocksよりソースをダウンロードして展開、
{{{
mvn install
}}}
{{{
mvn exec:java -Dexec.mainClass="com.ardublock.Main"
}}}
はエラーが出るが
{{{
mvn compile exec:java -Dexec.mainClass="com.ardublock.Main"
}}}
は実行できた
{{{
mvn package
}}}
でjarファイルができた
= Arduino IDE上のtoolメニュー上の表示を変更する方法 [#ba6d77c8]
Context.java中のString APP_NAMEを変更する