Home » Eclipse Projects » Plugin Development Environment (PDE) » "Build site" debugging
"Build site" debugging [message #59328] |
Sat, 02 May 2009 14:04  |
Eclipse User |
|
|
|
Hi, everybody. Sorry, I posted this in eclipse.platform, but I suppose it
belongs most rightly here.
I maintain an OSS project (quantum.sourceforge.net) that is a database
plugin for Eclipse. I build it using the ant scripts generated by the PDE.
That works fine. But then, when building the update site using the
"site.xml"->PDE Tools->Build site automatic build, the build will fail.
The main plugin will compile OK, but the other plugins will complain (in
the logs.zip file) of "The import com.quantum.core cannot be resolved",
and similar. All imports that refer to the main plugin won't be found.
So my question is if there is a way of debugging that automated build, or
generating an ant script for it, or modifying it somehow, or similar. If
that's not possible, any idea on why my build could be failing that way
would be appreciated.
Thanks in advance.
|
|
|
Re: "Build site" debugging [message #59402 is a reply to message #59328] |
Sat, 02 May 2009 17:01   |
Eclipse User |
|
|
|
Julen Parra wrote:
> Hi, everybody. Sorry, I posted this in eclipse.platform, but I suppose
> it belongs most rightly here.
>
> I maintain an OSS project (quantum.sourceforge.net) that is a database
> plugin for Eclipse. I build it using the ant scripts generated by the
> PDE. That works fine. But then, when building the update site using the
> "site.xml"->PDE Tools->Build site automatic build, the build will fail.
> The main plugin will compile OK, but the other plugins will complain (in
> the logs.zip file) of "The import com.quantum.core cannot be resolved",
> and similar. All imports that refer to the main plugin won't be found.
>
> So my question is if there is a way of debugging that automated build,
> or generating an ant script for it, or modifying it somehow, or similar.
> If that's not possible, any idea on why my build could be failing that
> way would be appreciated.
Don't generate Ant scripts from within PDE... it's a bad idea... I
really want us to remove that functionality... :(
I recommend you remove those generated build.xml files and use PDE Build
to build your plug-ins. I'd also use a product definition to make things
easier. Here's some articles on how to use PDE Build:
http://www.vogella.de/articles/EclipsePDEBuild/article.html
http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html
Cheers,
Chris Aniszczyk | EclipseSource Austin | +1 860 839 2465
http://twitter.com/eclipsesource | http://twitter.com/caniszczyk
|
|
|
Re: "Build site" debugging [message #59427 is a reply to message #59402] |
Sat, 02 May 2009 20:18  |
Eclipse User |
|
|
|
Thanks a lot. I have always wanted to make a headless build procedure, but
was too lazy to really invest the work to do it. Also, most info about
headless build uses just one plugin, and I was never very sure how to
scale that to multiple plugins. The PDE generated scripts, although
certainly a bit of a pain to re-generate every time, are convenient to
use.
I'll have a look at the articles you mention, and try again to make a
headless procedure. Specially since I suppose that, if I do a headless
build, it could be modified to generate also the update site, so solving
my problem. I have been searching for info on doing that, but no big luck.
Just a couple of projects that have it done, and you could download the
ant script, but no explanation. If you know of some resource where the
procedure is explained, I'd be very grateful.
Thanks again. :o)
Julen.
|
|
|
Re: "Build site" debugging [message #596727 is a reply to message #59328] |
Sat, 02 May 2009 17:01  |
Eclipse User |
|
|
|
Julen Parra wrote:
> Hi, everybody. Sorry, I posted this in eclipse.platform, but I suppose
> it belongs most rightly here.
>
> I maintain an OSS project (quantum.sourceforge.net) that is a database
> plugin for Eclipse. I build it using the ant scripts generated by the
> PDE. That works fine. But then, when building the update site using the
> "site.xml"->PDE Tools->Build site automatic build, the build will fail.
> The main plugin will compile OK, but the other plugins will complain (in
> the logs.zip file) of "The import com.quantum.core cannot be resolved",
> and similar. All imports that refer to the main plugin won't be found.
>
> So my question is if there is a way of debugging that automated build,
> or generating an ant script for it, or modifying it somehow, or similar.
> If that's not possible, any idea on why my build could be failing that
> way would be appreciated.
Don't generate Ant scripts from within PDE... it's a bad idea... I
really want us to remove that functionality... :(
I recommend you remove those generated build.xml files and use PDE Build
to build your plug-ins. I'd also use a product definition to make things
easier. Here's some articles on how to use PDE Build:
http://www.vogella.de/articles/EclipsePDEBuild/article.html
http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html
Cheers,
Chris Aniszczyk | EclipseSource Austin | +1 860 839 2465
http://twitter.com/eclipsesource | http://twitter.com/caniszczyk
|
|
|
Re: "Build site" debugging [message #596731 is a reply to message #59402] |
Sat, 02 May 2009 20:18  |
Eclipse User |
|
|
|
Thanks a lot. I have always wanted to make a headless build procedure, but
was too lazy to really invest the work to do it. Also, most info about
headless build uses just one plugin, and I was never very sure how to
scale that to multiple plugins. The PDE generated scripts, although
certainly a bit of a pain to re-generate every time, are convenient to
use.
I'll have a look at the articles you mention, and try again to make a
headless procedure. Specially since I suppose that, if I do a headless
build, it could be modified to generate also the update site, so solving
my problem. I have been searching for info on doing that, but no big luck.
Just a couple of projects that have it done, and you could download the
ant script, but no explanation. If you know of some resource where the
procedure is explained, I'd be very grateful.
Thanks again. :o)
Julen.
|
|
|
Goto Forum:
Current Time: Thu May 01 05:45:09 EDT 2025
Powered by FUDForum. Page generated in 0.05538 seconds
|