Aipoで作成したjsファイルをcommon.jsにまとめる

y-ozaki 447views 更新:2014年3月17日

aipo/war/pom.xml の以下のincludeの部分に作成したJavaScriptファイルを追加する

<aggregation>
              <insertNewLine>true</insertNewLine>
              <output>target/aipo/javascript/aipo/common.js</output>
              <includes>
                <include>../../../../target/aipo/javascript/aipo/customize/form.js</include>
                <include>../../../../target/aipo/javascript/aipo/fileupload/form.js</include>
                <include>../../../../target/aipo/javascript/aipo/schedule/form.js</include>
                <include>../../../../target/aipo/javascript/aipo/todo/form.js</include>
                <include>../../../../target/aipo/javascript/aipo/workflow/form.js</include>
                <include>../../../../target/aipo/javascript/aipo/blog/form.js</include>
                <include>../../../../target/aipo/javascript/aipo/msgboard/form.js</include>
                <include>../../../../target/aipo/javascript/aipo/note/form.js</include>
                <include>../../../../target/aipo/javascript/aipo/exttimecard/form.js</include>
                <include>../../../../target/aipo/javascript/aipo/report/form.js</include>
                <include>../../../../target/aipo/javascript/aipo/activity/form.js</include>
                <include>../../../../target/aipo/javascript/aipo/account_user/form.js</include>
                <include>../../../../target/aipo/javascript/aipo/account_person/form.js</include>
                <include>../../../../target/aipo/javascript/aipo/gadgets_admin/form.js</include>
                <include>../../../../target/aipo/javascript/aipo/timeline/form.js</include>
                <include>../../../../target/aipo/javascript/aipo/page/form.js</include>
                <include>../../../../target/aipo/javascript/aipo/tutorial/tutorial.js</include>
                <include>../../../../target/aipo/javascript/aipo/calendar/weekly.js</include>
                <include>../../../../target/aipo/javascript/aipo/mygroup/form.js</include>
                <include>../../../../target/aipo/javascript/aipo/gpdb/form.js</include>
                <include>../../../../target/aipo/javascript/aipo/fileuploadadv/form.js</include>
              </includes>
            </aggregation>

ログイン / 新規登録してコメントする

このソースコードをストックして後で利用したり、作業に利用したソースコードをまとめることができます。

こちらもお役に立つかもしれません