Skip to Content.
Sympa Menu

notify-dpml - r1972 - trunk/main/depot/build/src/main/dpml/build

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: r1972 - trunk/main/depot/build/src/main/dpml/build
  • Date: Mon, 16 Apr 2007 18:41:29 +0200

Author: mcconnell
Date: 2007-04-16 18:41:28 +0200 (Mon, 16 Apr 2007)
New Revision: 1972

Modified:
trunk/main/depot/build/src/main/dpml/build/Main.java
Log:
declare build component as a singleton

Modified: trunk/main/depot/build/src/main/dpml/build/Main.java
===================================================================
--- trunk/main/depot/build/src/main/dpml/build/Main.java 2007-04-16
15:38:49 UTC (rev 1971)
+++ trunk/main/depot/build/src/main/dpml/build/Main.java 2007-04-16
16:41:28 UTC (rev 1972)
@@ -68,6 +68,10 @@

import net.dpml.util.Logger;

+import net.dpml.annotation.Component;
+import static net.dpml.annotation.LifestylePolicy.SINGLETON;
+
+
/**
* Tool providing project info listing and supports delegation of project
* building to a builder plugin.
@@ -75,6 +79,7 @@
* @author <a href="@PUBLISHER-URL@">@PUBLISHER-NAME@</a>
* @version @PROJECT-VERSION@
*/
+@Component( lifestyle=SINGLETON )
public class Main implements Tool
{
//
------------------------------------------------------------------------
@@ -146,6 +151,7 @@
final String error =
"Unable to load library index.";
m_logger.error( error, e );
+ //m_logger.error( e.getMessage(), e.getCause() );
return -1;
}





  • r1972 - trunk/main/depot/build/src/main/dpml/build, mcconnell at BerliOS, 04/16/2007

Archive powered by MHonArc 2.6.24.

Top of Page