Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 18:01
Suganya Devi is currently offline Suganya DeviFriend
Messages: 21
Registered: July 2009
Junior Member
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: Fri Apr 19 21:55:49 GMT 2024

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

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

Back to the top