Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Re: building the CDT

Another thing you can do, if all you're after is getting your changes installed in your local eclipse instance, is export into the current host environment:

http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.pde.doc.user/tasks/ui_export_install_into_host.htm

Cheers
James

On 13 Jan 2010, at 20:04, Vivian Kong <vivkong@xxxxxxxxxx> wrote:

Hi David,

The easiest way to do that is to use the Export wizard.

For example, to build the org.eclipse.cdt feature (I'm using Eclipse 3.6M3):

1. Select org.eclipse.cdt.feature in your workspace and select Export:
<08905176.gif>

2. Select Deployable features, click Next
<08784489.gif>

3. Select the feature(s) you want to deploy and specify the destination:
<08800249.gif>

4. Click Finish. It took approx 3-5 mins for this to finish.

You can then find the feature and plugin jars in the location you specified.
<08347488.gif>

5. Copy the following exported directories/files to the dropins/eclipse folder of an Eclipse build. This will install the CDT feature.
<08394185.gif>

<08814056.gif>

Regards,

Vivian Kong
IBM Eclipse CDT
IBM Canada Toronto Lab

<graycol.gif>David Sariel ---01/13/2010 12:16:45 PM---Hi, Have anybody ever tried to build CDT distribution from local sources

<ecblank.gif>
From:
<ecblank.gif>
David Sariel <datosar@xxxxxxxxx>
<ecblank.gif>
To:
<ecblank.gif>
"CDT General developers list." <cdt-dev@xxxxxxxxxxx>
<ecblank.gif>
Date:
<ecblank.gif>
01/13/2010 12:16 PM
<ecblank.gif>
Subject:
<ecblank.gif>
[cdt-dev] Re: building the CDT
<ecblank.gif>
Sent by:
<ecblank.gif>
cdt-dev-bounces@xxxxxxxxxxx




Hi,

Have anybody ever tried to build CDT distribution from local sources
spearing fetching sources from dev.eclipse.org:/cvsroot/tools CVS
repository?


I tried to change map.cdt file to fetch sources I have changed from my
CVS repository and it doesn't work.


I also tried to figure out (using printouts) how org.eclipse.cdt.releng
and org.eclipse.pde.build_3.5.1.R35x_20090820/scripts/
work and lost the track. I don't understand how packages listed in
cdt.map are fetched from the CVS. The build process fetches them in
completely different order. Also I don't understand where from
“fetch_<package_name>.xml” files creation is guided from.

I thought I will be easily able to change scripts to either fetch files
from my CVS repository or by simply taking my local source files. And
both seem to complicated.

I will very much appreciate if someone can explain how to produce
distribution files from local sources (without CVS).

I found post from 2002
http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg00112.html
with the list of steps to build CDT without fetching files from CVS.
According to it, I tried to import :
org.apache.lucene
org.apache.xerces
org.eclipse.ant.core
org.eclipse.compare
org.eclipse.core.boot
org.eclipse.core.resources
org.eclipse.core.runtime
org.eclipse.debug.core
org.eclipse.debug.ui
org.eclipse.help
org.eclipse.platform
org.eclipse.search
org.eclipse.swt
org.eclipse.swt.win32
org.eclipse.ui
org.eclipse.update.core

into my workspace (together with the packages they depend on) and then
to export everything as “deployable plug-ins and packages” (eclipse
plug-in development option). But it doesn't work.

Sorry for the long post and thanks in advance,

David



David Sariel wrote:
> Hi,
> Sorry for beginners question, but I want to be sure I'm in the right direction.
>
> During the development process I was running the CDT from eclipse as
> eclipse application.
> I understand that if I want to run CDT without running it from another
> instance of eclipse,
> I have to build it with org.eclipse.cdt.releng scripts. But is that
> the only way?
> For example, can't I just choose export and then select to create
> deployable plugins or
> eclipse product?
>
> In case the answer to the previous question is negative and the only
> resort is to use the org.eclipse.cdt.releng build scripts , how can I
> avoid fetching files from CVS server that is performed by
> org.eclipse.cdt.releng? I understand that I can refer in cdt.map to my
> CVS repository that contains my version of CDT sources, but is there
> exists an easier way to build CDT from the sources that are located on
> my HD without setting up CVS and rewriting cdt.map?
>
> Thanks,
> David
>  
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

Back to the top