[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [pde-build-dev] Subversion Fetch Factory
|
Hi
Andrew,
I
found out why it wasn't picking up my Fetch Factory and it now uses my fetch
factory.
I now
have some issues with what my factory is supposed to do.
Is
there any documentation apart from API docs and extension point help that
explains what needs to be done by each method on the IFetchFactory interface.
The
build stops after it calls generateRetrieveFilesCall and
although retrieve.xml seems to fetch the feature.xml and build.properties
these files they then get moved/renamed.
How
can I debug the FetchFactory code
Thanks
Chris
Chris,
If your factory is
not found, then either
1: Your bundle
containing the factory is not present in the eclipse that is running the
build. If you put your bundle into the basebuilder/plugins, then make
sure you launch the build using the antrunner and
basebuilder/startup.jar
2: There
is a mistake in your extension point or bundle. PDE build looks for
extensions to org.eclipse.pde.build.fetchFactories, In your case, the
extension will need id="SVN", It will try to instantiate the class
specified by the "class" attribute in the extension using the constructor with
0 arguments. This class should implement IFetchFactory (or
IExecutableExtensionFactory and return an IFetchFactory from
IExecutableExtensionFactory#create()).
-Andrew
pde-build-dev-bounces@xxxxxxxxxxx wrote on 06/09/2006 11:16:02
AM:
> I have been using PDE for some time now, building our features
using
> a modified version of PDE build 3.1 with a subversion ant task
and
> custom fetch generator.
>
> I have just tried to get
this to work using Eclipse 3.2 pde by
> implementing a fetch Factory
and have got a problem.
>
> I created a plugin containing the
subversion ant tasks (which works
> OK) and a new FetchFactory with an
ID of SVN.
> I checked out the latest org.eclipse.releng.basebuilder and
deployed
> the plugin into it.
> The map file was modified to
include the repositoreyType of SVN.
>
> I get the following when
I kick off the build.
>
>
org.eclipse.pde.build\scripts\genericTargets.xml:41: org.eclipse.
>
core.runtime.CoreException: The element X.feature ca not be fetched
>
because the necessary factory (<missing argument>) is not
available.
>
> If I change the map file to have an invalid
repositoryType it tries
> to use the CVS FetchFactory and I get a
partial Fetch.xml created.
> So i guess the SVN fetch factory is being
picked up but then it is
> not being used for some reason.
>
> Has anyone had any similar issues creating a FetchFactory?
>
>
>
> Chris Vines
>
> inStream
Limited
> 49 Queen Victoria Street
> London EC4N 4SA
> Tel:
02076531916
> Mobile: 07790907735
>
>
_______________________________________________
> pde-build-dev mailing
list
> pde-build-dev@xxxxxxxxxxx
>
https://dev.eclipse.org/mailman/listinfo/pde-build-dev