Discussion:
[vtp-dev] how to build VTP from source code
szabolcs jozsa
2012-06-01 15:24:51 UTC
Permalink
Hi VTP Developers,

I installed and played around a little with VTP, and I'd like to build it from source code.
Is there any description how to do it ?
I could check out the sources, but I could not find out how to proceed.

Thanks in advance for your help,
Szabolcs
Trip Gilman
2012-06-01 19:43:54 UTC
Permalink
Here's a quick cheat sheet:

1) Download the RCP/Plugin Developer Eclipse package
2) Install Buckminster into Eclipse
3) Checkout the Releng/trunk/org.eclipse.vtp.releng.buckminster project
from the VTP SVN
4) Open the vtp_4.0.0.cquery and click Resolve and Materialize. This will
pull down all the dependencies and source projects you need
5) Right-click on the org.eclipse.vtp.releng.p2site project and select
Buckminster->Invoke ActionŠ
6) Select p2.site from the dialog and select the buckminster.properties
file located in that same project. This will build all the plugins and
create a p2 update site that can be used to install them

Trip Gilman
Post by szabolcs jozsa
Hi VTP Developers,
I installed and played around a little with VTP, and I'd like to build it
from source code.
Is there any description how to do it ?
I could check out the sources, but I could not find out how to proceed.
Thanks in advance for your help,
Szabolcs
_______________________________________________
vtp-dev mailing list
https://dev.eclipse.org/mailman/listinfo/vtp-dev
szabolcs jozsa
2012-06-04 15:44:56 UTC
Permalink
Hi Trip,

Thanks for the quick answer!

I completed the first 4 steps, then I'm stuck at 5.
I'm new to eclipse, so I'm not sure I tried the right way, (e.g. I did step3 checkout outside eclipse, step 4 needed some retrys), and then I didn't find the org.eclipse.vtp.releng.p2site project.

What did I miss ?

Szabolcs
Post by Trip Gilman
1) Download the RCP/Plugin Developer Eclipse package
2) Install Buckminster into Eclipse
3) Checkout the Releng/trunk/org.eclipse.vtp.releng.buckminster project
from the VTP SVN
4) Open the vtp_4.0.0.cquery and click Resolve and Materialize. This will
pull down all the dependencies and source projects you need
5) Right-click on the org.eclipse.vtp.releng.p2site project and select
Buckminster->Invoke ActionŠ
6) Select p2.site from the dialog and select the buckminster.properties
file located in that same project. This will build all the plugins and
create a p2 update site that can be used to install them
Trip Gilman
Kevin Smith
2012-07-18 15:07:23 UTC
Permalink
Post by Trip Gilman
1) Download the RCP/Plugin Developer Eclipse package
2) Install Buckminster into Eclipse
3) Checkout the Releng/trunk/org.eclipse.vtp.releng.buckminster project
from the VTP SVN
4) Open the vtp_4.0.0.cquery and click Resolve and Materialize. This will
pull down all the dependencies and source projects you need
5) Right-click on the org.eclipse.vtp.releng.p2site project and select
Buckminster->Invoke ActionŠ
6) Select p2.site from the dialog and select the buckminster.properties
file located in that same project. This will build all the plugins and
create a p2 update site that can be used to install them
Trip Gilman
Post by szabolcs jozsa
Hi VTP Developers,
I installed and played around a little with VTP, and I'd like to build it
from source code.
Is there any description how to do it ?
I could check out the sources, but I could not find out how to proceed.
Thanks in advance for your help,
Szabolcs
_______________________________________________
vtp-dev mailing list
https://dev.eclipse.org/mailman/listinfo/vtp-dev
Hi Trip,

I'm also trying to build VTP following your steps and ran into the following
errors at step 4: http://pastebin.com/Axw6MCMS

Before this step I did a clean install of Eclipse 3.7 RCP package, installed
Subversive and its optional plugins, then installed Buckminster, before pulling
down the buckminster project from SVN.

Any thoughts on what might be wrong?

Many thanks,
Kevin Smith

