geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r432773 - /geronimo/trunk/modules/geronimo-testsupport/src/main/java/org/apache/geronimo/testsupport/TestSupport.java
Date Fri, 18 Aug 2006 23:15:53 GMT
Author: jdillon
Date: Fri Aug 18 16:15:53 2006
New Revision: 432773

URL: http://svn.apache.org/viewvc?rev=432773&view=rev
Log:
Comments about BASEDIR and IDE magic

Modified:
    geronimo/trunk/modules/geronimo-testsupport/src/main/java/org/apache/geronimo/testsupport/TestSupport.java

Modified: geronimo/trunk/modules/geronimo-testsupport/src/main/java/org/apache/geronimo/testsupport/TestSupport.java
URL: http://svn.apache.org/viewvc/geronimo/trunk/modules/geronimo-testsupport/src/main/java/org/apache/geronimo/testsupport/TestSupport.java?rev=432773&r1=432772&r2=432773&view=diff
==============================================================================
--- geronimo/trunk/modules/geronimo-testsupport/src/main/java/org/apache/geronimo/testsupport/TestSupport.java
(original)
+++ geronimo/trunk/modules/geronimo-testsupport/src/main/java/org/apache/geronimo/testsupport/TestSupport.java
Fri Aug 18 16:15:53 2006
@@ -37,6 +37,12 @@
     private static final File BASEDIR;
     
     static {
+        //
+        // TODO: Add some special magic here to figure this out when we are running from
+        //       and IDE, like IDEA or Eclipse.  user.dir/target might work... but need
+        //       to validate what env each IDE has this set to.
+        //
+        
         String tmp = System.getProperty("basedir");
         if (tmp == null) {
             throw new Error("Missing 'basedir' property; tests need this property set to
run correctly");



Mime
View raw message