PageRenderTime 58ms CodeModel.GetById 32ms 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
  1. import java.io.*;
  2. import java.util.*;
  3. try
  4. {
  5. File file = new File( basedir, "target/rmic-output/rmictest/BasicRemoteImpl_Stub.class" );
  6. if ( !file.exists() || file.isDirectory() )
  7. {
  8. System.err.println( "Could not find generated stub file: " + file );
  9. return false;
  10. }
  11. File file2 = new File( basedir, "target/rmic-test-output/rmictest/AnotherBasicRemoteImpl_Stub.class" );
  12. if ( !file2.exists() || file2.isDirectory() )
  13. {
  14. System.err.println( "Could not find generated stub file from test classes: " + file2 );
  15. return false;
  16. }
  17. }
  18. catch( Throwable t )
  19. {
  20. t.printStackTrace();
  21. return false;
  22. }
  23. return true;