Open source esb in action随書コード
manningからダウンロードして解凍し、prepareResourcesサブフォルダのprepareに置き換えます.propertiesファイル.なぜなら、一部のダウンロードリンクは、本書をダウンロードするのに必要なコードライブラリをダウンロードできないからです.
# download and target directories
install.work=work
install.target=c:/osesbinaction
# some directories
install.downloads=${install.work}/downloads
install.target.esb=${install.target}/esb
install.target.tools=${install.target}/tools
install.target.libraries=${install.target}/libraries
install.target.workspace=${install.target}/workspace
install.target.workspace.servicemix=${install.target.workspace}/workspace-servicemix
install.target.workspace.mule=${install.target.workspace}/workspace-mule
source.petals.bc.mail=boxResources/petals-bc-mail
install.petals.bc.mail=${install.target.libraries}/petals-bc-mail
# subversion location
svn.mule=http://esbinaction-mule.googlecode.com/svn/trunk/mule
svn.servicemix=http://esbinaction-servicemix.googlecode.com/svn/trunk/servicemix
# download locations for the esbs
download.mule.location=http://dist.codehaus.org/mule/distributions
download.mule.filename=mule-2.0.2.zip
download.mule.archive.dir=mule-2.0.2
download.servicemix.location=http://archive.apache.org/dist/servicemix/servicemix-3/3.2.1/
download.servicemix.filename=apache-servicemix-3.2.1.zip
download.servicemix.archive.dir=apache-servicemix-3.2.1
#download locations for the required libraries
download.ant-contrib.location=http://sourceforge.net/projects/ant-contrib/files/ant-contrib/ant-contrib-1.0b2/
download.ant-contrib.filename=ant-contrib-1.0b2-bin.zip
download.ant-contrib.archive.dir=ant-contrib
download.svnkit.location=http://www.svnkit.com/
download.svnkit.filename=org.tmatesoft.svn_1.1.8.standalone.zip
download.svnkit.archive.dir=svnkit-1.1.8.4406
download.hibernate.location=http://heanet.dl.sourceforge.net/sourceforge/hibernate
download.hibernate.filename=hibernate-3.2.6.ga.zip
download.hibernate.archive.dir=hibernate-3.2
download.hibernate-spring.jar=http://mirrors.ibiblio.org/pub/mirrors/maven2/org/springframework/spring-hibernate3/2.0.6/spring-hibernate3-2.0.6.jar
download.hibernate-spring.jar.filename=spring-hibernate3-2.0.6.jar
download.spring.location=http://downloads.sourceforge.net/springframework
download.spring.filename=spring-framework-2.0.8-with-dependencies.zip
download.spring.archive.dir=spring-2.0.8
download.apache-cxf.location=http://archive.apache.org/dist/cxf/2.0.7/
download.apache-cxf.filename=apache-cxf-2.0.7.zip
download.apache-cxf.archive.dir=apache-cxf-2.0.7
download.jibx.location=http://heanet.dl.sourceforge.net/sourceforge/jibx
download.jibx.filename=jibx_1_1_6a.zip
download.jibx.archive.dir=jibx
download.jmail.location=http://mirrors.ibiblio.org/pub/mirrors/maven2/javax/mail/mail/1.4/
download.jmail.filename=mail-1.4.jar
download.jmail.archive.dir=javamail
download.bsh.location=http://www.beanshell.org/
download.bsh.filename=bsh-2.0b4.jar
download.bsh.archive.dir=bsh
download.ode.location=http://archive.apache.org/dist/ode/
download.ode.filename=apache-ode-jbi-1.2.zip
# download locations for the various tools
download.ftpd.location=http://www.anomic.de/AnomicFTPServer/release/
download.ftpd.filename=AnomicFTPD_v0.93_build20080215.tar.gz
download.ftpd.archive.dir=AnomicFTPD_v0.93_build20080215
download.jms.location=http://archive.apache.org/dist/activemq/apache-activemq/4.1.2/
download.jms.filename=apache-activemq-4.1.2-bin.zip
download.jms.archive.dir=apache-activemq-4.1.2
download.exist.location=http://jaist.dl.sourceforge.net/project/exist/Stable/1.2/
download.exist.filename=eXist-setup-1.2.0-rev7233.jar
download.exist.target.dir=eXist
download.jdbc.location=http://pkgs.fedoraproject.org/repo/pkgs/hsqldb/hsqldb_1_8_0_9.zip/c3f8010e3e2c73143eb702b7f28f0c8e/
download.jdbc.filename=hsqldb_1_8_0_9.zip
download.jdbc.archive.dir=hsqldb
download.mail.location=http://archive.apache.org/dist/james/server/
download.mail.filename=james-binary-2.3.1.zip
download.mail.archive.dir=james-2.3.1
download.ejb.location=http://archive.apache.org/dist/openejb/3.0/
download.ejb.filename=openejb-3.0.zip
download.ejb.archive.dir=openejb-3.0
source.petals.bc.mail=boxResources/petals-bc-mail
上のファイルに置換後prepare.propertiesファイルの上位ディレクトリのantコマンドを実行すると構築に成功します.cディスクにosesbinactionフォルダがあるはずです