OSUser patch -- minor fixes to the OSUser Example EAR
etw <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.devel |
|---|---|
| Message-ID | <[email protected]> |
Hey, I attached a simple patch to fix the OSUser Example EAR. These were small problems i ran into when running the osuser_example.ear from CVS sources. The fixes are: * changed application.xml and orion-application.xml to reference oscore-2.2.1.jar instead of 2.2.0 * altered the example target in build.xml to copy the created osuser-1.0-dev-13Jun03.jar file as osuser.jar to the tmp dir (as that is how its referenced in application.xml cheers P.S. with the sourceforge cvs problems, generating this patch was a real pain. I know its being discussed, I just wanted to echo that it will very likely hinder others from contributing. With whats been discussed, java.net is sounding like a good option. -- Eric Webb Programmer Analyst II University of Southern California University Park Health Center Phone: (213) 821-2361 Fax: (213) 740-1794 Email: [email protected]
osuser.diff
(text/plain, 2.6 KB)
Index: build.xml
===================================================================
RCS file: /cvsroot/opensymphony/osuser/build.xml,v
retrieving revision 1.32
diff -u -r1.32 build.xml
--- build.xml 26 May 2003 09:01:18 -0000 1.32
+++ build.xml 24 Jun 2003 23:56:29 -0000
@@ -64,13 +64,18 @@
<target name="example" depends="jar" >
<mkdir dir="${tmp}" />
+ <!-- copies the osuser jar without the version info attached to the jar
+ file name, as that is how its referenced in the
+ example/META-INF/application.xml file -->
+ <copy tofile="${tmp}/example/${name}.jar">
+ <fileset dir="${dist}">
+ <include name="${name}*.jar" />
+ </fileset>
+ </copy>
<copy todir="${tmp}/example">
<fileset dir="${lib}/build/">
<include name="castor-0.9.3.9.jar" />
</fileset>
- <fileset dir="${dist}">
- <include name="${name}.jar" />
- </fileset>
<fileset dir="${lib}/lib">
<include name="oscore**" />
<include name="prop**" />
Index: example/META-INF/application.xml
===================================================================
RCS file: /cvsroot/opensymphony/osuser/example/META-INF/application.xml,v
retrieving revision 1.8
diff -u -r1.8 application.xml
--- example/META-INF/application.xml 14 May 2003 17:44:32 -0000 1.8
+++ example/META-INF/application.xml 24 Jun 2003 23:56:29 -0000
@@ -6,7 +6,7 @@
<display-name>OSUser example app</display-name>
<module>
- <ejb>oscore-2.2.0.jar</ejb>
+ <ejb>oscore-2.2.1.jar</ejb>
</module>
<module>
<ejb>propertyset-1.1.1.jar</ejb>
@@ -39,4 +39,10 @@
</security-role>
-</application>
\ No newline at end of file
+</application>
+
+
+
+
+
+
Index: example/META-INF/orion-application.xml
===================================================================
RCS file: /cvsroot/opensymphony/osuser/example/META-INF/orion-application.xml,v
retrieving revision 1.4
diff -u -r1.4 orion-application.xml
--- example/META-INF/orion-application.xml 30 Apr 2003 19:24:26 -0000 1.4
+++ example/META-INF/orion-application.xml 24 Jun 2003 23:56:29 -0000
@@ -3,7 +3,7 @@
<orion-application deployment-version="2.0">
<library path="./lib" />
- <ejb-module remote="false" path="oscore-2.2.0.jar" />
+ <ejb-module remote="false" path="oscore-2.2.1.jar" />
<ejb-module remote="false" path="propertyset-1.1.0.jar" />
<ejb-module remote="false" path="osuser.jar" />
<web-module id="manager" path="manager.war" />