[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [pde-build-dev] PDE source-plugin build
|
Those come out in the ant log and I
thought they were just always on. Unless there was an ant option
to turn off logging.
-Andrew
"Weir, Michael"
<Michael.Weir@xxxxxxxxxx>
Sent by: pde-build-dev-bounces@xxxxxxxxxxx
02/28/2007 10:50 AM
Please respond to
"Eclipse PDE Build developers list." <pde-build-dev@xxxxxxxxxxx> |
|
To
| "Eclipse PDE Build developers list."
<pde-build-dev@xxxxxxxxxxx>
|
cc
|
|
Subject
| RE: [pde-build-dev] PDE source-plugin
build |
|
Thanks.
I notice that there are a few logging statements
in the PDE code. How can I switch them on?
From: pde-build-dev-bounces@xxxxxxxxxxx
[mailto:pde-build-dev-bounces@xxxxxxxxxxx] On Behalf Of Andrew Niefer
Sent: Tuesday, February 27, 2007 5:50 PM
To: Eclipse PDE Build developers list.
Subject: Re: [pde-build-dev] PDE source-plugin build
Michael,
PDE Build does not have any debug logging during script generation.
Debugging PDE itself might be simpler than adding logging.
Just do the following:
1) Run the eclipse that contains pde.build
2) open the Plugin-Development perspective
3) in the Plug-ins view, find pde.build and right-click -> add to java
search
4) Ctrl+shift+T to open FeatureBuildScriptGenerator
5) set a breakpoint on generate();
6) Make a new debug configuration to run the org.eclipse.ant.core.antRunner
application
7) Set your program arguments as appropriate and debug.
To make changes to the code (ie add logging), instead of 2 & 3, do:
a) Make sure you have a 1.4.2 JRE installed: Window -> Preferences ->
Java -> Installed JREs
b) open the CVS perspective, add anonymous dev.eclipse.org:/cvsroot/eclipse
as a repository and check out org.eclipse.pde.build
c) In the package-explorer, right click on Meta-Inf/manifest.mf -> PDE
Tools -> Create Ant Build File
d) on the resulting build.xml, right click -> Run As -> ant Build
(This builds the lib/pdebuild-ant.jar, you only need to do this once).
Continue at 4) to debug
-Andrew
"Weir, Michael"
<Michael.Weir@xxxxxxxxxx>
Sent by: pde-build-dev-bounces@xxxxxxxxxxx
02/27/2007 09:49 AM
Please respond to
"Eclipse PDE Build developers list." <pde-build-dev@xxxxxxxxxxx> |
|
To
| <pde-build-dev@xxxxxxxxxxx>
|
cc
|
|
Subject
| [pde-build-dev] PDE source-plugin build |
|
I'm trying to generate source plugins. I've tried to follow the instructions
in "Advanced PDE build topics/Generating Source Features and Plug-ins",
but am getting nowhere. When I include my "xxx.sdk" feature
in my build, it fails during the generate step for the xxx.sdk, saying
that it 'couldn't create feature file: yyy' where yyy is previously built
and is in the output directory. It fails after having created the
xxx.source feature and plugin, but before writing the build.xml files for
either the sdk or source features and plugins.
Before begging for help, I'd
like to know what debugging facilities are available. Is it possible
to get the PDE build to tell you what it's doing? I'm finding the
output quite terse, and the error messages not very useful since they usually
tell you what went wrong but not what the build was doing or what it expected,
etc.
I know you can use -debug and
an .options file, but I haven't seen a description of what can be put into
the file.
How hard would it be to build
the PDE plugins on my machine and add my own debug logging?
Thanks for any help.
Michael Weir · Cognos Incorporated
· 3755 Riverside Drive, Ottawa, ON Canada K1G 4K9 · (613) 738-1338 Ext.
3606
This message may contain privileged and/or confidential
information. If you have received this e-mail in error or are not
the intended recipient, you may not use, copy, disseminate or distribute
it; do not open any attachments, delete it immediately from your system
and notify the sender promptly by e-mail that you have done so. Thank
you. _______________________________________________
pde-build-dev mailing list
pde-build-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-build-dev
_______________________________________________
pde-build-dev mailing list
pde-build-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-build-dev