cd $IJETTY_HOME/コンソール
mvn クリーン インストール
これにより、$IJETTY_HOME/console/webapp/target に war ファイルが生成され、$IJETTY_HOME/console/apk/target に apk も生成されます (ただし、前述したように、おそらく関心はありません)。
しかし、次のエラーが発生しました(...ああ、なんてこった。画像をアップロードできません; 0)
**
[INFO] --- exec-maven-plugin:1.2:exec (generate-dex) @ console ---
Unable to access jarfile ${env.ANDROID_HOME}/platform-tools/lib/dx.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] I-Jetty :: Console Parent ......................... SUCCESS [0.241s]
[INFO] I-Jetty :: Console Webapp ......................... FAILURE [2.431s]
[INFO] I-Jetty :: Console Android Installer .............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.122s
[INFO] Finished at: Thu Nov 08 19:33:47 KST 2012
[INFO] Final Memory: 14M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (generate-dex) on project console: Command execution failed. Process exited with an error: 1(Exit value: 1) -> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :console**
そして、「Eclipseでビルド」を試しました
最後に、次のようなエラーが発生しました。
Maven プロジェクトのインポートで、
exec-maven-plugin:1.2:exec (1 エラー)
maven-antrun-plugin:1.6:run(1 エラー)
maven-depoendency-plugin:2.3:unpack-dependencies(1 エラー)
助けてください。
Mac OS X Lion に eclipse を使用して maven プラグイン 1.3 をインストールしました。