Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Headless build not adding jars from binary plug-ins to build path?
Headless build not adding jars from binary plug-ins to build path? [message #596043] Tue, 21 April 2009 21:33
Eric Jain is currently offline Eric JainFriend
Messages: 266
Registered: July 2009
Senior Member
I'm trying to set up a headless Ant build for an RCP product, but end up
with the following compilation error:

[javac] Compilation arguments:
[javac] '-noExit'
[javac] '-bootclasspath'
[javac] '...'
[javac] '-classpath'
'...;c:\build\plugins\com.springsource.slf4j.api[+org/slf4j/ *;?**/*];'
[javac] 1. ERROR in c:\build\plugins\foo.test\src\test\foo\ (at
line 6)
[javac] import org.slf4j.Logger;
[javac] ^^^^^^^^^
[javac] The import org.slf4j cannot be resolved

The "missing" class/package is here:

> jar -tf
c:\build\plugins\com.springsource.slf4j.api\com.springsource .slf4j.api-1.5.0.jar

Also, com.springsource.slf4j.api-1.5.0.jar:META-INF/MANIFEST.MF includes
the following entries:

Bundle-Classpath: com.springsource.slf4j.api-1.5.0.jar
Export-Package: org.slf4j;version="1.5.0";...

Any ideas what's going wrong here? The product builds fine in Eclipse...
Previous Topic:Headless build fails with NullPointerException
Next Topic:Headless RCP Product Export
Goto Forum:

Current Time: Wed Sep 28 17:22:59 GMT 2022

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

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

Back to the top