Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-build-dev] Order of compiling plugins during headless build

Hello,

we are doing a headless product build for our rcp application and we encoutered the following problem: the plugins are compiled in the wrong order means the headless build does not follow the dependencies as defined in the "plugin.xml"s.

Here is the situation: We have a product which contains one feature. In that feature are the plugins pluginA, pluginB and pluginC (in fact there are 10 plug-ins, but I simplify it here). PluginB depends on pluginA and pluginC. During the headless product build the ant script from the pde tools builds first pluginA and then pluginB. That is the point where I get the error because pluginB cannot find the packages of pluginC. If we are using the Export product wizard from the Eclipse IDE, everything works fine.

The error I get is
1. ERROR in C:\xyz\build\plugins\pluginB\src\Example.java (at line 32)
import org.example.package.ExampleClass;
          ^^^^^^^^^^^^^^^^
The import org.example.package cannot be resolved

I hope the problem became clear, thanks for your help.

Greets,
Felix
begin:vcard
fn:Felix Zielke
n:Zielke;Felix
org:Fraunhofer-Institut Intelligente Analyse- und Informationssysteme;Competence Center NetMedia
adr:;;Schloss Birlinghoven;Sankt Augustin;;53754;Germany
email;internet:felix.zielke@xxxxxxxxxxxxxxxxxx
title:Dipl.-Ing.
tel;work:+49 2241 14 1948
tel;cell:+49 1511 78 72 829
url:http://www.iais.fraunhofer.de
version:2.1
end:vcard


Back to the top