mx4j/src/test/test MX4JTestCase.java,1.9,1.10

Simone Bordet <[email protected]> Tue, 05 Oct 2004 17:08:35 +0000
Newsgroups gmane.comp.java.mx4j.cvs
Message-ID <[email protected]>
Update of /cvsroot/mx4j/mx4j/src/test/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19455/src/test/test

Modified Files:
	MX4JTestCase.java 
Log Message:
Added jaas jar to classpath to make remote tests work under JDK 1.3

Index: MX4JTestCase.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/test/test/MX4JTestCase.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** MX4JTestCase.java	4 Sep 2004 15:44:52 -0000	1.9
--- MX4JTestCase.java	5 Oct 2004 17:08:33 -0000	1.10
***************
*** 73,77 ****
        File rimpl = new File("dist/test/mx4j-rimpl.jar");
        File tests = new File("dist/test/mx4j-tests.jar");
!       return new URLClassLoader(new URL[]{jmx.toURL(), impl.toURL(), rjmx.toURL(), rimpl.toURL(), tests.toURL()}, getClass().getClassLoader().getParent());
     }
  
--- 73,78 ----
        File rimpl = new File("dist/test/mx4j-rimpl.jar");
        File tests = new File("dist/test/mx4j-tests.jar");
!       File jaas = new File("dist/test/jaas.jar");
!       return new URLClassLoader(new URL[]{jaas.toURL(), jmx.toURL(), impl.toURL(), rjmx.toURL(), rimpl.toURL(), tests.toURL()}, getClass().getClassLoader().getParent());
     }
  
***************
*** 91,95 ****
        if (!rjmx.exists()) fail("JMX Remote jar is not available");
        File tests = new File("dist/test/mx4j-tests.jar");
!       return new URLClassLoader(new URL[]{jmx.toURL(), rjmx.toURL(), tests.toURL()}, getClass().getClassLoader().getParent());
     }
  
--- 92,97 ----
        if (!rjmx.exists()) fail("JMX Remote jar is not available");
        File tests = new File("dist/test/mx4j-tests.jar");
!       File jaas = new File("dist/test/jaas.jar");
!       return new URLClassLoader(new URL[]{jaas.toURL(), jmx.toURL(), rjmx.toURL(), tests.toURL()}, getClass().getClassLoader().getParent());
     }
  



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl