Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DTP » Finding org.eclipse.core.* items from DTP build.xml files
Finding org.eclipse.core.* items from DTP build.xml files [message #31632] Sun, 24 June 2007 01:15
Eclipse UserFriend
Originally posted by:

I downloaded the DTP source. I am attempting to get all the projects to

Many *.java files have imports starting with "org.eclipse.core." that do
not resolve.

I can fix the unresolved imports by putting one or both of the following
under the "<fileset dir="${eclipse.home}/plugins">" element in the
build.xml files:

<include name="org.eclipse.core.*.jar"/>
<include name="org.eclipse.equinox.*.jar"/>

Those are based on my eclipse.home being c:\eclipse which is where my
plugins directory is, and under there are the *.jar files that contain
the classes needed by the imports. Once I put those in, it builds fine.

But my question is…why are these not already in the build.xml files?
Since the *.java files reference classes in them, the compiler has to
resolve them somewhere. Wouldn’t that be in the build.xml files?

I downloaded the source from under the HEAD
branch, then the org.eclipse.datatools.* folder, then the plugins
folder, then the org.eclipse.datatools.* folder.

I have made no modifications to the *.java files. I’m on Eclipse 3.2.1
and Java 1.5.0_07.

A specific example:

Get this as a project into Eclipse:

Run ant against build.xml

This error occurs:
C:\dtp_work\org.eclipse.datatools.modelbase.sql.query\src\or g\eclipse\datatools\modelbase\sql\query\util\ :14:
cannot find symbol
[javac] symbol : class Status
[javac] location: package org.eclipse.core.runtime
[javac] import org.eclipse.core.runtime.Status;
[javac] ^

Which points to this package and import:

package org.eclipse.datatools.modelbase.sql.query.util;
import org.eclipse.core.runtime.Status;

As noted above, put in the two includes and it all works fine.

What am I missing?


Previous Topic:Announcement: Oracle Database Plugin for Eclipse Data Tools Platform Early Adopter now available
Next Topic:Finding org.eclipse.core.* items from DTP build.xml files
Goto Forum:

Current Time: Fri May 25 11:10:29 GMT 2018

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

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

Back to the top