|How to add additional tasks to AntRunner [message #649566]
||Wed, 19 January 2011 18:01
| Suganya Devi
Registered: July 2009
I am executing PDE build from the command line (using AntRunner). I have some additional tasks from StarTeam (stcheckout) in my build script. When I run from Eclipse, I include "C:\Program Files\Borland\StarTeam SDK 11.0\Lib\starteam110.jar" in the classpath (External Tools configurations->classpath) and it works fine. When I execute from command-line (AntRunner), I'm contributing the classpath using -lib parameter and its failing with,|
"-lib not supported
Configure the Ant runtime classpath using either the global Ant runtime
classpath or the Ant runtime classpath for this particular build"
If I remove the -lib parameter, the build fails with error "Caused by: java.lang.ClassNotFoundException: com.starbase.starteam.File". I even tried setting CLASSPATH (Env Variable). I could not make it work from command-line.
Please let me know how to pass additional tasks to AntRunner?
Powered by FUDForum
. Page generated in 0.02341 seconds