User: starksm Date: 01/06/12 21:53:14 Modified: src/build/subprojects build-security.xml Log: Add security-proxy.jar for custom security tests Revision Changes Path 1.2 +34 -10 jbosstest/src/build/subprojects/build-security.xml Index: build-security.xml =================================================================== RCS file: /cvsroot/jboss/jbosstest/src/build/subprojects/build-security.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- build-security.xml 2001/05/05 20:54:05 1.1 +++ build-security.xml 2001/06/13 04:53:14 1.2 @@ -45,23 +45,47 @@ <include name="roles.properties" /> </jar> + <!-- Build the security-spec.jar --> <move file="${build.classes.dir}/META-INF/jboss-spec.xml" tofile="${build.classes.dir}/META-INF/jboss.xml" overwrite="true" /> <jar jarfile="${build.deploy.dir}/security-spec.jar" basedir="${build.classes.dir}" > - <include name="org/jboss/test/security/ejb/**" /> - <include name="org/jboss/test/security/interfaces/**" /> - <include name="org/jboss/test/security/proxy/*" /> - <include name="org/jboss/test/security/test/Namespace*" /> - <include name="org/jboss/test/security/test/PermissionName*.class" /> - <include name="**/ejb-jar.xml" /> - <include name="**/jboss.xml" /> - <include name="users.properties" /> - <include name="roles.properties" /> + <include name="org/jboss/test/security/ejb/**" /> + <include name="org/jboss/test/security/interfaces/**" /> + <include name="org/jboss/test/security/proxy/*" /> + <include name="org/jboss/test/security/test/Namespace*" /> + <include name="org/jboss/test/security/test/PermissionName*.class" /> + <include name="**/ejb-jar.xml" /> + <include name="**/jboss.xml" /> + <include name="users.properties" /> + <include name="roles.properties" /> </jar> + + <!-- Build the security-proxy.jar --> + <move file="${build.classes.dir}/META-INF/ejb-jar-proxy.xml" + tofile="${build.classes.dir}/META-INF/ejb-jar.xml" overwrite="true" /> + <move file="${build.classes.dir}/META-INF/jboss-proxy.xml" + tofile="${build.classes.dir}/META-INF/jboss.xml" overwrite="true" /> + <jar jarfile="${build.deploy.dir}/security-proxy.jar" + basedir="${build.classes.dir}" > + <include name="org/jboss/test/security/ejb/EntityBeanImpl.class" /> + <include name="org/jboss/test/security/ejb/IOStatelessSessionBean.class" /> + <include name="org/jboss/test/security/ejb/IOStatefulSessionBean.class" /> + <include name="org/jboss/test/security/interfaces/Entity.class" /> + <include name="org/jboss/test/security/interfaces/EntityHome.class" /> + <include name="org/jboss/test/security/interfaces/IOSession.class" /> + <include name="org/jboss/test/security/interfaces/IOSessionHome.class" /> + <include name="org/jboss/test/security/proxy/EntitySecurityProxy.class" /> + <include name="org/jboss/test/security/proxy/SessionSecurityProxy.class" /> + <include name="**/ejb-jar.xml" /> + <include name="**/jboss.xml" /> + <include name="users.properties" /> + <include name="roles.properties" /> + </jar> + <!-- Create a separate jar that contains the security proxy classes. These need to be segregated so that they can be assigned a minimal Java2 permission set. - <jar jarfile="${build.lib.dir}/security-proxy.jar" + <jar jarfile="${build.lib.dir}/security-proxy-impl.jar" basedir="${build.classes.dir}" includes="org/jboss/test/security/proxy/*" /> _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-development