Date: 2005-03-17T13:53:45 Editor: JamesCapp Wiki: Cocoon Wiki Page: Installing URL: http://wiki.apache.org/cocoon/Installing
no comment Change Log: ------------------------------------------------------------------------------ @@ -6,7 +6,7 @@ = Additional installation information = Here are updates to this guide which did not make into the official guide yet. - * '''"Could not create task or type of type: if." error''': The cause of this error is use of a system-installed Ant instead of the one provided with Cocoon. The provided Ant defines the <if> task. Workaround: uninstall the system Ant. If you don't want to do that, you might try editing the tools/bin/ant script to force it to use Cocoon's Ant instead of the system one (I haven't tried that). This error is known to occur on Linux (SuSE and Fedora) with Cocoon 2.1.5.1 and 2.1.6. (Reported by Lars Huttar; thanks to Antonio Gallardo for the fix.) + * '''"Could not create task or type of type: if." error''': The cause of this error is use of a system-installed Ant instead of the one provided with Cocoon. The provided Ant defines the <if> task. Workaround: uninstall the system Ant. If you don't want to do that, you might try editing the tools/bin/ant script to force it to use Cocoon's Ant instead of the system one by setting no_config=true in the Extract launch and ant arguments (this works on SuSE 9.2). This error is known to occur on Linux (SuSE and Fedora) with Cocoon 2.1.5.1 and 2.1.6. (Reported by Lars Huttar; thanks to Antonio Gallardo for the fix.) * '''[http://fedora.redhat.com/ Linux Fedora Core 1, 2 or 3 ]''': Comes with own versions for {{{java, javac, jar}}} and optionally for {{{ant}}}. You need to remove the links placed in {{{/usr/bin}}} for this files. All these files are pointing to {{{/etc/alternatives}}} and from there point to {{{/usr/share/java/libgcj-java*-placeholder.sh}}}. Then read [:Cocoon2.1m2SetupLinuxredhat8.0]
