From: Arne V. <cob...@us...> - 2004-07-25 12:29:28
|
Update of /cvsroot/jrobin/src/org/jrobin/demo/graph In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7060/org/jrobin/demo/graph Modified Files: ExportExportDemo.java ExportImportDemo.java ExportTemplate.java LazyDemo.java Log Message: JRobin 1.4.0 - Bug fixes graphing - Demo tweaks Index: ExportExportDemo.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/demo/graph/ExportExportDemo.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ExportExportDemo.java 14 Jul 2004 12:52:34 -0000 1.2 --- ExportExportDemo.java 25 Jul 2004 12:29:19 -0000 1.3 *************** *** 53,69 **** private static void prepare( String[] args ) { - /* - if ( args.length != 1 ) - { - println( "Usage: ExportExportDemo <path_to_demo_resources>" ); - println( " The only argument to this program should be the path to the JRobin" ); - println( " demo resources. These are normally included in the JRobin distribution" ); - println( " in the <jrobin>/res/demo directory." ); - - System.exit( 1 ); - } - - demoResources = new File(args[0]).getAbsolutePath() + "/"; - */ demoResources = Util.getJRobinHomeDirectory() + "/res/demo/"; } --- 53,56 ---- Index: ExportImportDemo.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/demo/graph/ExportImportDemo.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ExportImportDemo.java 14 Jul 2004 12:52:34 -0000 1.2 --- ExportImportDemo.java 25 Jul 2004 12:29:19 -0000 1.3 *************** *** 52,68 **** private static void prepare( String[] args ) { - /* - if ( args.length != 1 ) - { - println( "Usage: ExportImportDemo <path_to_demo_resources>" ); - println( " The only argument to this program should be the path to the JRobin" ); - println( " demo resources. These are normally included in the JRobin distribution" ); - println( " in the <jrobin>/res/demo directory." ); - - System.exit( 1 ); - } - - demoResources = new File(args[0]).getAbsolutePath() + "/"; - */ demoResources = Util.getJRobinHomeDirectory() + "/res/demo/"; } --- 52,55 ---- Index: ExportTemplate.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/demo/graph/ExportTemplate.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ExportTemplate.java 13 Jul 2004 12:16:08 -0000 1.2 --- ExportTemplate.java 25 Jul 2004 12:29:19 -0000 1.3 *************** *** 93,97 **** if ( args.length < 1 ) { ! System.out.println( "Usage: ExportTemplate [-m width] [-f <dump_file>] <template_file>" ); System.exit(0); } --- 93,97 ---- if ( args.length < 1 ) { ! System.out.println( "Usage: ExportTemplate [-m maxRows] [-f <dump_file>] <template_file>" ); System.exit(0); } Index: LazyDemo.java =================================================================== RCS file: /cvsroot/jrobin/src/org/jrobin/demo/graph/LazyDemo.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** LazyDemo.java 14 Jul 2004 12:52:34 -0000 1.2 --- LazyDemo.java 25 Jul 2004 12:29:19 -0000 1.3 *************** *** 83,100 **** private static void prepare( String[] args ) { ! /* ! if ( args.length != 1 ) ! { ! println( "Usage: LazyDemo <path_to_demo_resources>" ); ! println( " The only argument to this program should be the path to the JRobin" ); ! println( " demo resources. These are normally included in the JRobin distribution" ); ! println( " in the <jrobin>/res/demo directory." ); ! ! System.exit( 1 ); ! } ! ! demoResources = new File(args[0]).getAbsolutePath() + "/"; ! */ ! demoResources = Util.getJRobinHomeDirectory() + "/res/demo/"; rrd1 = demoResources + rrd1; rrd2 = demoResources + rrd2; --- 83,87 ---- private static void prepare( String[] args ) { ! demoResources = Util.getJRobinHomeDirectory() + "/res/demo/"; rrd1 = demoResources + rrd1; rrd2 = demoResources + rrd2; |