I am trying to invoke installAnywhere from ant.
I get this error message
W:\source\com\immuexa\tidepool\build2.xml:87: taskdef A class needed
by class com.zerog.ia.integration.ant.InstallAnywhereAntTask cannot be
found: org/apache/tools/ant/taskdefs/ExecTask
ExecTask is part of ant. What can't it find its own class files?
<taskdef name="buildinstaller"
classname="com.zerog.ia.integration.ant.InstallAnywhereAntTask"/>
<target name="ia" depends="build">
<buildinstaller
IAlocation="e:\program files\installanywhere 6 standard"
IAProjectFile="w:\deploy\immuexa\tidepool\tidepool\tidepool.iap_xml"
/>

Signature
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Roedy Green - 24 Jul 2004 00:07 GMT
>ExecTask is part of ant. What can't it find its own class files?
I was able to fix the problem by copying all the ant/lib/*.jar files
to the ext directory, but the docs say this should not be necessary.
However, now ANT can't find the javac main class.
Arggh.

Signature
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Roedy Green - 24 Jul 2004 01:51 GMT
>However, now ANT can't find the javac main class.
using the -v option I discovered
"Detected Java version: 1.4 in: E:\j2sdk1.4.2_05\jre"
I would have expected it to use E:\j2sdk1.4.2_05\bin\java.exe
so that it could find the com.sun.tools.javac.Main
class more easily.

Signature
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
Roedy Green - 24 Jul 2004 02:27 GMT
>W:\source\com\immuexa\tidepool\build2.xml:87: taskdef A class needed
>by class com.zerog.ia.integration.ant.InstallAnywhereAntTask cannot be
>found: org/apache/tools/ant/taskdefs/ExecTask
Turns out the InstallAnywhere docs are wrong. They say in one place to
put iaant.jar on the classpath and in another in ANT_HOME/lib/ext.
Both are wrong. You supposed to put it in ANT_HOME/lib.
The error message is misleading. I suspect the class it is having
trouble finding is com.zerog.ia.integration.ant.InstallAnywhereAntTask
not org/apache/tools/ant/taskdefs/ExecTask
InstallAnywhere is a piece of CRAP. Have a look at
http://mindprod.com/jgloss/installanwhere.html for why I say this.

Signature
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
P.Hill - 24 Jul 2004 17:18 GMT
> InstallAnywhere is a piece of CRAP. Have a look at
> http://mindprod.com/jgloss/installanwhere.html for why I say this.
http://mindprod.com/jgloss/installanywhere.html
Note the extra "y".
-Paul