Trip Gilman
2012-06-04 15:59:49 UTC
Permalink
Sounds like that project isn't in the feature list. I'll take a look at
fixing that. In the meantime, you should be able to pull that project
into your workspace from SVN manually.

Trip Gilman
Post by szabolcs jozsa
Hi Trip,
Thanks for the quick answer!
I completed the first 4 steps, then I'm stuck at 5.
I'm new to eclipse, so I'm not sure I tried the right way, (e.g. I did
step3 checkout outside eclipse, step 4 needed some retrys), and then I
didn't find the org.eclipse.vtp.releng.p2site project.
What did I miss ?
Szabolcs
Post by Trip Gilman
1) Download the RCP/Plugin Developer Eclipse package
2) Install Buckminster into Eclipse
3) Checkout the Releng/trunk/org.eclipse.vtp.releng.buckminster project
from the VTP SVN
4) Open the vtp_4.0.0.cquery and click Resolve and Materialize. This
will
pull down all the dependencies and source projects you need
5) Right-click on the org.eclipse.vtp.releng.p2site project and select
Buckminster->Invoke ActionŠ
6) Select p2.site from the dialog and select the buckminster.properties
file located in that same project. This will build all the plugins and
create a p2 update site that can be used to install them
Trip Gilman
_______________________________________________
vtp-dev mailing list
https://dev.eclipse.org/mailman/listinfo/vtp-dev
szabolcs jozsa
2012-06-04 16:40:55 UTC
Permalink
I did an import existing project from the releng.p2site project, then I succeeded steps 5 and 6, and the only visible result was this on the console:

[start org.eclipse.vtp.feature.all:eclipse.feature$4.0.0.201203290530#feature.jar]
[end org.eclipse.vtp.feature.all:eclipse.feature$4.0.0.201203290530#feature.jar]
[start org.eclipse.vtp.framework.feature:eclipse.feature$4.0.0.201203290530#feature.jar]
[end org.eclipse.vtp.framework.feature:eclipse.feature$4.0.0.201203290530#feature.jar]
[start org.eclipse.vtp.desktop.feature:eclipse.feature$4.0.0.201203290530#feature.jar]
[end org.eclipse.vtp.desktop.feature:eclipse.feature$4.0.0.201203290530#feature.jar]
[start org.eclipse.vtp.desktop.extendedviews.feature:eclipse.feature$4.0.0.201203290530#feature.jar]
[end org.eclipse.vtp.desktop.extendedviews.feature:eclipse.feature$4.0.0.201203290530#feature.jar]
[start org.eclipse.vtp.releng.p2site:eclipse.feature$4.0.0.qualifier#copy.subfeatures]
[end org.eclipse.vtp.releng.p2site:eclipse.feature$4.0.0.qualifier#copy.subfeatures]
[start javax.xml.rpc:osgi.bundle$1.1.0.v201005080400#bundle.jar]
[end javax.xml.rpc:osgi.bundle$1.1.0.v201005080400#bundle.jar]
[start org.apache.commons.discovery:osgi.bundle$0.2.0.v201004190315#bundle.jar]
[end org.apache.commons.discovery:osgi.bundle$0.2.0.v201004190315#bundle.jar]
[start org.eclipse.vtp.releng.p2site:eclipse.feature$4.0.0.qualifier#copy.plugins]
[end org.eclipse.vtp.releng.p2site:eclipse.feature$4.0.0.qualifier#copy.plugins]
[start org.eclipse.vtp.releng.p2site:eclipse.feature$4.0.0.qualifier#manifest]
[end org.eclipse.vtp.releng.p2site:eclipse.feature$4.0.0.qualifier#manifest]
[start org.eclipse.vtp.releng.p2site:eclipse.feature$4.0.0.qualifier#site.p2]
[end org.eclipse.vtp.releng.p2site:eclipse.feature$4.0.0.qualifier#site.p2]

Does this mean success ?
If yes, then hurray !! Else :(

How can I test the new vtp ?

Thanks a lot,
Szabolcs
Post by Trip Gilman
Sounds like that project isn't in the feature list. I'll take a look at
fixing that. In the meantime, you should be able to pull that project
into your workspace from SVN manually.
Trip Gilman
Loading...