Author: david.lloyd(a)jboss.com
Date: 2008-03-31 18:00:46 -0400 (Mon, 31 Mar 2008)
New Revision: 3814
Modified:
remoting3/trunk/build.properties
remoting3/trunk/build.xml
Log:
Fix a build error - though you still must manually install a jboss-serialization.jar in
your repository as 1.1.0.Beta1
Modified: remoting3/trunk/build.properties
===================================================================
--- remoting3/trunk/build.properties 2008-03-28 07:39:24 UTC (rev 3813)
+++ remoting3/trunk/build.properties 2008-03-31 22:00:46 UTC (rev 3814)
@@ -99,6 +99,16 @@
lib.jboss-managed.local=${local.repository}/${lib.jboss-managed.local-path}
lib.jboss-managed.remote=${remote.repository}/${lib.jboss-managed.remote-path}
+lib.jboss-serialization.version=1.1.0.Beta1
+lib.jboss-serialization.name=jboss-serialization.jar
+lib.jboss-serialization.license=lgpl
+lib.jboss-serialization.local-dir=jboss-serialization/${lib.jboss-serialization.version}/lib
+lib.jboss-serialization.remote-dir=jboss/serialization/${lib.jboss-serialization.version}/lib
+lib.jboss-serialization.local-path=${lib.jboss-serialization.local-dir}/${lib.jboss-serialization.name}
+lib.jboss-serialization.remote-path=${lib.jboss-serialization.remote-dir}/${lib.jboss-serialization.name}
+lib.jboss-serialization.local=${local.repository}/${lib.jboss-serialization.local-path}
+lib.jboss-serialization.remote=${remote.repository}/${lib.jboss-serialization.remote-path}
+
lib.jbossxb.version=2.0.0.CR5
lib.jbossxb.name=jboss-xml-binding.jar
lib.jbossxb.license=lgpl
Modified: remoting3/trunk/build.xml
===================================================================
--- remoting3/trunk/build.xml 2008-03-28 07:39:24 UTC (rev 3813)
+++ remoting3/trunk/build.xml 2008-03-31 22:00:46 UTC (rev 3814)
@@ -103,6 +103,18 @@
<get src="${remote.license.dir}/${lib.jboss-managed.license}.txt"
dest="${lib.jboss-managed.local}.license.txt" usetimestamp="true"
ignoreerrors="false"/>
</target>
+ <!-- External library: JBoss Serialization -->
+
+ <target name="lib.jboss-serialization-check">
+ <available property="lib.jboss-serialization.exists"
file="${lib.jboss-serialization.local}"/>
+ </target>
+
+ <target name="lib.jboss-serialization"
depends="lib.jboss-serialization-check"
unless="lib.jboss-serialization.exists">
+ <mkdir
dir="${local.repository}/${lib.jboss-serialization.local-dir}"/>
+ <get src="${lib.jboss-serialization.remote}"
dest="${lib.jboss-serialization.local}" usetimestamp="true"
ignoreerrors="false"/>
+ <get
src="${remote.license.dir}/${lib.jboss-serialization.license}.txt"
dest="${lib.jboss-serialization.local}.license.txt"
usetimestamp="true" ignoreerrors="false"/>
+ </target>
+
<!-- External library: JBossXB -->
<target name="lib.jbossxb-check">
@@ -248,6 +260,7 @@
<path refid="log-jul.classpath"/>
<path refid="util.classpath"/>
<path refid="version.classpath"/>
+ <pathelement
location="${lib.jboss-serialization.local}"/>
</classpath>
</javac>
<touch file="core/target/main/.lastcompile"
verbose="false"/>
@@ -257,7 +270,7 @@
<delete dir="core/target"/>
</target>
- <target name="core" description="Build the core module"
depends="api,log-jul,util,version,core.compile">
+ <target name="core" description="Build the core module"
depends="lib.jboss-serialization,api,log-jul,util,version,core.compile">
<path id="core.classpath">
<pathelement location="core/target/main/classes"/>
</path>
Show replies by date