|Re: [tycho] build problem (org.eclipse.jdt.core) [message #27074 is a reply to message #26953]
||Tue, 26 May 2009 11:56
| Andras Milassin
Registered: July 2009
I've tried you're suggestion. I've added the following lines to the pom:
I've tried to run it, but got the following exception (it's missing the
parent pom file, it has no problem if I add ant as a dependency):
[DEBUG] Parent pom ids do not match: Parent File =
K:\DeepTest\Workspace\org.eclipse.jdt.core (head)\pom.xml, Parent ID =
dt:org.eclipse.jdt.core:3.5.0.qualifier, Child ID =
org.apache.ant:ant:1.7.0, Expected Parent ID =
Internal error in the plugin manager executing goal
Mojo execution failed.
Any suggestion why does it want to use the jdt.core's pom as parent?
I've tried some tricks I could come up with, but nothing helped so far.
I've tried both 0.3.0-DEV-2146 and 0.4.0-DEV-2233 releases.
Igor Fedorenko wrote:
> This is what I use to build p2-related Tycho projects (see  for the
> full pom)
> This works with (unannounced) 0.3.0-DEV-2146 and current 0.4.0 builds
> but I am not sure we will keep this syntax long term.
> Please open enhancement request in JIRA  if you need Tycho to honour
> jars.extra.classpath from build.properties.
> https://svn.sonatype.org/m2eclipse/tycho/trunk/tycho-p2/org. sonatype.tycho.p2.impl/pom.xml
>  https://issues.sonatype.org/browse/MNGECLIPSE
> Andras Milasisn wrote:
>> 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:
>> But this doesn't help either. Can somebody help me how to add
>> dependencies manually?
Powered by FUDForum
. Page generated in 0.09811 seconds