ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant Main.java
Date Tue, 25 Jul 2000 12:08:03 GMT
bodewig     00/07/25 05:08:03

  Modified:    .        WHATSNEW
               src/main/org/apache/tools/ant Main.java
  Log:
  Removed all command line switches that didn't start with a -.
  
  Revision  Changes    Path
  1.2       +7 -2      jakarta-ant/WHATSNEW
  
  Index: WHATSNEW
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/WHATSNEW,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- WHATSNEW	2000/07/25 10:13:01	1.1
  +++ WHATSNEW	2000/07/25 12:08:03	1.2
  @@ -5,11 +5,13 @@
   
   * copying of support files in <javac> has been removed.
   
  +* the command line switches _not_ starting with - have been removed.
  +
   Other changes:
   --------------
   
  -* New tasks (sql, junit, javacc) all pending documentation, some of
  -them pending review.
  +* New tasks: sql, junit, javacc, execon. All pending documentation,
  +most of them pending review.
   
   * <java> uses ClassLoader of its own in no-fork mode if a classpath is
   specified.
  @@ -25,6 +27,9 @@
   
   * You can specify environment variables to the exec task - pending
   documentation.
  +
  +* Get can check wether a remote file is actually newer than a local
  +copy before it starts a download (HTTP only).
   
   Fixed bugs:
   -----------
  
  
  
  1.13      +5 -5      jakarta-ant/src/main/org/apache/tools/ant/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/Main.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- Main.java	2000/07/16 10:39:58	1.12
  +++ Main.java	2000/07/25 12:08:03	1.13
  @@ -119,17 +119,17 @@
           for (int i = 0; i < args.length; i++) {
               String arg = args[i];
   
  -            if (arg.equals("-help") || arg.equals("help")) {
  +            if (arg.equals("-help")) {
                   printUsage();
                   return;
               } else if (arg.equals("-version")) {
                   printVersion();
                   return;
  -            } else if (arg.equals("-quiet") || arg.equals("-q") || arg.equals("q")) {
  +            } else if (arg.equals("-quiet") || arg.equals("-q")) {
                   msgOutputLevel = Project.MSG_WARN;
  -            } else if (arg.equals("-verbose") || arg.equals("-v") || arg.equals("v")) {
  +            } else if (arg.equals("-verbose") || arg.equals("-v")) {
                   msgOutputLevel = Project.MSG_VERBOSE;
  -            } else if (arg.equals("-logfile") || arg.equals("-l") || arg.equals("l")) {
  +            } else if (arg.equals("-logfile") || arg.equals("-l")) {
                   try {
                       File logFile = new File(args[i+1]);
                       i++;
  @@ -147,7 +147,7 @@
                       System.out.println(msg);
                       return;
                   }
  -            } else if (arg.equals("-buildfile") || arg.equals("-file") || arg.equals("-f")
|| arg.equals("f")) {
  +            } else if (arg.equals("-buildfile") || arg.equals("-file") || arg.equals("-f"))
{
                   try {
                       buildFile = new File(args[i+1]);
                       i++;
  
  
  

Mime
View raw message