On Wed, 2003-03-12 at 10:28, [EMAIL PROTECTED] wrote:
> dion        2003/03/12 07:28:32
> 
>   Modified:    src/java/org/apache/maven/plugin PluginManager.java
>   Log:
>   Silently ignore the missing project.xml

Sorry, but please back this out.

The CLI front-end should catch the non-existance of files as that's its
concern. Which has been fixed in the stuff I have.
  
>   Revision  Changes    Path
>   1.42      +8 -5      
> jakarta-turbine-maven/src/java/org/apache/maven/plugin/PluginManager.java
>   
>   Index: PluginManager.java
>   ===================================================================
>   RCS file: 
> /home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/plugin/PluginManager.java,v
>   retrieving revision 1.41
>   retrieving revision 1.42
>   diff -u -r1.41 -r1.42
>   --- PluginManager.java      28 Feb 2003 00:48:39 -0000      1.41
>   +++ PluginManager.java      12 Mar 2003 15:28:31 -0000      1.42
>   @@ -359,11 +359,14 @@
>            //if ( goalNames.size() == 1 )
>            if ( project.getGoalNames().size() == 0 )
>            {
>   -            String defaultGoalName = 
> project.getContext().getWerkzProject().getDefaultGoalName();
>   +           if (project.getContext().getWerkzProject() != null)
>   +           {
>   +                String defaultGoalName = 
> project.getContext().getWerkzProject().getDefaultGoalName();
>    
>   -            if ( defaultGoalName != null )
>   -            {
>   -                project.getGoalNames().add( defaultGoalName );
>   +                if ( defaultGoalName != null )
>   +                {
>   +                    project.getGoalNames().add( defaultGoalName );
>   +                }
>                }
>            }
>    
>   
>   
>   
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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

Reply via email to