|
From: Scott M S. <st...@us...> - 2003-01-18 12:02:00
|
User: starksm
Date: 03/01/18 04:01:58
Modified: . build.xml
Log:
Place the loadingresource.sar in an ear and add a test of accessing resources
from the ear root
Revision Changes Path
1.214 +19 -4 jbosstest/build.xml
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jbosstest/build.xml,v
retrieving revision 1.213
retrieving revision 1.214
diff -u -r1.213 -r1.214
--- build.xml 18 Jan 2003 06:00:31 -0000 1.213
+++ build.xml 18 Jan 2003 12:01:57 -0000 1.214
@@ -10,7 +10,7 @@
<!ENTITY mqstress SYSTEM "./mqstress.xml">
]>
-<!-- $Id: build.xml,v 1.213 2003/01/18 06:00:31 patriot1burke Exp $ -->
+<!-- $Id: build.xml,v 1.214 2003/01/18 12:01:57 starksm Exp $ -->
<!--+======================================================================+-->
<!--| JBoss (The OpenSource J2EE WebOS) Build File |-->
@@ -3037,14 +3037,29 @@
<!-- build loadingresource.sar -->
<jar jarfile="${build.lib}/loadingresource.sar">
- <metainf dir="${source.resources}/classloader/resource" />
+ <metainf dir="${source.resources}/classloader/resource">
+ <include name="jboss-service.xml" />
+ </metainf>
<fileset dir="${build.classes}">
<include name="org/jboss/test/classloader/resource/**"/>
</fileset>
</jar>
- <!-- build loadingresource.ear -->
- <jar jarfile="${build.lib}/loadingresource.ear">
+ <ear earfile="${build.lib}/loadingresource.ear"
+ appxml="${build.resources}/classloader/resource/application.xml">
+ <metainf dir="${build.resources}/classloader/resource">
+ <include name="jboss-app.xml" />
+ </metainf>
+ <fileset dir="${build.resources}/classloader/resource">
+ <include name="dtds/*" />
+ </fileset>
+ <fileset dir="${build.lib}">
+ <include name="loadingresource.sar" />
+ </fileset>
+ </ear>
+
+ <!-- build hloadingresource.ear -->
+ <jar jarfile="${build.lib}/hloadingresource.ear">
<metainf dir="${source.resources}/classloader/heirarchicalresource" />
<fileset dir="${build.lib}">
<include name="loadingresource.sar"/>
|