brett       2004/02/02 14:39:20

  Modified:    src/java/org/apache/maven/jelly/tags/werkz Tag:
                        MAVEN-1_0-BRANCH MavenGoalTag.java
  Log:
  clean up
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.2.4.6   +3 -17     
maven/src/java/org/apache/maven/jelly/tags/werkz/Attic/MavenGoalTag.java
  
  Index: MavenGoalTag.java
  ===================================================================
  RCS file: 
/home/cvs/maven/src/java/org/apache/maven/jelly/tags/werkz/Attic/MavenGoalTag.java,v
  retrieving revision 1.2.4.5
  retrieving revision 1.2.4.6
  diff -u -r1.2.4.5 -r1.2.4.6
  --- MavenGoalTag.java 27 Jan 2004 22:29:12 -0000      1.2.4.5
  +++ MavenGoalTag.java 2 Feb 2004 22:39:20 -0000       1.2.4.6
  @@ -131,22 +131,8 @@
                       PluginManager.GOAL_MAPPER );
               JellyScriptHousing housing = mapper.getPluginHousing( getName() );
   
  -            MavenJellyContext context;
  -            ClassLoader classLoader;
  -
  -            // TODO [RC2]: amalgamate this logic with project.getPluginContext
  -            // TODO [RC2]: should it be base context or getContext(), or should we 
be able to locate the jelly housing for maven.xml? I think the latter.
  -            if ( housing == null )
  -            {
  -                System.err.println( "WARNING: housing is null for goal " + 
getName() );
  -                context = baseContext;
  -                //classLoader = baseContext.getClassLoader();
  -            }
  -            else
  -            {
  -                context = housing.getProject().getContext();
  -                //classLoader = housing.getPluginClassLoader();
  -            }
  +            MavenJellyContext context = housing.getProject().getContext();
  +            //ClassLoader classLoader = housing.getPluginClassLoader();
    
               //ClassLoader oldClassLoader = 
Thread.currentThread().getContextClassLoader();
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to