You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by jv...@apache.org on 2003/02/03 18:54:09 UTC
cvs commit: jakarta-turbine-maven/src/java/org/apache/maven/jelly/tags/maven ReactorTag.java
jvanzyl 2003/02/03 09:54:09
Modified: src/java/org/apache/maven/jelly/tags/maven ReactorTag.java
Log:
o Fixing formatting and javadoc.
Revision Changes Path
1.16 +17 -17 jakarta-turbine-maven/src/java/org/apache/maven/jelly/tags/maven/ReactorTag.java
Index: ReactorTag.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/jelly/tags/maven/ReactorTag.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ReactorTag.java 29 Jan 2003 23:54:50 -0000 1.15
+++ ReactorTag.java 3 Feb 2003 17:54:09 -0000 1.16
@@ -172,7 +172,7 @@
*/
public void setGlob( String glob )
{
- System.out.println("\nDEPRECATION WARNING: use the 'includes' attribute instead of the 'glob' attribute.\n");
+ System.out.println( "\nDEPRECATION WARNING: use the 'includes' attribute instead of the 'glob' attribute.\n" );
this.glob = glob;
}
@@ -277,7 +277,7 @@
* Execute the body of the reactor tag.
*
* @param output The output sink.
- * @throws Exception If an error occurs while processing the tag.
+ * @throws JellyTagException If an error occurs while processing the tag.
*/
public void doTag( XMLOutput output )
throws JellyTagException
@@ -308,28 +308,28 @@
try
{
projects = MavenUtils.getProjects( getBasedir(),
- projectIncludes,
- getExcludes(),
- getMavenContext().getMavenSession().getRootContext() );
+ projectIncludes,
+ getExcludes(),
+ getMavenContext().getMavenSession().getRootContext() );
}
- catch (Exception anException)
+ catch ( Exception anException )
{
- throw new JellyTagException("error getting projects", anException);
+ throw new JellyTagException( "error getting projects", anException );
}
-
+
DependencyResolver dr = new DependencyResolver();
dr.setProjects( projects );
-
+
List sortedProjects = null;
try
{
sortedProjects = dr.getSortedDependencies( false );
}
- catch (Exception anException)
+ catch ( Exception anException )
{
- throw new JellyTagException(anException);
+ throw new JellyTagException( anException );
}
- // null out reference, as this is a long running method potentially
+ // null out reference, as this is a long running method potentially
projects = null;
System.out.println( "Our processing order:" );
@@ -364,7 +364,7 @@
if ( getGoals() != null )
{
project.setGoalNames( getGoals() );
- getMavenContext().getMavenSession().attainGoals( project );
+ getMavenContext().getMavenSession().attainGoals( project );
}
if ( getPostProcessing() )
@@ -386,10 +386,10 @@
continue;
}
- throw new JellyTagException(e.fillInStackTrace());
+ throw new JellyTagException( e.fillInStackTrace() );
}
}
- getContext().setVariable("reactorProjects", reactorProjects);
+ getContext().setVariable( "reactorProjects", reactorProjects );
}
}