notify-dpml AT lists.ibiblio.org
Subject: DPML Notify
List archive
r1497 - trunk/main/depot/tools/builder/src/main/net/dpml/tools/tasks
- From: mcconnell at BerliOS <mcconnell AT mail.berlios.de>
- To: notify-dpml AT lists.ibiblio.org
- Subject: r1497 - trunk/main/depot/tools/builder/src/main/net/dpml/tools/tasks
- Date: Mon, 5 Jun 2006 20:10:53 +0200
Author: mcconnell
Date: 2006-06-05 20:10:45 +0200 (Mon, 05 Jun 2006)
New Revision: 1497
Modified:
trunk/main/depot/tools/builder/src/main/net/dpml/tools/tasks/JUnitTestTask.java
Log:
update the junit task to include the target directory and target deliverables
directory as system property values
Modified:
trunk/main/depot/tools/builder/src/main/net/dpml/tools/tasks/JUnitTestTask.java
===================================================================
---
trunk/main/depot/tools/builder/src/main/net/dpml/tools/tasks/JUnitTestTask.java
2006-06-05 11:26:13 UTC (rev 1496)
+++
trunk/main/depot/tools/builder/src/main/net/dpml/tools/tasks/JUnitTestTask.java
2006-06-05 18:10:45 UTC (rev 1497)
@@ -291,6 +291,16 @@
testBaseDir.setValue( working.toString() );
junit.addConfiguredSysproperty( testBaseDir );
+ final Environment.Variable targetDir = new Environment.Variable();
+ targetDir.setKey( "project.target.dir" );
+ targetDir.setValue( getContext().getTargetDirectory().toString() );
+ junit.addConfiguredSysproperty( targetDir );
+
+ final Environment.Variable deliverablesDir = new
Environment.Variable();
+ deliverablesDir.setKey( "project.target.deliverables.dir" );
+ deliverablesDir.setValue(
getContext().getTargetDeliverablesDirectory().toString() );
+ junit.addConfiguredSysproperty( deliverablesDir );
+
final Environment.Variable basedir = new Environment.Variable();
basedir.setKey( "basedir" );
basedir.setValue( project.getBaseDir().toString() );
- r1497 - trunk/main/depot/tools/builder/src/main/net/dpml/tools/tasks, mcconnell at BerliOS, 06/05/2006
Archive powered by MHonArc 2.6.24.