While building the FOP, I encounter an error "taskdef class org.apache.fop.tools.anttasks .SerializeHyphPattern cannot be found". JAVA_HOME = c:\j2sdk1.4.0 Please help. ========================================================================== C:\fop_src\fop-0.20.4>build Fop Build System ---------------- Building with classpath c:\j2sdk1.4.0\lib\tools.jar;c:\j2sdk1.4.0\lib\classes.zi p;lib\ant-1.4.1.jar;lib\batik.jar;lib\buildtools.jar;lib\xercesImpl-2.0.1.jar;li b\xml-apis.jar;lib\xalan-2.3.1.jar;lib\bsf.jar;lib\jimi-1.0.jar;lib\avalon-frame work-cvs-20020315.jar Starting Ant... Buildfile: build.xml init-avail: init-filters-xalan2: init: [echo] ------------------- Fop 0.20.4 [1999-2002] ---------------- BUILD FAILED C:\fop_src\fop-0.20.4\build.xml:285: taskdef class org.apache.fop.tools.anttasks .SerializeHyphPattern cannot be found Total time: 1 second
Dependency checking in FOP build isn't quite perfect. Probably something went wrong during the first attempt to compile the Java files, and the anttask was dropped from the dependencies in the second run. It usually helps to make a "build clean".
make via "build clean" stills have same problem.
There are two axes to address: 1. With regard to "build clean" still having problems, since the JDK is 1.4, there is a known issue with that platform, documented at http://xml.apache.org/fop/relnotes.html. The specific item is currently bullet #6 under the heading "FOP 0.20.4", and a solution is suggested there. An alternative solution is to build under JDK 1.3. Please confirm whether addressing this issue (along with "build clean") makes the build complete successfully. 2. With regard to the dependencies in the build file, J.Pietschmann is correct that there some issues. I'll be glad to track the problem down if you will document the steps that make it fail.
There may be a legitimate issue here, but with no way to duplicate it, I am closing.
batch transition to closed remaining pre-FOP1.0 resolved bugs