BUILD FAILED: Ant Error Message: /export/users/viv/trunk/cc/projects/classlib/trunk/build.xml:167: The following error occurred while executing this line: /export/users/viv/trunk/cc/projects/classlib/trunk/make/build-test.xml:289: Could not create task or type of type: replaceregexp. Ant could not find the task or a class this task relies upon. This is common and has a number of causes; the usual solutions are to read the manual pages then download and install needed JAR files, or fix the build file: - You have misspelt 'replaceregexp'. Fix: check your spelling. - The task needs an external JAR file to execute and this is not found at the right place in the classpath. Fix: check the documentation for dependencies. Fix: declare the task. - The task is an Ant optional task and the JAR file and/or libraries implementing the functionality were not found at the time you yourself built your installation of Ant from the Ant sources. Fix: Look in the ANT_HOME/lib for the 'ant-' JAR! corresponding to the task and make sure it contains more than merely a META-INF/MANIFEST.MF. If all it contains is the manifest, then rebuild Ant with the needed libraries present in /export/users/viv/trunk/cc/lib/optional/ , or alternatively, download a pre-built release version from apache.org - The build file was written for a later version of Ant Fix: upgrade to at least the latest release version of Ant - The task is not an Ant core or optional task and needs to be declared using . - You are attempting to use a task defined using or but have spelt wrong or not defined it at the point of use Remember that for JAR files to be visible to Ant tasks implemented in ANT_HOME/lib, the files must be in the same directory or on the classpath Please neither file bug reports on this problem, nor email the Ant mailing lists, until all of these causes have been explored, as this is not an Ant bug. Date of build: 01/14/2007 16:06:27 Time to build: 80 minutes 18 seconds Last changed: 01/14/2007 16:03:36 Last log entry: Applying patches from "[#HARMONY-2704] [classlib][swing] javax.swing.plaf.basic.BasicMenuItemUI.uninstallUI(new JOptionPane()) throws unspecified NPE while RI throws ClassCastException". I removed the test from all exclude lists not just two as in the patch. *********************************************************** Errors/Warnings: (306) *********************************************************** Unit Tests: (19015) All Tests Passed *********************************************************** Modifications since last successful build: (41) modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/make/exclude.linux.x86_64.drl 01/14/2007 16:03:36 Applying patches from "[#HARMONY-2704] [classlib][swing]javax.swing.plaf.basic.BasicMenuItemUI.uninstallUI(new JOptionPane())throws unspecified NPE while RI throws ClassCastException". I removed thetest from all exclude lists not just two as in the patch. modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/make/exclude.windows.x86_64.ibm 01/14/2007 16:03:36 Applying patches from "[#HARMONY-2704] [classlib][swing]javax.swing.plaf.basic.BasicMenuItemUI.uninstallUI(new JOptionPane())throws unspecified NPE while RI throws ClassCastException". I removed thetest from all exclude lists not just two as in the patch. modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/make/exclude.windows.x86.drl 01/14/2007 16:03:36 Applying patches from "[#HARMONY-2704] [classlib][swing]javax.swing.plaf.basic.BasicMenuItemUI.uninstallUI(new JOptionPane())throws unspecified NPE while RI throws ClassCastException". I removed thetest from all exclude lists not just two as in the patch. modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/make/exclude.linux.x86_64.ibm 01/14/2007 16:03:36 Applying patches from "[#HARMONY-2704] [classlib][swing]javax.swing.plaf.basic.BasicMenuItemUI.uninstallUI(new JOptionPane())throws unspecified NPE while RI throws ClassCastException". I removed thetest from all exclude lists not just two as in the patch. modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/make/exclude.linux.x86.drl 01/14/2007 16:03:36 Applying patches from "[#HARMONY-2704] [classlib][swing]javax.swing.plaf.basic.BasicMenuItemUI.uninstallUI(new JOptionPane())throws unspecified NPE while RI throws ClassCastException". I removed thetest from all exclude lists not just two as in the patch. modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/make/exclude.windows.x86.ibm 01/14/2007 16:03:36 Applying patches from "[#HARMONY-2704] [classlib][swing]javax.swing.plaf.basic.BasicMenuItemUI.uninstallUI(new JOptionPane())throws unspecified NPE while RI throws ClassCastException". I removed thetest from all exclude lists not just two as in the patch. modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicMenuItemUI.java 01/14/2007 16:03:36 Applying patches from "[#HARMONY-2704] [classlib][swing]javax.swing.plaf.basic.BasicMenuItemUI.uninstallUI(new JOptionPane())throws unspecified NPE while RI throws ClassCastException". I removed thetest from all exclude lists not just two as in the patch. modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/make/exclude.windows.x86_64.drl 01/14/2007 16:03:36 Applying patches from "[#HARMONY-2704] [classlib][swing]javax.swing.plaf.basic.BasicMenuItemUI.uninstallUI(new JOptionPane())throws unspecified NPE while RI throws ClassCastException". I removed thetest from all exclude lists not just two as in the patch. modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/make/exclude.linux.x86.ibm 01/14/2007 16:03:36 Applying patches from "[#HARMONY-2704] [classlib][swing]javax.swing.plaf.basic.BasicMenuItemUI.uninstallUI(new JOptionPane())throws unspecified NPE while RI throws ClassCastException". I removed thetest from all exclude lists not just two as in the patch. modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/plaf/basic/BasicMenuItemUITest.java 01/14/2007 16:03:36 Applying patches from "[#HARMONY-2704] [classlib][swing]javax.swing.plaf.basic.BasicMenuItemUI.uninstallUI(new JOptionPane())throws unspecified NPE while RI throws ClassCastException". I removed thetest from all exclude lists not just two as in the patch. modified hindessm /harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/image/RescaleOp.java 01/14/2007 15:58:32 Applying patches from "[#HARMONY-2691] [classlib][awt][compatibility]java.awt.image.RescaleOp(float[] scaleFactors, float[] offsets,RenderingHints hints) throws IllegalArgumentException if an array isempty". I modified the test slightly to let junit handle the exceptions. modified hindessm /harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/image/RescaleOpTest.java 01/14/2007 15:58:32 Applying patches from "[#HARMONY-2691] [classlib][awt][compatibility]java.awt.image.RescaleOp(float[] scaleFactors, float[] offsets,RenderingHints hints) throws IllegalArgumentException if an array isempty". I modified the test slightly to let junit handle the exceptions. modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicProgressBarUI.java 01/14/2007 15:57:33 Applying patches from "[#HARMONY-2701] [classlib][swing]javax.swing.plaf.basic.BasicProgressBarUI.getBoxLength(int, int) returnsvalue greater than RI returns". modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/plaf/basic/BasicProgressBarUITest.java 01/14/2007 15:57:33 Applying patches from "[#HARMONY-2701] [classlib][swing]javax.swing.plaf.basic.BasicProgressBarUI.getBoxLength(int, int) returnsvalue greater than RI returns". modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/JOptionPane.java 01/14/2007 15:45:17 Applying patches from "[#HARMONY-2690] [classlib][swing]javax.swing.JOptionPane.getOptions() returns array of Objects on Harmonywhile RI returns null". modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/JOptionPaneTest.java 01/14/2007 15:45:17 Applying patches from "[#HARMONY-2690] [classlib][swing]javax.swing.JOptionPane.getOptions() returns array of Objects on Harmonywhile RI returns null". modified hindessm /harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/image/RescaleOp.java 01/14/2007 15:36:03 Applying patches from "[#HARMONY-2689] [classlib][awt]java.awt.image.RescaleOp.getOffsets() throws unexpected IAE if an array haszero legth size.". added hindessm /harmony/enhanced/classlib/trunk/modules/awt/src/test/api/java/common/java/awt/image/RescaleOpTest.java 01/14/2007 15:36:03 Applying patches from "[#HARMONY-2689] [classlib][awt]java.awt.image.RescaleOp.getOffsets() throws unexpected IAE if an array haszero legth size.". modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicProgressBarUI.java 01/14/2007 15:29:54 Applying patches from "[#HARMONY-2677] [classlib][swing]javax.swing.plaf.basic.BasicProgressBarUI.startAnimationTimer() throwsunspecified NPE while RI does not". modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/plaf/basic/BasicProgressBarUITest.java 01/14/2007 15:29:54 Applying patches from "[#HARMONY-2677] [classlib][swing]javax.swing.plaf.basic.BasicProgressBarUI.startAnimationTimer() throwsunspecified NPE while RI does not". modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/make/exclude.linux.x86_64.drl 01/14/2007 15:22:27 Applying patches from "[#HARMONY-2668] [classlib][swing] new test-cases forj.s.Spring and j.s.SpringLayout". modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/make/exclude.windows.x86_64.ibm 01/14/2007 15:22:27 Applying patches from "[#HARMONY-2668] [classlib][swing] new test-cases forj.s.Spring and j.s.SpringLayout". modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/make/exclude.windows.x86.drl 01/14/2007 15:22:27 Applying patches from "[#HARMONY-2668] [classlib][swing] new test-cases forj.s.Spring and j.s.SpringLayout". modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/SpringLayout.java 01/14/2007 15:22:27 Applying patches from "[#HARMONY-2668] [classlib][swing] new test-cases forj.s.Spring and j.s.SpringLayout". modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/make/exclude.linux.x86_64.ibm 01/14/2007 15:22:27 Applying patches from "[#HARMONY-2668] [classlib][swing] new test-cases forj.s.Spring and j.s.SpringLayout". modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/make/exclude.linux.x86.drl 01/14/2007 15:22:27 Applying patches from "[#HARMONY-2668] [classlib][swing] new test-cases forj.s.Spring and j.s.SpringLayout". modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/SpringLayoutTest.java 01/14/2007 15:22:27 Applying patches from "[#HARMONY-2668] [classlib][swing] new test-cases forj.s.Spring and j.s.SpringLayout". modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/make/exclude.windows.x86.ibm 01/14/2007 15:22:27 Applying patches from "[#HARMONY-2668] [classlib][swing] new test-cases forj.s.Spring and j.s.SpringLayout". modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/SpringTest.java 01/14/2007 15:22:27 Applying patches from "[#HARMONY-2668] [classlib][swing] new test-cases forj.s.Spring and j.s.SpringLayout". modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/make/exclude.windows.x86_64.drl 01/14/2007 15:22:27 Applying patches from "[#HARMONY-2668] [classlib][swing] new test-cases forj.s.Spring and j.s.SpringLayout". modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/make/exclude.linux.x86.ibm 01/14/2007 15:22:27 Applying patches from "[#HARMONY-2668] [classlib][swing] new test-cases forj.s.Spring and j.s.SpringLayout". add cc-drlvm log20070114151642Lbuild.148 01/14/2007 15:16:42drlvm modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicInternalFrameTitlePane.java 01/14/2007 15:15:53 Applying patches from "[#HARMONY-2666] [classlib][swing]javax.swing.plaf.metal.BasicInternalFrameTitlePane(null) doesn't throwunspecified NPE while RI does". modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/plaf/basic/BasicInternalFrameTitlePaneTest.java 01/14/2007 15:15:53 Applying patches from "[#HARMONY-2666] [classlib][swing]javax.swing.plaf.metal.BasicInternalFrameTitlePane(null) doesn't throwunspecified NPE while RI does". modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicDesktopIconUI.java 01/14/2007 15:08:58 Applying patches from "[#HARMONY-2664] [classlib][swing]javax.swing.plaf.basic.BasicDesktopIconUI.getInsets(null) returns validresult while RI throws NPE". modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/plaf/basic/BasicDesktopIconUITest.java 01/14/2007 15:08:58 Applying patches from "[#HARMONY-2664] [classlib][swing]javax.swing.plaf.basic.BasicDesktopIconUI.getInsets(null) returns validresult while RI throws NPE". modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicSplitPaneUI.java 01/14/2007 15:05:17 Applying patches from "[#HARMONY-2661] [classlib][swing][plaf]javax.swing.plaf.basic.BasicSplitPaneUI.getDividerLocation(null) doesn'tthrow unspecified NPE". I've not applied the patch to remove the test fromthe windows exclude list because I don't have a windows machine handy and Istill get two failures on Linux. modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/plaf/basic/BasicSplitPaneUITest.java 01/14/2007 15:05:17 Applying patches from "[#HARMONY-2661] [classlib][swing][plaf]javax.swing.plaf.basic.BasicSplitPaneUI.getDividerLocation(null) doesn'tthrow unspecified NPE". I've not applied the patch to remove the test fromthe windows exclude list because I don't have a windows machine handy and Istill get two failures on Linux. add cc-classlib log20070114150507Lbuild.119 01/14/2007 15:05:07classlib modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/src/main/java/common/javax/swing/plaf/basic/BasicListUI.java 01/14/2007 14:59:16 Applying patch from "[#HARMONY-2659] [classlib][swing][plaf]javax.swing.plaf.basic.BasicListUI.locationToIndex(.., null) doesn't throwunspecified NPE". modified hindessm /harmony/enhanced/classlib/trunk/modules/swing/src/test/api/java/common/javax/swing/plaf/basic/BasicListUITest.java 01/14/2007 14:59:16 Applying patch from "[#HARMONY-2659] [classlib][swing][plaf]javax.swing.plaf.basic.BasicListUI.locationToIndex(.., null) doesn't throwunspecified NPE".