Skip to Content.
Sympa Menu

notify-dpml - svn commit: r2202 - development/main/metro/composition/unit/src/main/net/dpml/composition/unit

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell AT dpml.net
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r2202 - development/main/metro/composition/unit/src/main/net/dpml/composition/unit
  • Date: Mon, 04 Apr 2005 04:25:58 -0400

Author: mcconnell AT dpml.net
Date: Mon Apr 4 04:25:47 2005
New Revision: 2202

Modified:

development/main/metro/composition/unit/src/main/net/dpml/composition/unit/CompositionHelper.java
Log:
housekeeping

Modified:
development/main/metro/composition/unit/src/main/net/dpml/composition/unit/CompositionHelper.java
==============================================================================
---
development/main/metro/composition/unit/src/main/net/dpml/composition/unit/CompositionHelper.java
(original)
+++
development/main/metro/composition/unit/src/main/net/dpml/composition/unit/CompositionHelper.java
Mon Apr 4 04:25:47 2005
@@ -61,17 +61,17 @@
// constructor
//------------------------------------------------------------------

- public CompositionHelper( File base )
+ public CompositionHelper() throws Exception
{
- this( getWorkingTestDirectory() );
+ this( getTestWorkingDir() );
}

- public CompositionHelper( File base )
+ public CompositionHelper( File base ) throws Exception
{
this( base, new Hashtable() );
}

- public CompositionHelper( File base, Map map )
+ public CompositionHelper( File base, Map map ) throws Exception
{
SystemContext system = createSystemContext( map, base );
m_manager = new CompositionManager( system );
@@ -95,7 +95,7 @@
private SystemContext createSystemContext( Map map, File dir )
throws Exception
{
- ClassLoader classloader =
CompositionManagerTestCase.class.getClassLoader();
+ ClassLoader classloader = CompositionHelper.class.getClassLoader();
Repository repository = new StandardLoader();
SystemContextFactory factory =
(SystemContextFactory) repository.getPlugin( classloader,
SYSTEM_PLUGIN_URI, new Object[]{ map } );



  • svn commit: r2202 - development/main/metro/composition/unit/src/main/net/dpml/composition/unit, mcconnell, 04/03/2005

Archive powered by MHonArc 2.6.24.

Top of Page