svn commit: rev 21151 - in avalon/trunk/runtime/merlin/cli: . src/test/org/apache/avalon/merlin/cli/test

[email protected]
Newsgroups gmane.comp.jakarta.avalon.cvs
Message-ID <[email protected]>
Author: mcconnell
Date: Sat Jun 12 21:10:48 2004
New Revision: 21151

Removed:
   avalon/trunk/runtime/merlin/cli/merlin.properties
Modified:
   avalon/trunk/runtime/merlin/cli/   (props changed)
   avalon/trunk/runtime/merlin/cli/src/test/org/apache/avalon/merlin/cli/test/MerlinCLITestCase.java
Log:
Tweaking cli testcase to bring it into operation state.

Modified: avalon/trunk/runtime/merlin/cli/src/test/org/apache/avalon/merlin/cli/test/MerlinCLITestCase.java
==============================================================================
--- avalon/trunk/runtime/merlin/cli/src/test/org/apache/avalon/merlin/cli/test/MerlinCLITestCase.java	(original)
+++ avalon/trunk/runtime/merlin/cli/src/test/org/apache/avalon/merlin/cli/test/MerlinCLITestCase.java	Sat Jun 12 21:10:48 2004
@@ -54,14 +54,17 @@
     public void testMain() throws Exception
     {
         String system = getCacheDirectory().toString();
-          
+        String basedir = System.getProperty( "project.dir" );
+
         try
         {
             String[] args = 
               new String[]
               {
                 "-execute",
-                "conf/hello.block",
+                "hello.block",
+                "-home",
+                basedir,
                 "-system",
                 system
               };
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.