<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ymraintree</author_name>
  <author_url>https://blog.hatena.ne.jp/ymraintree/</author_url>
  <blog_title>コードの波にゆーらゆら</blog_title>
  <blog_url>https://ymraintree.hatenadiary.org/</blog_url>
  <categories>
    <anon>scala</anon>
  </categories>
  <description>perlとかで書いていたスクリプトをscalaで書こうとすると、クラスパスなどの環境変数を定義してからscalaスクリプトを起動するような起動ファイルが別にいるんだと、昔のCOBOLとJCLみたいでかっこわるいなと思っていたら、解決することができた。scalaスクリプト冒頭に#! /bin/bash cp=&quot;/usr/local/share/commons-logging.jar&quot;export JAVA_OPTS=&quot;-server -Xms1024m -Dcluster=localhost:1100&quot;exec scala -classpath $cp $0 $@ !#println(&quot;Hell…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fymraintree.hatenadiary.org%2Fentry%2F20110623%2F1308794779&quot; title=&quot;scalaでスクリプトを書く - コードの波にゆーらゆら&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-06-23 11:06:19</published>
  <title>scalaでスクリプトを書く</title>
  <type>rich</type>
  <url>https://ymraintree.hatenadiary.org/entry/20110623/1308794779</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
