werken 2002/06/13 19:00:25
Modified: src/java/org/apache/maven/app Maven.java
Log:
More comments.
Revision Changes Path
1.3 +14 -1 jakarta-turbine-maven/src/java/org/apache/maven/app/Maven.java
Index: Maven.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/app/Maven.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Maven.java 14 Jun 2002 01:52:58 -0000 1.2
+++ Maven.java 14 Jun 2002 02:00:25 -0000 1.3
@@ -276,6 +276,11 @@
*/
public void initialize(String[] args) throws Exception {
+ // General premise:
+ //
+ // Find ${maven.home}, parse the command-line to find
+ // the project directory, and load the properties chain.
+
setMavenHome( new File( System.getProperty( "maven.home" ) ) );
try {
@@ -290,9 +295,12 @@
log.debug( this.toString() );
+ // Now, read the project descriptor, initialize
+ // jelly's context, which in tern causes initialization
+ // of the ant side of the house.
+
loadMavenProject();
initializeJelly();
- // run();
}
/** Retrieve the Jelly context.
@@ -348,6 +356,11 @@
* @param context The Jelly context.
*/
MavenAntProject initializeAntProject(JellyContext context) {
+
+ // Use our special Project subclass that knows how to
+ // call, if required, through to the JellyContext for
+ // properties resolution.
+
MavenAntProject antProject = new MavenAntProject( context );
antProject.init();
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>