[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.m2e] [tycho] build problem (org.eclipse.jdt.core)

Hi!

I am currently experimenting with building Eclipse PDE components with Tycho. I could easily run the example and do some of my own examples as well. Now I want to build org.eclipse.jdt.core (checked out HEAD source from dev.eclipse.org:/cvsroot/eclipse CVS).

My problem is with the ant "dependency". This dependency is added using build.properties: "jars.extra.classpath=platform:/plugin/org.apache.ant/lib/ant.jar" - not using MANIFEST.MF. The "mvn package" command starts the process as it should, but the compilation fails with "The import org.apache cannot be resolved" error messages.

I've tried adding the ant dependency manually using dependencyManagement:

<dependency>
  <groupId>org.apache.ant</groupId>
  <artifactId>org.apache.ant</artifactId>
  <version>1.7.0</version>
  <type>eclipse-plugin</type>
</dependency>	

But this doesn't help either. Can somebody help me how to add dependencies manually?

Regards,
  Andras.