Browse Source

Put frame into CM making it accessible as a Service.

This is an ugly hack to enable faster evolution. Will be removed in the future.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271181 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
014cf44f15
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      proposal/myrmidon/src/java/org/apache/myrmidon/components/workspace/DefaultWorkspace.java

+ 7
- 1
proposal/myrmidon/src/java/org/apache/myrmidon/components/workspace/DefaultWorkspace.java View File

@@ -283,11 +283,17 @@ public class DefaultWorkspace

try
{
final Logger logger = new LogKitLogger( m_hierarchy.getLoggerFor( "project" + m_projectID ) );
final Logger logger =
new LogKitLogger( m_hierarchy.getLoggerFor( "project" + m_projectID ) );
m_projectID++;

frame.enableLogging( logger );
frame.contextualize( context );

/**
* @todo Should no occur but done for the time being to simplify evolution.
*/
componentManager.put( ExecutionFrame.ROLE, frame );
}
catch( final Exception e )
{


Loading…
Cancel
Save