PageRenderTime 30ms CodeModel.GetById 25ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/rmic-maven-plugin-1.1/src/it/rmic-test-output-MRMIC-25/verify.bsh

#
Unknown | 25 lines | 23 code | 2 blank | 0 comment | 0 complexity | 2384027921d037163c29daac592ea24c MD5 | raw file
 1import java.io.*;
 2import java.util.*;
 3
 4try
 5{
 6    File file = new File( basedir, "target/rmic-output/rmictest/BasicRemoteImpl_Stub.class" );
 7    if ( !file.exists() || file.isDirectory() )
 8    {
 9        System.err.println( "Could not find generated stub file: " + file );
10        return false;
11    }
12    File file2 = new File( basedir, "target/rmic-test-output/rmictest/AnotherBasicRemoteImpl_Stub.class" );
13    if ( !file2.exists() || file2.isDirectory() )
14    {
15        System.err.println( "Could not find generated stub file from test classes: " + file2 );
16        return false;
17    }
18}
19catch( Throwable t )
20{
21    t.printStackTrace();
22    return false;
23}
24
25return true;