Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dtp-dev] How to compile DTP from source?

Hi Brian,

Thanks for the detailed instructions, it helped a lot.
I used the same approach for resolving and org.apache.oro

I also tried to apply the same approach to org.junit, however I was still left with some unresolved compilation error in the following modules:
- org.eclipse.datatools.connectivity.oda.consumer.tests
- org.eclipse.datatools.connectivity.oda.profile.tests
- org.eclipse.datatools.connectivity.oda.tests

The compilation error was "TestCase cannot be resolved to a type".
I have just closed these projects in order to ignore the issue for now and focus on compilation.

The next errors that I have encountered are in the following projects:
- org.eclipse.datatools.connectivity.repository.file
- org.eclipse.datatools.connectivity.repository.uri

Both projects have an error stating that org.eclipse.datatools.connectivity.IConnectionProfile cannot be resolved.
However this is built in the workspace in the org.eclipse.datatools.connectivity module.

Both projects also report Unsatisfied version constraint: 'org.eclipse.datatools.connectivity: [0.9.1, 1.5.0)' against the MANIFEST.MF file.

In all cases I have checked out the master branch of the git repositories.
There was an issue when checking out the module org.eclipse.datatools.connectivity,
the problem was that the project contains a nested project with exactly the same name so I unchecked the parent module in order to import the nested child module.

I would appreciate any pointers on how to resolve these issues so that I can compile DTP.


On 4 November 2016 at 00:25, Brian Payton <bpayton@xxxxxxxxxx> wrote:
Hello Neil,

You need to obtain the v1.1 version of the net.sourceforge.lpg.lpgjavaruntime plugin from the Eclipse Orbit repository.  (Orbit is the Eclipse repo for dependent third-party software.)
Try this:

1.  Open the CVS Repository Exploring perspective
2.  Open the CVS Repositories view

In the Repositories view, there needs to be an entry for the Eclipse Tools repository that looks like this:

If it's not already there, you need to add it, like this:
3a.  Right-click in the CVS Repositories view and do New -> Repository Location...
3b.  Fill in the values:
      Repository path:  /cvsroot/tools
      User:  anonymous
      Password:  (I don't think it matters, but you can put your userid or "anonymous")

      Leave the Connection type as "pserver" and the "Use default port" default setting.
3c.  Click Finish

4.  Expand the /cvsroot/tools tree until you see an entry "org.eclipse.orbit"
5.  Right-click on the "org.eclipse.orbit" entry and do "Add to Branch List..."
6.  In the Enter Branch Tag window, enter the value "v1_1" as the name of the branch.  (Note the underscore rather than dot).  Click OK.
7.  Go to the Branches part of the repository tree and expand it.  You should now see a v1_1 branch.  
8.  Expand the v1_1 branch and scroll down until you find an entry "net.sourceforge.lpg.lpgjavaruntime".  If you expand that, you should see entries such as ".classpath" and ".project 1.1".  (If not then something went wrong and you haven't reached the actual code version.)
9.  Right-click on the net.sourceforge.lpg.lpgjavaruntime entry and do "Check Out".  This should add the LPG plugin to your workspace.

Hopefully that will take care of your compilation problems.  Good luck!


Brian Payton
Developer, Next Generation Platform for Analytics
IBM Silicon Valley Laboratory

From:        Neil Crow <crow.neil@xxxxxxxxx>
To:        dtp-dev@xxxxxxxxxxx
Date:        10/31/2016 11:48 AM
Subject:        [dtp-dev] How to compile DTP from source?
Sent by:        dtp-dev-bounces@xxxxxxxxxxx


I posted the question below on Stackoverflow, it was suggested that I post it here.

How to compile eclipse DTP?

I have checked out the master branches of the following git repositories:
  • [ git ] [ web ]
  • org.eclipse.datatools.connectivity [ git ] [ web ]
  • org.eclipse.datatools.modelbase [ git ] [ web ]
  • org.eclipse.datatools.sqltools [ git ] [ web ]
The first errors which show up are due to unresolved classes in the lpg.lpgjavaruntime.* packages. These errors occur in the following projects:
  • org.eclipse.datatools.sqltools.parsers.sql
  • org.eclipse.datatools.sqltools.parsers.sql.lexer
I can resolve the compilation errors by downloading the following jar file [ thirdparty\lpg.jar ] and adding the jar to the project. However the ...sql.lexer project still has the following error
Bundle 'net.sourceforge.lpg.lpgjavaruntime' cannot be resolved MANIFEST.MF /org.eclipse.datatools.sqltools.parsers.sql.lexer/META-INF line 13 Plug-in Problem
So my question is, what is the standard approach for compiling Eclipse DTP?

dtp-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

dtp-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top