Does the second plugin has its own feature.xml?

On 3/6/07, Magali Helene <[EMAIL PROTECTED]> wrote:


Hello

I am using the PDE-maven plugin to build plugins.
I have a first core plugin. I placed a pom.xml in the features repository
and the build is ok. It takes into account the features and all the
plugins
listed in it.
Then I have a second plugin, which features includes my first core
plugin's
features. The PDE-maven plugin detects correctly this dependency and
places
the needed first plugins in the temprorary repository of the second
features
plugin. So it seems ok. Then it builds the second plugin itself, and this
build failed because it can't find the first plugins ! Actually, when I am
looking in the build.xml file, I see that the javac classpath pointed to
the
/plugins repositories instead of the temp repository of the features,
where,
juste before, the right plugins have been placed !
I don't know if I am clear enough, but it is really a problem for me
because
I can't build plugins that depends on others plugins.

If someone has any ideas...

Magali Helene
--------------------------------------------------------------
in my build.xml of the plugin:

<javac destdir="${temp.folder}/arpchangerclient.jar.bin"
failonerror="${javacFailOnError}" verbose="${javacVerbose}"
debug="${javacDebugInfo}" includeAntRuntime="no"
bootclasspath="${bootclasspath}" source="${javacSource}"
target="${javacTarget}"        >
          <compilerarg line="${compilerArg}"/>
          <classpath>
                  <pathelement path="../../../../../../../Program
Files/eclipse
3.0.2/eclipse/plugins/org.eclipse.core.runtime_3.0.2/runtime.jar"/>
                  <pathelement path="../../../../../../../Program
Files/eclipse 3.0.2/eclipse/plugins/org.eclipse.osgi_3.0.1/core.jar"/>
                    .
                    .
                    .
                    <pathelement path="../FR - Plugin Core/arpcore.jar"/>
                    <pathelement path="../NL - Plugin
Core/arpcoreus.jar"/>
          </classpath>
          <src path="src/"            />
</javac>

instead of ?
                      <pathelement path="${pluginTemp}/FR - Plugin
Core/arpcore.jar"/>
                      <pathelement path="${pluginTemp}/NL - Plugin
Core/arpcoreus.jar"/>


--
View this message in context:
http://www.nabble.com/included-features-with-PDE-maven-plugin-tf3356596s177.html#a9335496
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to