brett       2005/09/24 00:32:39

  Modified:    m2       maven2.sh
  Added:       m2       PortableStubCompilerTest.java.diff
  Log:

  patch test file with hard coded path
  
  Revision  Changes    Path
  1.14      +2 -0      openejb/m2/maven2.sh
  
  Index: maven2.sh
  ===================================================================
  RCS file: /home/projects/openejb/scm/openejb/m2/maven2.sh,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -u -r1.13 -r1.14
  --- maven2.sh 24 Sep 2005 04:14:26 -0000      1.13
  +++ maven2.sh 24 Sep 2005 04:32:39 -0000      1.14
  @@ -36,6 +36,8 @@
     mkdir -p $m2Dir/src/main/java
     cd $m1Dir/src/java
     find . -name '*.java' -exec cp {} $m2Dir/src/main/java --parent \;
  +  cd $m2Dir
  +  patch -p0 
src/test/java/org/openejb/corba/compiler/PortableStubCompilerTest.java 
<../../PortableStubCompilerTest.java.diff
     cd $runDir
   }
   
  
  
  
  1.1                  openejb/m2/PortableStubCompilerTest.java.diff
  
  Index: PortableStubCompilerTest.java.diff
  ===================================================================
  --- foo       2005-09-24 14:19:27.937500000 +1000
  +++ src/test/java/org/openejb/corba/compiler/PortableStubCompilerTest.java    
2005-09-24 14:19:47.015625000 +1000
  @@ -64,15 +64,15 @@
       private static final File basedir = new 
File(System.getProperty("basedir", System.getProperty("user.dir")));
   
       public void testBeanPropertiesNameMangler() throws Exception {
  -        
assertMangling("src/test-resources/beanPropertiesNameMangler.properties", 
BeanProperties.class);
  +        
assertMangling("src/test/resources/beanPropertiesNameMangler.properties", 
BeanProperties.class);
       }
   
       public void testBasicNameMangler() throws Exception {
  -        assertMangling("src/test-resources/nameMangler.properties", 
Foo.class);
  +        assertMangling("src/test/resources/nameMangler.properties", 
Foo.class);
       }
   
       public void testSpecialNameMangler() throws Exception {
  -        assertMangling("src/test-resources/specialNameMangler.properties", 
Special.class);
  +        assertMangling("src/test/resources/specialNameMangler.properties", 
Special.class);
       }
   
       private void assertMangling(String propertiesFile, Class intf) throws 
IOException {
  
  
  

Reply via email to