Windowsで実施する前提で書きます 先日紹介した sbt0.11を使ってscala androidプロジェクトをデプロイする の scala android プロジェクトを eclipse で編集できるようにします。 sbteclipse を使って、 eclipse 設定ファイルを生成しますが、 『こうなってくれたら』とは少し設定が違ってしまうので、 sbteclipse 適用後に手動で直すことにします。 sbteclipse を適用する前に、作成した scala androidプロジェクトの "project\build.scala" の scalaVersion := "2.9.0.1", の部分を、自分が使いたい scala のバージョンにあわせておきましょう。 (あわせておかないとうまく動きません) sbteclipse について説明されているサイト https://githu
sbaz はなくなりました! なんだか、(自分の観測範囲内で) sbaz が添付されていないとか、どこいったんだーとか言っている人が多いので、あえてこれだけのために blog を・・・。 詳しいことは知りません*1 が、 2.9.1-1だか2.9.2あたりから sbaz は入ってません、それが正常らしいですよ! ちなみに、昔はsbaz使ってAndroidやる方法があったらしいですが、今はこれ https://github.com/jberkel/android-plugin 使ってください。これ↑でAndroidをやるにしても、sbt自体のversionが古い記事がいっぱいあって、古いやつ参考にしてやってもハマるだけなので注意してください。あと Scala の vim や emacs などの、エディタ用のシンタックスハイライトのためのファイル についても、別に書いておきました *1:誰か説
はてなグループの終了日を2020年1月31日(金)に決定しました 以下のエントリの通り、今年末を目処にはてなグループを終了予定である旨をお知らせしておりました。 2019年末を目処に、はてなグループの提供を終了する予定です - はてなグループ日記 このたび、正式に終了日を決定いたしましたので、以下の通りご確認ください。 終了日: 2020年1月31日(金) エクスポート希望申請期限:2020年1月31日(金) 終了日以降は、はてなグループの閲覧および投稿は行えません。日記のエクスポートが必要な方は以下の記事にしたがって手続きをしてください。 はてなグループに投稿された日記データのエクスポートについて - はてなグループ日記 ご利用のみなさまにはご迷惑をおかけいたしますが、どうぞよろしくお願いいたします。 2020-06-25 追記 はてなグループ日記のエクスポートデータは2020年2月28
Windowsで実施する前提で書きます 「jberkel/android-plugin」 https://github.com/jberkel/android-plugin に説明されている方法に従って対応していきます。 以下がすでに動く状態になっていることが前提です。 sbt 0.11 ( https://github.com/harrah/xsbt/wiki ) Android SDK ( http://developer.android.com/sdk/index.html ) ** 環境変数"ANDROID_HOME"に、Android SDK のインストールディレクトリを設定しておく msysgit ( http://code.google.com/p/msysgit/ ) ** gitコマンドを使ってダウンロードするのに使う Conscript のインストール Conscrip
春の伊予国漫遊記。松山・今治と愛媛の魅力を満喫してきました。 法事を兼ねて愛媛観光へ 2024年のGWは、毎年恒例の名古屋帰省ではなく自宅でゆっくり過ごしておりました。というのも、4月に法事のため愛媛・松山に親族大集合というイベントがありまして、そちらをGWの旅行代わりにしたという理由です。法事は日曜日の予定ということ…
java で Android アプリケーションを書くのが嫌になりました。矢張り java より scala でしょう。 一から作る場合は giter8 で適当にやれば、特に問題なくできるわけですが、既存のプロジェクトに scala コードを追加する場合、どうやればいいかよく分からなかったので少し調べました。成果物は github にあります。 まず普通に `android create project` でプロジェクトを作ります。 次に giter8 が作るプロジェクトテンプレートと Building Java Android projects を参考に適当に sbt でビルドできるようにします。必要ない設定とか、必要ない依存関係とかあるけど、気にしない、気にしない… いよいよ scala のコードを追加するわけですが、今のところ android-plugin で scala コードを書く
The new 2.9.0 version of the Scala programming language was released recently and in this tutorial, I’ll show you how it can be used to program Android. Those who want to cut to the chase can clone the project from GitHub and start trying it out. Read on for an explanation of how Scala compilation is added to the Android build system. Since Scala runs in the JVM, it should theoretically be possibl
Android+Scala+Eclipseの開発環境構築手順なぞ。 環境構築する前に覚悟しておくこと Scala Plugin for Eclipseの貧弱さに泣かない 無理矢理な方法なのでうまくコンパイルが通らなくても挫けない それ以前にEclipseやエミュレータの重さに負けない R.javaはScalaに置き換えできないので諦めてください まずインストールするもの Scala Eclipse Scala Plugin for Eclipse Android SDK Android Development Tools このへんの設定方法はググれば山ほどでてくるので 適当にインストールして下さい。 ちなみに今回の環境は以下の通り。 Microsoft Windows XP SP3 Pleiades All in One Platform + JDT (3.5.2) Scala 2.7.7
昨日書いた内容をブラッシュアップして、誰かの役に立つエントリになるよう頑張る。 http://www.scala-lang.org/node/160 上記を参考に頑張ってみる。 環境はMac OS X 10.6 + Eclipse 3.5 AndroidSDKとADPは既に入ってる状態。 Scalaインストール 僕はMac OS X 10.6 なので、それ以外の環境の人は自分で頑張ってください。 MacPortsでScalaを入れる。このエントリ執筆時は scala @2.7.7_0 (active) sudo port install scala scala-androidインストール Scalaにはsbazっていう、CPANとかRubyGems的なものがあるのね... 知らなかった。 sbaz installed でscala-android入ってないか確認。当たり前だけど入ってない。
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く