Skip to Content.
Sympa Menu

notify-dpml - svn commit: r1806 - development/main/magic/core/src/main/net/dpml/magic/tasks

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: niclas AT netcompartner.com
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r1806 - development/main/magic/core/src/main/net/dpml/magic/tasks
  • Date: Fri, 18 Feb 2005 10:14:51 +0100

Author: niclas
Date: Fri Feb 18 10:14:51 2005
New Revision: 1806

Modified:

development/main/magic/core/src/main/net/dpml/magic/tasks/JUnitTestTask.java
Log:
Version is not always set up, so that creates a problem in some places.

Modified:
development/main/magic/core/src/main/net/dpml/magic/tasks/JUnitTestTask.java
==============================================================================
---
development/main/magic/core/src/main/net/dpml/magic/tasks/JUnitTestTask.java
(original)
+++
development/main/magic/core/src/main/net/dpml/magic/tasks/JUnitTestTask.java
Fri Feb 18 10:14:51 2005
@@ -64,11 +64,11 @@

public static final String HALT_ON_FAILURE_KEY =
"project.test.halt-on-failure";
public static final boolean HALT_ON_FAILURE_VALUE = true;
-
-
+
+

public static final String CACHE_PATH_KEY = "dpml.cache";
-
+
public static final String WORK_DIR_KEY = "project.dir";

private static final String ERROR_KEY = "project.test.error";
@@ -358,11 +358,6 @@
basedir.setValue( project.getBaseDir().toString() );
junit.addConfiguredSysproperty( basedir );

- final Environment.Variable version = new Environment.Variable();
- version.setKey( "project.version" );
- version.setValue( getDefinition().getInfo().getVersion() );
- junit.addConfiguredSysproperty( version );
-
final Environment.Variable cache = new Environment.Variable();
cache.setKey( CACHE_PATH_KEY );
cache.setValue( getCachePath() );



  • svn commit: r1806 - development/main/magic/core/src/main/net/dpml/magic/tasks, niclas, 02/18/2005

Archive powered by MHonArc 2.6.24.

Top of Page