[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[udig-devel] Exporting plugin gives compile problem
|
I have encountered a problem that until now I did not find a solution
for.
I build a plugin. I am able to compile/run/debug it from eclipse with no
apparent problem.
But when I try to export it eclipse reports compile errors, (see below
for the short log).
Apparently there is a difference in compiling within eclipse and
compiling for an export, but I do not understand is why?
I checked all places I could think of for missing references.
I have tried removing/adding the net.refractions.udig.project reference;
I tried cleaning/rebuilding, updating classpaths and what not.
Any hint is apreciated.
Willem Nieuwenhuis
----------------------------------
The error log:
# 18 Aug 2005 16:59:23
----------
1. ERROR in
D:\Data\Projects\UDIG_10\src\trunk\plugins\org.n52.tool.tosm\src\org\n52
\tool\tosm\internal\DataStoreDescribeLayer.java
(at line 6)
import net.refractions.udig.project.ILayer;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import net.refractions.udig.project.ILayer cannot be resolved
----------
2. ERROR in
D:\Data\Projects\UDIG_10\src\trunk\plugins\org.n52.tool.tosm\src\org\n52
\tool\tosm\internal\DataStoreDescribeLayer.java
(at line 27)
public static List<LayerPointInfo> info( final ILayer layer,
ReferencedEnvelope bbox, IProgressMonitor monitor ) throws Exception{
^^^^^^
ILayer cannot be resolved to a type
----------
3. ERROR in
D:\Data\Projects\UDIG_10\src\trunk\plugins\org.n52.tool.tosm\src\org\n52
\tool\tosm\internal\DataStoreDescribeLayer.java
(at line 45)
public static List<Feature> info2( ILayer layer,
ReferencedEnvelope bbox, IProgressMonitor monitor ) throws Exception{
^^^^^^
ILayer cannot be resolved to a type
----------
----------
4. ERROR in
D:\Data\Projects\UDIG_10\src\trunk\plugins\org.n52.tool.tosm\src\org\n52
\tool\tosm\internal\InfoMode.java
(at line 65)
Dimension dim = getContext().getMapDisplay().getDisplaySize();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The type net.refractions.udig.project.IAbstractContext cannot be
resolved. It is indirectly referenced from required .class files
----------
4 problems (4 errors)
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel