Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Build with PDE Build
Build with PDE Build [message #289944] Mon, 15 August 2005 16:08 Go to next message
Martin Jäger is currently offline Martin JägerFriend
Messages: 7
Registered: July 2009
Junior Member
Hi there

I'm trying to build a RCP project outside of eclipse with pde-build. The
fetching from cvs, compiling, and packaging of the features works fine.

Now, I saw in the 3.1 build.properties template an undocumented
property: "product".

What does it do? Does it uses my product to adjust the .exe image and
packages the branding also?

How do I use it?
product=myProduct.product
or
product=ch.netcetera.myplugin/myProduct.product

I never see something in the log about it.


Thanks a lot
Martin

--
------------------------------------------------------------ ------------
Martin Jaeger martin.jaeger@netcetera.ch
Netcetera AG, 8040 Zuerich
Re: Build with PDE Build [message #289963 is a reply to message #289944] Tue, 16 August 2005 02:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pascal.ibm.canada

Come on, it's well documented. It says "/plugin or feature
id/path/to/.product" :-)

More seriously, this will take care of the branding. To use, you need to
refer to the doc product file like in your second proposal.

PaScaL

Martin Jäger wrote:
> Hi there
>
> I'm trying to build a RCP project outside of eclipse with pde-build. The
> fetching from cvs, compiling, and packaging of the features works fine.
>
> Now, I saw in the 3.1 build.properties template an undocumented
> property: "product".
>
> What does it do? Does it uses my product to adjust the .exe image and
> packages the branding also?
>
> How do I use it?
> product=myProduct.product
> or
> product=ch.netcetera.myplugin/myProduct.product
>
> I never see something in the log about it.
>
>
> Thanks a lot
> Martin
>
Re: Build with PDE Build [message #289972 is a reply to message #289963] Tue, 16 August 2005 09:54 Go to previous messageGo to next message
Martin Jäger is currently offline Martin JägerFriend
Messages: 7
Registered: July 2009
Junior Member
Hi Pascal

Thank you for the hint. But I get nothing branded out of the build.
I assume to receive a zip file with an ".exe" file named according to
the product with the specified icon, a generated config.ini file and all
my plugins and features in the right directory.

But what the build produces is "only" a zip file of every feature with
all plugins in it (like without the "product" property).

I also do not see anything like zip.product in the ant log.

Do you have an idea what is missing, or am I expecting too much?

Thanks in advance
Martin


Pascal Rapicault wrote:
> Come on, it's well documented. It says "/plugin or feature
> id/path/to/.product" :-)
>
> More seriously, this will take care of the branding. To use, you need to
> refer to the doc product file like in your second proposal.
>
> PaScaL
>
> Martin Jäger wrote:
>
>> Hi there
>>
>> I'm trying to build a RCP project outside of eclipse with pde-build.
>> The fetching from cvs, compiling, and packaging of the features works
>> fine.
>>
>> Now, I saw in the 3.1 build.properties template an undocumented
>> property: "product".
>>
>> What does it do? Does it uses my product to adjust the .exe image and
>> packages the branding also?
>>
>> How do I use it?
>> product=myProduct.product
>> or
>> product=ch.netcetera.myplugin/myProduct.product
>>
>> I never see something in the log about it.
>>
>>
>> Thanks a lot
>> Martin
>>
Re: Build with PDE Build [message #290094 is a reply to message #289972] Thu, 18 August 2005 15:09 Go to previous messageGo to next message
Greg Akins is currently offline Greg AkinsFriend
Messages: 4
Registered: July 2009
Junior Member
My understanding is that you can't do a full export in the scripts. The
only way is to use the File | Export menu.

However, I'm new to this, so I might have gotten bad info.

A related question, since you got your compile working.

I have a simple build script that has this target

<target name="feature">
<eclipse.buildScript
elements="feature@com.sony.sel.cim.atlas.de.feature"
buildDirectory="${basedir}\src"
baseLocation="${baseLocation}" />
</target>

This is run using the Eclipse antRunner, from the base directory (which is
one level above the feature directory.

However, I get a message

org.eclipse.core.runtime.CoreException: Unable to find feature:
com.sony.sel.cim.atlas.de.feature.

Any idea what I'm doing wrong? Looks like a classpath problem to me; but
I can't see where I might be missing that.

Any help is appreciated.
Re: Build with PDE Build [message #290192 is a reply to message #290094] Fri, 19 August 2005 14:30 Go to previous messageGo to next message
Martin Jäger is currently offline Martin JägerFriend
Messages: 7
Registered: July 2009
Junior Member
Hi Greg

I never used it like you want to do. I built it like it is described in
the excellent article here:
http://www.eclipse.org/articles/Article-PDE-Automation/autom ation.html

But I think your feature code has to lie here:
${baseLocation}/feature/com.sony.sel.cim.atlas.de.feature

Additionally, I hope it is possible to export a product complete in
Eclipse 3.1... without human interaction.

Regards,
Martin

Greg Akins wrote:
> My understanding is that you can't do a full export in the scripts. The
> only way is to use the File | Export menu.
>
> However, I'm new to this, so I might have gotten bad info.
>
> A related question, since you got your compile working.
>
> I have a simple build script that has this target
>
> <target name="feature">
> <eclipse.buildScript
> elements="feature@com.sony.sel.cim.atlas.de.feature"
> buildDirectory="${basedir}\src"
> baseLocation="${baseLocation}" />
> </target>
>
> This is run using the Eclipse antRunner, from the base directory (which
> is one level above the feature directory.
>
> However, I get a message
> org.eclipse.core.runtime.CoreException: Unable to find feature:
> com.sony.sel.cim.atlas.de.feature.
>
> Any idea what I'm doing wrong? Looks like a classpath problem to me;
> but I can't see where I might be missing that.
>
> Any help is appreciated.
>
Re: Build with PDE Build [message #290274 is a reply to message #290192] Mon, 22 August 2005 17:19 Go to previous message
Eclipse UserFriend
Originally posted by: greg.akins.am.sony.com

Martin Jäger wrote:

> Hi Greg

> I never used it like you want to do. I built it like it is described in
> the excellent article here:
> http://www.eclipse.org/articles/Article-PDE-Automation/autom ation.html

Thanks! I read that article, and am having more luck as I work backwards
through that, rather than trying to implement my own build from scratch.

> Additionally, I hope it is possible to export a product complete in
> Eclipse 3.1... without human interaction.


Unless I misunderstand, this is impossible. There is a bug report with a
fair amount of commentary requesting this very thing (Sorry, I don't have
a bug number, you could look at Bugzilla).

I'm in the progress of trying to get my first PDE build, with the
intention of reverse engineering the resulting Ant scripts to make it less
dependent on Eclipse to build. But haven't made much progress yet.

There is an Maven Mevenide project (Maven Eclipse Plugin Plugin) that
appears to be a build tool for Eclipse plugins. But I'm not sure how
mature that project is; and whether it's for just plugins or full RCP
applications.
Previous Topic:JavaEditor and read-only file
Next Topic:problems getting plugin to load native libraries with dependencies between libraries.
Goto Forum:
  


Current Time: Sat Apr 27 03:36:09 GMT 2024

Powered by FUDForum. Page generated in 0.03006 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top