Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to add additional tasks to AntRunner
How to add additional tasks to AntRunner [message #649566] Wed, 19 January 2011 13:01
Eclipse UserFriend
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?

Thanks,
Suganya
Previous Topic:SWT Browser run in Ubuntu with FireFox 3.6
Next Topic:Tigris Subeclipse plugin fails (silently) on Eclipse
Goto Forum:
  


Current Time: Mon Jul 07 21:32:44 EDT 2025

Powered by FUDForum. Page generated in 0.04531 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top