LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Sponsors
  • Mirrors
  • Logos
  • Contact us
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Tue Feb 26 00:30:41 CET 2008
    Subject: [cvs-checkins] MODIFIED: jop ...
    Top
    Date: 00/08/02 26:00:30

    Modified: jop/java/tools/src/joptimizer/framework CmdLine.java
    ConfigLoader.java
    Log:
    fixes for loading incomplete code, fixes for array-class handling


    Revision Changes Path
    1.4 jop/java/tools/src/joptimizer/framework/CmdLine.java

    http://www.opencores.org/cvsweb.shtml/jop/java/tools/src/joptimizer/framework/CmdLine.java.diff?r1=1.3&r2=1.4

    (In the diff below, changes in quantity of whitespace are not shown.)

    Index: CmdLine.java
    ===================================================================
    RCS file: /cvsroot/stefant/jop/java/tools/src/joptimizer/framework/CmdLine.java,v
    retrieving revision 1.3
    retrieving revision 1.4
    diff -u -b -r1.3 -r1.4
    --- CmdLine.java 25 Feb 2008 02:49:22 -0000 1.3
    +++ CmdLine.java 25 Feb 2008 23:30:41 -0000 1.4
    @@ -99,6 +99,7 @@
    out.println(" help Show this help.");
    out.println(" exit Terminate the program.");
    out.println(" load <configfile> Load all values from a property-file as options.");
    + out.println(" The argument must be a valid url (like file:<path>).");
    out.println(" list <type> List one of the following:");
    out.println(" actions list of all actions.");
    out.println(" execactions list all actions executed by runall.");



    1.2 jop/java/tools/src/joptimizer/framework/ConfigLoader.java

    http://www.opencores.org/cvsweb.shtml/jop/java/tools/src/joptimizer/framework/ConfigLoader.java.diff?r1=1.1&r2=1.2

    (In the diff below, changes in quantity of whitespace are not shown.)

    Index: ConfigLoader.java
    ===================================================================
    RCS file: /cvsroot/stefant/jop/java/tools/src/joptimizer/framework/ConfigLoader.java,v
    retrieving revision 1.1
    retrieving revision 1.2
    diff -u -b -r1.1 -r1.2
    --- ConfigLoader.java 25 Feb 2008 02:49:22 -0000 1.1
    +++ ConfigLoader.java 25 Feb 2008 23:30:41 -0000 1.2
    @@ -104,8 +104,10 @@

    // not using class.getResource() here as the config file is usually outside the classpath.
    URL file = new URL(filename);
    - Reader reader = new BufferedReader(new InputStreamReader(file.openStream()));
    + InputStreamReader fileStream = new InputStreamReader(file.openStream());
    + Reader reader = new BufferedReader(fileStream);
    propfile.load(reader);
    + reader.close();

    } catch (IOException e) {
    if (logger.isDebugEnabled()) {



     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.