Browse Source

port ANTLR fix from 1.5 branch.

PR: 11222

Some copyright year fixes.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273181 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 23 years ago
parent
commit
31fb6432cd
7 changed files with 6 additions and 11 deletions
  1. +0
    -5
      src/main/org/apache/tools/ant/taskdefs/optional/ANTLR.java
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/ejb/EJBDeploymentTool.java
  3. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJUtil.java
  4. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitVersionHelper.java
  5. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/perforce/P4HandlerAdapter.java
  6. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/sitraka/ReportFilters.java
  7. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/sitraka/bytecode/ClassFile.java

+ 0
- 5
src/main/org/apache/tools/ant/taskdefs/optional/ANTLR.java View File

@@ -315,11 +315,6 @@ public class ANTLR extends Task {
throw new BuildException("Invalid target: " + target); throw new BuildException("Invalid target: " + target);
} }


// validate the superGrammar file
if (superGrammar != null && !new File(superGrammar).isFile()) {
throw new BuildException("Invalid super grammar file: " + superGrammar);
}

// if no output directory is specified, used the target's directory // if no output directory is specified, used the target's directory
if (outputDirectory == null) { if (outputDirectory == null) {
setOutputdirectory(new File(target.getParent())); setOutputdirectory(new File(target.getParent()));


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/ejb/EJBDeploymentTool.java View File

@@ -1,7 +1,7 @@
/* /*
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
* Copyright (c) 2000-2001 The Apache Software Foundation. All rights
* Copyright (c) 2000-2002 The Apache Software Foundation. All rights
* reserved. * reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/ide/VAJUtil.java View File

@@ -1,7 +1,7 @@
/* /*
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
* Copyright (c) 2001 The Apache Software Foundation. All rights
* Copyright (c) 2001-2002 The Apache Software Foundation. All rights
* reserved. * reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitVersionHelper.java View File

@@ -1,7 +1,7 @@
/* /*
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
* Copyright (c) 2001 The Apache Software Foundation. All rights
* Copyright (c) 2001-2002 The Apache Software Foundation. All rights
* reserved. * reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/perforce/P4HandlerAdapter.java View File

@@ -1,7 +1,7 @@
/* /*
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
* Copyright (c) 2001 The Apache Software Foundation. All rights
* Copyright (c) 2001-2002 The Apache Software Foundation. All rights
* reserved. * reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/sitraka/ReportFilters.java View File

@@ -1,7 +1,7 @@
/* /*
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
* Copyright (c) 2001 The Apache Software Foundation. All rights
* Copyright (c) 2001-2002 The Apache Software Foundation. All rights
* reserved. * reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without


+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/sitraka/bytecode/ClassFile.java View File

@@ -1,7 +1,7 @@
/* /*
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
* *
* Copyright (c) 2001 The Apache Software Foundation. All rights
* Copyright (c) 2001-2002 The Apache Software Foundation. All rights
* reserved. * reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without


Loading…
Cancel
Save