[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [subversive-dev] build from source

Hi Neels,

If I correctly understood what you're asking about, then here it is:

Debug Configurations (button in toolbar) => Eclipse Application (node) => <Your Application Configuration> (node) => Plug-ins (tab)
Run Configurations (button in toolbar) => Eclipse Application (node) => <Your Application Configuration> (node) => Plug-ins (tab)

And in this tab you'll need to check plug-ins under the "Workspace" node and uncheck the same plug-ins under the "Target Platform" node.
Best regards,
Alexander Gurov.

01.08.2011 20:02, Neels J Hofmeyr пишет:
Hi Alexander,

thanks for you reply, it clarifies our own findings.

I'm still curious about where in this process the magic is hidden that
selects all the correct source packages in the "Run configurations..."
dialog (only the four ...svn, svn.core, .ui and .help).

Thanks!
~Neels


On 07/29/2011 10:46 PM, Alexander Gurov wrote:
Hello,

It looks I've missed your question and my answer is already late, however I
still think I should bring my two cents too.
In order to build and debug Subversive you'll need:
1) Eclipse IDE for Java (it could be Classic, for Java or RCP), the best
choice will be the SDK version
2) Subversive or any other SVN integration plug-in installed into the
Eclipse IDE
3) If you need only main Subversive plug-in to work with, then you could
skip this step, otherwise you'll need to install Mylyn and GEF projects too
in order to build Subversive integrations too (Subversive-Mylyn integration,
Revision Graph)
4) Now you'll need to checkout Subversive projects into your workspace (all
related projects are included into the attached project set file)
5) When you create runtime configuration, be sure to enable Subversive
plug-ins from the workspace and disable installed Subversive plug-ins in it
6) In order to create new Subversive build you'll need to right-click over
the site.xml and select action "PDE Tools->Build site"

And there is nothing more to it.

Best regards,
Alexander Gurov.

29.07.2011 17:43, Neels J Hofmeyr пишет:
I've helped myself. Build success was achieved with the Eclipse for Java,
with the binary Subversive installed in the building eclipse instance, and
letting the Subversive discover plugins off Subversive's trunk. Various
things need to be installed, including the Eclipse PDE & Platform things
from the "Eclipse Update Site" as well as Subversive things off the "Indigo"
site. I'm not sure which detail exactly did the trick though.

May this monologue help some strayed hackers out there.

~Neels

On 07/28/2011 01:10 PM, Neels J Hofmeyr wrote:
Hi subversive devs,

I have the task of investigating bug 294610 for a client of ours.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=294610

But at the moment, I've been stuck for some time with trying to build & run
the subversive plugin from source. (So that I can later test modifications)

The most successful attempt at doing that was so far:

- have a clean Eclipse Indigo unpacked in the home dir.

- do not install the subversive plugin to avoid confusion whether
  I'm testing the binary install or the source build.

- checkout the subversive trunk into the workspace using the
  svn command line client.
  http://dev.eclipse.org/svnroot/technology/org.eclipse.subversive/trunk

- by chance, import into the workspace the following source trees:
  org.eclipse.team.svn.core
  org.eclipse.team.svn.ui
  org.eclipse.team.svn.help
  org.eclipse.team.svn.tests

- Build all, find ~1400 warnings, ignore.

- Run plug-ins as Eclipse application.

- In the second, plug-in testing Eclipse that starts, go to
  the "SVN Repositories" view, after which the Subversive
  Connectors Discovery starts automatically.

- Select SVNKit 1.3.5 (which works fine in the binary install of Subversive)

- Installation of the connector fails with, among others, the error message:

"org.eclipse.core.runtime.CoreException: Operation details
	at
org.eclipse.team.svn.ui.discovery.PrepareInstallProfileJob_3_6.resolve(PrepareInstallProfileJob_3_6.java:129)
	at
org.eclipse.team.svn.ui.discovery.PrepareInstallProfileJob_3_6.run(PrepareInstallProfileJob_3_6.java:97)
	at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Contains: Cannot complete the install because one or more required items
could not be found.
Contains: Software being installed: Subversive SVN Connectors
2.2.2.I20110715-1700 (org.polarion.eclipse.team.svn.connector.feature.group
2.2.2.I20110715-1700)
Contains: Missing requirement: Subversive SVN Connectors
2.2.2.I20110715-1700 (org.polarion.eclipse.team.svn.connector.feature.group
2.2.2.I20110715-1700) requires 'org.eclipse.team.svn.feature.group
[0.7.9.I20110101-1700,1.0.0)' but it could not be found
"


I've been trying to resolve this, but if you already know what I'm doing
wrong, I'd be delighted if you could tell me.

Thanks!
~Neels

java -version
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.9) (6b20-1.9.9-0ubuntu1~10.10.2)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
devk=0:26 (-48:51) [13:09:48]

uname -a
Linux dub 2.6.35-30-generic #54-Ubuntu SMP Tue Jun 7 18:41:54 UTC 2011
x86_64 GNU/Linux




_______________________________________________
subversive-dev mailing list
subversive-dev@xxxxxxxxxxx <mailto:subversive-dev@xxxxxxxxxxx>
https://dev.eclipse.org/mailman/listinfo/subversive-dev

_______________________________________________
subversive-dev mailing list
subversive-dev@xxxxxxxxxxx <mailto:subversive-dev@xxxxxxxxxxx>
https://dev.eclipse.org/mailman/listinfo/subversive-dev


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

      

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