Revision 205

View differences:

tags/v02_estable/libraries/libCq CMS for java.old/.classpath
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
3
	<classpathentry kind="src" path="src"/>
4
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
5
	<classpathentry kind="lib" path="/windows/C/java/lib/ermapper.jar"/>
6
	<classpathentry kind="lib" path="lib/geojava.jar"/>
7
	<classpathentry kind="lib" path="lib/gt2cts.jar"/>
8
	<classpathentry kind="lib" path="lib/jmgeoraster.jar"/>
9
	<classpathentry kind="lib" path="lib/geotiff-jai.jar"/>
10
	<classpathentry kind="output" path="bin"/>
11
</classpath>
0 12

  
tags/v02_estable/libraries/libCq CMS for java.old/src-ermapper/com/ermapper/util/JNCSScreenPoint.java
1
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
2
// Jad home page: http://www.kpdus.com/jad.html
3
// Decompiler options: packimports(3) 
4
// Source File Name:   JNCSScreenPoint.java
5

  
6
package com.ermapper.util;
7

  
8

  
9
public class JNCSScreenPoint
10
{
11

  
12
    public JNCSScreenPoint()
13
    {
14
        x = 0;
15
        y = 0;
16
    }
17

  
18
    public JNCSScreenPoint(int i, int j)
19
    {
20
        x = i;
21
        y = j;
22
    }
23

  
24
    public int x;
25
    public int y;
26
}
0 27

  
tags/v02_estable/libraries/libCq CMS for java.old/src-ermapper/com/ermapper/util/JNCSDatasetPoint.java
1
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
2
// Jad home page: http://www.kpdus.com/jad.html
3
// Decompiler options: packimports(3) 
4
// Source File Name:   JNCSDatasetPoint.java
5

  
6
package com.ermapper.util;
7

  
8

  
9
public class JNCSDatasetPoint
10
{
11

  
12
    public JNCSDatasetPoint()
13
    {
14
        x = 0;
15
        y = 0;
16
    }
17

  
18
    public JNCSDatasetPoint(int i, int j)
19
    {
20
        x = i;
21
        y = j;
22
    }
23

  
24
    public int x;
25
    public int y;
26
}
0 27

  
tags/v02_estable/libraries/libCq CMS for java.old/src-ermapper/com/ermapper/util/JNCSWorldPoint.java
1
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
2
// Jad home page: http://www.kpdus.com/jad.html
3
// Decompiler options: packimports(3) 
4
// Source File Name:   JNCSWorldPoint.java
5

  
6
package com.ermapper.util;
7

  
8

  
9
public class JNCSWorldPoint
10
{
11

  
12
    public JNCSWorldPoint()
13
    {
14
        x = 0.0D;
15
        y = 0.0D;
16
        z = 0.0D;
17
    }
18

  
19
    public JNCSWorldPoint(double d, double d1)
20
    {
21
        x = d;
22
        y = d1;
23
    }
24

  
25
    public JNCSWorldPoint(double d, double d1, double d2)
26
    {
27
        x = d;
28
        y = d1;
29
        z = d2;
30
    }
31

  
32
    public double x;
33
    public double y;
34
    public double z;
35
}
0 36

  
tags/v02_estable/libraries/libCq CMS for java.old/src-ermapper/com/ermapper/ecw/JNCSFileOpenFailedException.java
1
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
2
// Jad home page: http://www.kpdus.com/jad.html
3
// Decompiler options: packimports(3) 
4
// Source File Name:   JNCSFileOpenFailedException.java
5

  
6
package com.ermapper.ecw;
7

  
8

  
9
// Referenced classes of package com.ermapper.ecw:
10
//            JNCSException
11

  
12
public class JNCSFileOpenFailedException extends JNCSException
13
{
14

  
15
    public JNCSFileOpenFailedException()
16
    {
17
    }
18

  
19
    public JNCSFileOpenFailedException(String s)
20
    {
21
        super(s);
22
    }
23
}
0 24

  
tags/v02_estable/libraries/libCq CMS for java.old/src-ermapper/com/ermapper/ecw/JNCSRenderer.java
1
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
2
// Jad home page: http://www.kpdus.com/jad.html
3
// Decompiler options: packimports(3) 
4
// Source File Name:   JNCSRenderer.java
5

  
6
package com.ermapper.ecw;
7

  
8
import com.ermapper.util.JNCSDatasetPoint;
9
import com.ermapper.util.JNCSWorldPoint;
10
import java.awt.*;
11
import java.awt.image.*;
12
import java.io.PrintStream;
13
import java.util.StringTokenizer;
14

  
15
// Referenced classes of package com.ermapper.ecw:
16
//            JNCSFile, JNCSException, JNCSFileOpenFailedException, JNCSFileNotOpenException, 
17
//            JNCSInvalidSetViewException, JNCSProgressiveUpdate
18

  
19
public class JNCSRenderer extends JNCSFile
20
{
21

  
22
    public JNCSRenderer()
23
        throws JNCSException
24
    {
25
        pRGBArray = null;
26
        outputDeviceCoords = new double[4];
27
        ecwImage = null;
28
        prevImageSizeX = -1;
29
        prevImageSizeY = -1;
30
        bHaveValidSetView = false;
31
        transparencyValue = 1.0F;
32
        alphaComposite = null;
33
        memImSource = null;
34
    }
35

  
36
    public JNCSRenderer(String s, boolean flag)
37
        throws JNCSFileOpenFailedException, JNCSException
38
    {
39
        pRGBArray = null;
40
        outputDeviceCoords = new double[4];
41
        ecwImage = null;
42
        prevImageSizeX = -1;
43
        prevImageSizeY = -1;
44
        bHaveValidSetView = false;
45
        transparencyValue = 1.0F;
46
        alphaComposite = null;
47
        memImSource = null;
48
        open(s, flag);
49
    }
50

  
51
    public void setTransparency(float f)
52
    {
53
        transparencyValue = f;
54
        if(bHave1_2VM)
55
            alphaComposite = AlphaComposite.getInstance(3, transparencyValue);
56
    }
57

  
58
    public int setView(int i, int ai[], int j, int k, int l, int i1, int j1, 
59
            int k1)
60
        throws JNCSFileNotOpenException, JNCSInvalidSetViewException
61
    {
62
        int l1 = j;
63
        int i2 = k;
64
        int j2 = l;
65
        int k2 = i1;
66
        if(j < 0)
67
            l1 = 0;
68
        if(k < 0)
69
            i2 = 0;
70
        if(l > super.width - 1)
71
            j2 = super.width - 1;
72
        if(i1 > super.height - 1)
73
            k2 = super.height - 1;
74
        int l2 = (int)Math.round(((double)(l1 - j) / (double)(l - j)) * (double)j1);
75
        int i3 = (int)Math.round(((double)(i2 - k) / (double)(i1 - k)) * (double)k1);
76
        int j3 = (int)Math.round(((double)(j2 - j) / (double)(l - j)) * (double)j1);
77
        int k3 = (int)Math.round(((double)(k2 - k) / (double)(i1 - k)) * (double)k1);
78
        super.setView(i, ai, l1, i2, j2, k2, j3 - l2, k3 - i3);
79
        bHaveValidSetView = true;
80
        if(!super.progressive)
81
        {
82
            dRendererSetViewDatasetTLX = l1;
83
            dRendererSetViewDatasetTLY = l1;
84
            dRendererSetViewDatasetBRX = j2;
85
            dRendererSetViewDatasetBRY = k2;
86
            dRendererSetViewWidth = j3 - l2;
87
            dRendererSetViewHeight = k3 - i3;
88
        }
89
        return 0;
90
    }
91

  
92
    public int setView(int i, int ai[], double d, double d1, double d2, double d3, int j, int k)
93
        throws JNCSFileNotOpenException, JNCSInvalidSetViewException
94
    {
95
        JNCSDatasetPoint jncsdatasetpoint = convertWorldToDataset(d, d1);
96
        JNCSDatasetPoint jncsdatasetpoint1 = convertWorldToDataset(d2, d3);
97
        double d4 = d;
98
        double d5 = d1;
99
        double d6 = d2;
100
        double d7 = d3;
101
        jncsdatasetpoint.x = (int)Math.floor((d4 - super.originX) / super.cellIncrementX);
102
        jncsdatasetpoint.y = (int)Math.floor((d5 - super.originY) / super.cellIncrementY);
103
        jncsdatasetpoint1.x = (int)Math.ceil((d6 - super.originX) / super.cellIncrementX);
104
        jncsdatasetpoint1.y = (int)Math.ceil((d7 - super.originY) / super.cellIncrementY);
105
        JNCSWorldPoint jncsworldpoint = convertDatasetToWorld(jncsdatasetpoint.x, jncsdatasetpoint.y);
106
        JNCSWorldPoint jncsworldpoint1 = convertDatasetToWorld(jncsdatasetpoint1.x, jncsdatasetpoint1.y);
107
        d4 = jncsworldpoint.x;
108
        d5 = jncsworldpoint.y;
109
        d6 = jncsworldpoint1.x;
110
        d7 = jncsworldpoint1.y;
111
        if(jncsdatasetpoint.x < 0)
112
            d4 = super.originX;
113
        if(jncsdatasetpoint.y < 0)
114
            d5 = super.originY;
115
        if(jncsdatasetpoint1.x > super.width - 1)
116
            d6 = super.originX + (double)(super.width - 1) * super.cellIncrementX;
117
        if(jncsdatasetpoint1.y > super.height - 1)
118
            d7 = super.originY + (double)(super.height - 1) * super.cellIncrementY;
119
        if(jncsdatasetpoint.x < 0 && jncsdatasetpoint1.x < 0 || jncsdatasetpoint.x > super.width - 1 && jncsdatasetpoint1.x > super.width - 1)
120
        {
121
            bHaveValidSetView = false;
122
            return 1;
123
        }
124
        if(jncsdatasetpoint.y < 0 && jncsdatasetpoint1.y < 0 || jncsdatasetpoint.y > super.height - 1 && jncsdatasetpoint1.y > super.height - 1)
125
        {
126
            bHaveValidSetView = false;
127
            return 1;
128
        }
129
        int l = (int)Math.round(((d4 - d) / (d2 - d)) * (double)j);
130
        int i1 = (int)Math.round(((d5 - d1) / (d3 - d1)) * (double)k);
131
        int j1 = (int)Math.round(((d6 - d) / (d2 - d)) * (double)j);
132
        int k1 = (int)Math.round(((d7 - d1) / (d3 - d1)) * (double)k);
133
        if(j1 - l > jncsdatasetpoint1.x - jncsdatasetpoint.x)
134
        {
135
            j1 = jncsdatasetpoint1.x;
136
            l = jncsdatasetpoint.x;
137
        }
138
        if(k1 - i1 > jncsdatasetpoint1.y - jncsdatasetpoint.y)
139
        {
140
            k1 = jncsdatasetpoint1.y;
141
            i1 = jncsdatasetpoint.y;
142
        }
143
        if(j1 - l < 1 || k1 - i1 < 1)
144
        {
145
            bHaveValidSetView = false;
146
            return 1;
147
        }
148
        super.setView(i, ai, d4, d5, d6, d7, j1 - l, k1 - i1);
149
        bHaveValidSetView = true;
150
        if(!super.progressive)
151
        {
152
            dRendererSetViewWorldTLX = d4;
153
            dRendererSetViewWorldTLY = d5;
154
            dRendererSetViewWorldBRX = d6;
155
            dRendererSetViewWorldBRY = d7;
156
            dRendererSetViewWidth = j1 - l;
157
            dRendererSetViewHeight = k1 - i1;
158
        }
159
        return 0;
160
    }
161

  
162
    public void refreshUpdate(int i, int j, double d, double d1, double d2, double d3)
163
    {
164
        ecwReadImage(i, j, d, d1, d2, d3);
165
        if(super.progImageClient != null)
166
            super.progImageClient.refreshUpdate(i, j, d, d1, d2, d3);
167
    }
168

  
169
    public void refreshUpdate(int i, int j, int k, int l, double d, int i1)
170
    {
171
        ecwReadImage(i, j, k, l, d, i1);
172
        if(super.progImageClient != null)
173
            super.progImageClient.refreshUpdate(i, j, k, l, d, i1);
174
    }
175

  
176
    private boolean ecwReadImage(int i, int j, double d, double d1, double d2, double d3)
177
    {
178
        Image image = null;
179
        boolean flag = false;
180
        if(prevImageSizeX != i || prevImageSizeY != j)
181
        {
182
            pRGBArray = new int[i * j];
183
            prevImageSizeX = i;
184
            prevImageSizeY = j;
185
            flag = true;
186
        }
187
        try
188
        {
189
            readImageRGBA(pRGBArray, i, j);
190
            if(flag)
191
            {
192
                memImSource = null;
193
                memImSource = new MemoryImageSource(i, j, ecwColorModel, pRGBArray, 0, i);
194
            } else
195
            {
196
                memImSource.newPixels(pRGBArray, ecwColorModel, 0, i);
197
            }
198
        }
199
        catch(JNCSException jncsexception)
200
        {
201
            System.out.print(String.valueOf(String.valueOf((new StringBuffer("readImageRGBA failed :")).append(jncsexception.toString()).append("\n"))));
202
            bHaveValidSetView = false;
203
            boolean flag1 = false;
204
            return flag1;
205
        }
206
        image = Toolkit.getDefaultToolkit().createImage(memImSource);
207
        if(ecwImage == null)
208
        {
209
            ecwImage = image;
210
            dRendererWorldTLX = d;
211
            dRendererWorldTLY = d1;
212
            dRendererWorldBRX = d2;
213
            dRendererWorldBRY = d3;
214
        } else
215
        {
216
            synchronized(ecwImage)
217
            {
218
                ecwImage = image;
219
                dRendererWorldTLX = d;
220
                dRendererWorldTLY = d1;
221
                dRendererWorldBRX = d2;
222
                dRendererWorldBRY = d3;
223
            }
224
        }
225
        bHaveValidSetView = false;
226
        return true;
227
    }
228

  
229
    public void drawImage(Graphics g, int i, int j, int k, int l, double d, 
230
            double d1, double d2, double d3, ImageObserver imageobserver)
231
    {
232
        if(!super.progressive && bHaveValidSetView)
233
            ecwReadImage(dRendererSetViewWidth, dRendererSetViewHeight, dRendererSetViewWorldTLX, dRendererSetViewWorldTLY, dRendererSetViewWorldBRX, dRendererSetViewWorldBRY);
234
        if(super.progressive && ecwImage == null)
235
            return;
236
        synchronized(ecwImage)
237
        {
238
            if(bHave1_2VM)
239
                if((double)transparencyValue == 1.0D);
240
            calculateDeviceCoords(i, j, i + k, j + l, d, d1, d2, d3, outputDeviceCoords);
241
            int i1 = (int)Math.round(outputDeviceCoords[2] - outputDeviceCoords[0]);
242
            int j1 = (int)Math.round(outputDeviceCoords[3] - outputDeviceCoords[1]);
243
            int k1 = ecwImage.getWidth(imageobserver);
244
            int l1 = ecwImage.getHeight(imageobserver);
245
            if(i1 != k1 || j1 != l1)
246
            {
247
                if(i1 > k1 && j1 > l1)
248
                {
249
                    double d4 = outputDeviceCoords[0] >= (double)i ? outputDeviceCoords[0] : i;
250
                    double d5 = outputDeviceCoords[1] >= (double)j ? outputDeviceCoords[1] : j;
251
                    double d6 = outputDeviceCoords[2] <= (double)(i + k) ? outputDeviceCoords[2] : i + k;
252
                    double d7 = outputDeviceCoords[3] <= (double)(j + l) ? outputDeviceCoords[3] : j + l;
253
                    double ad[] = calculateImageCoords(outputDeviceCoords[0], outputDeviceCoords[1], outputDeviceCoords[2], outputDeviceCoords[3], k1, l1, d4, d5, d6, d7);
254
                    ad[0] = Math.floor(ad[0]);
255
                    ad[1] = Math.floor(ad[1]);
256
                    ad[2] = Math.ceil(ad[2]);
257
                    ad[3] = Math.ceil(ad[3]);
258
                    double d8 = dRendererWorldTLX + ((dRendererWorldBRX - dRendererWorldTLX) / (double)k1) * ad[0];
259
                    double d9 = dRendererWorldTLY + ((dRendererWorldBRY - dRendererWorldTLY) / (double)l1) * ad[1];
260
                    double d10 = dRendererWorldTLX + ((dRendererWorldBRX - dRendererWorldTLX) / (double)k1) * ad[2];
261
                    double d11 = dRendererWorldTLY + ((dRendererWorldBRY - dRendererWorldTLY) / (double)l1) * ad[3];
262
                    double d12 = ((outputDeviceCoords[2] - outputDeviceCoords[0]) * (d8 - dRendererWorldTLX)) / (dRendererWorldBRX - dRendererWorldTLX) + outputDeviceCoords[0];
263
                    double d13 = ((outputDeviceCoords[3] - outputDeviceCoords[1]) * (d9 - dRendererWorldTLY)) / (dRendererWorldBRY - dRendererWorldTLY) + outputDeviceCoords[1];
264
                    double d14 = ((outputDeviceCoords[2] - outputDeviceCoords[0]) * (d10 - dRendererWorldTLX)) / (dRendererWorldBRX - dRendererWorldTLX) + outputDeviceCoords[0];
265
                    double d15 = ((outputDeviceCoords[3] - outputDeviceCoords[1]) * (d11 - dRendererWorldTLY)) / (dRendererWorldBRY - dRendererWorldTLY) + outputDeviceCoords[1];
266
                    g.drawImage(ecwImage, (int)Math.round(d12), (int)Math.round(d13), (int)Math.round(d14), (int)Math.round(d15), (int)Math.floor(ad[0]), (int)Math.floor(ad[1]), (int)Math.ceil(ad[2]), (int)Math.ceil(ad[3]), imageobserver);
267
                } else
268
                {
269
                    g.drawImage(ecwImage, (int)Math.round(outputDeviceCoords[0]), (int)Math.round(outputDeviceCoords[1]), (int)Math.round(outputDeviceCoords[2]), (int)Math.round(outputDeviceCoords[3]), 0, 0, k1, l1, imageobserver);
270
                }
271
            } else
272
            {
273
                g.drawImage(ecwImage, (int)Math.round(outputDeviceCoords[0]), (int)Math.round(outputDeviceCoords[1]), imageobserver);
274
            }
275
            if(bHave1_2VM)
276
                if((double)transparencyValue == 1.0D);
277
        }
278
    }
279

  
280
    private static final double[] calculateImageCoords(double d, double d1, double d2, double d3, 
281
            double d4, double d5, double d6, double d7, double d8, double d9)
282
    {
283
        double ad[] = new double[4];
284
        double d10 = ((d8 - d6) * d4) / (d2 - d);
285
        double d11 = ((d9 - d7) * d5) / (d3 - d1);
286
        ad[0] = ((d6 - d) * d10) / (d8 - d6);
287
        ad[1] = ((d7 - d1) * d11) / (d9 - d7);
288
        ad[2] = ad[0] + d10;
289
        ad[3] = ad[1] + d11;
290
        return ad;
291
    }
292

  
293
    private final void calculateDeviceCoords(int i, int j, int k, int l, double d, double d1, double d2, double d3, double ad[])
294
    {
295
        ad[0] = ((dRendererWorldTLX - d) / (d2 - d)) * (double)(k - i);
296
        ad[1] = ((dRendererWorldTLY - d1) / (d3 - d1)) * (double)(l - j);
297
        ad[2] = ((dRendererWorldBRX - d) / (d2 - d)) * (double)(k - i);
298
        ad[3] = ((dRendererWorldBRY - d1) / (d3 - d1)) * (double)(l - j);
299
    }
300

  
301
    private final void convertImageToWorld(int i, int j, double d, double d1, double ad[])
302
    {
303
        ad[0] = dRendererWorldTLX + ((dRendererWorldBRX - dRendererWorldTLX) / (double)i) * d;
304
        ad[1] = dRendererWorldTLY + ((dRendererWorldBRY - dRendererWorldTLY) / (double)j) * d1;
305
    }
306

  
307
    private double dRendererSetViewWorldTLX;
308
    private double dRendererSetViewWorldTLY;
309
    private double dRendererSetViewWorldBRX;
310
    private double dRendererSetViewWorldBRY;
311
    private int dRendererSetViewDatasetTLX;
312
    private int dRendererSetViewDatasetTLY;
313
    private int dRendererSetViewDatasetBRX;
314
    private int dRendererSetViewDatasetBRY;
315
    private int dRendererSetViewWidth;
316
    private int dRendererSetViewHeight;
317
    private int pRGBArray[];
318
    private double outputDeviceCoords[];
319
    private double dRendererWorldTLX;
320
    private double dRendererWorldTLY;
321
    private double dRendererWorldBRX;
322
    private double dRendererWorldBRY;
323
    private Image ecwImage;
324
    private int prevImageSizeX;
325
    private int prevImageSizeY;
326
    private boolean bHaveValidSetView;
327
    private float transparencyValue;
328
    private AlphaComposite alphaComposite;
329
    private static boolean bHave1_2VM = false;
330
    private MemoryImageSource memImSource;
331
    private static DirectColorModel ecwColorModel = null;
332
    private static final boolean bOptimizeImageStretch = true;
333

  
334
    static 
335
    {
336
        String s = System.getProperty("java.version");
337
        StringTokenizer stringtokenizer = new StringTokenizer(s, ".");
338
        int i = Integer.parseInt(stringtokenizer.nextToken());
339
        int j = Integer.parseInt(stringtokenizer.nextToken());
340
        if(i >= 1 && j >= 2)
341
            bHave1_2VM = true;
342
        ecwColorModel = new DirectColorModel(32, 0xff0000, 65280, 255);
343
    }
344
}
0 345

  
tags/v02_estable/libraries/libCq CMS for java.old/src-ermapper/com/ermapper/ecw/JNCSNativeLibraryException.java
1
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
2
// Jad home page: http://www.kpdus.com/jad.html
3
// Decompiler options: packimports(3) 
4
// Source File Name:   JNCSNativeLibraryException.java
5

  
6
package com.ermapper.ecw;
7

  
8

  
9
// Referenced classes of package com.ermapper.ecw:
10
//            JNCSException
11

  
12
public class JNCSNativeLibraryException extends JNCSException
13
{
14

  
15
    public JNCSNativeLibraryException()
16
    {
17
    }
18

  
19
    public JNCSNativeLibraryException(String s)
20
    {
21
        super(s);
22
    }
23
}
0 24

  
tags/v02_estable/libraries/libCq CMS for java.old/src-ermapper/com/ermapper/ecw/JNCSProgressiveUpdate.java
1
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
2
// Jad home page: http://www.kpdus.com/jad.html
3
// Decompiler options: packimports(3) 
4
// Source File Name:   JNCSProgressiveUpdate.java
5

  
6
package com.ermapper.ecw;
7

  
8

  
9
public interface JNCSProgressiveUpdate
10
{
11

  
12
    public abstract void refreshUpdate(int i, int j, double d, double d1, double d2, double d3);
13

  
14
    public abstract void refreshUpdate(int i, int j, int k, int l, int i1, int j1);
15
}
0 16

  
tags/v02_estable/libraries/libCq CMS for java.old/src-ermapper/com/ermapper/ecw/JNCSInvalidSetViewException.java
1
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
2
// Jad home page: http://www.kpdus.com/jad.html
3
// Decompiler options: packimports(3) 
4
// Source File Name:   JNCSInvalidSetViewException.java
5

  
6
package com.ermapper.ecw;
7

  
8

  
9
// Referenced classes of package com.ermapper.ecw:
10
//            JNCSException
11

  
12
public class JNCSInvalidSetViewException extends JNCSException
13
{
14

  
15
    public JNCSInvalidSetViewException()
16
    {
17
    }
18

  
19
    public JNCSInvalidSetViewException(String s)
20
    {
21
        super(s);
22
    }
23
}
0 24

  
tags/v02_estable/libraries/libCq CMS for java.old/src-ermapper/com/ermapper/ecw/JNCSException.java
1
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
2
// Jad home page: http://www.kpdus.com/jad.html
3
// Decompiler options: packimports(3) 
4
// Source File Name:   JNCSException.java
5

  
6
package com.ermapper.ecw;
7

  
8

  
9
public class JNCSException extends Exception
10
{
11

  
12
    public JNCSException()
13
    {
14
    }
15

  
16
    public JNCSException(String s)
17
    {
18
        super(s);
19
    }
20
}
0 21

  
tags/v02_estable/libraries/libCq CMS for java.old/src-ermapper/com/ermapper/ecw/JNCSFile.java
1
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
2
// Jad home page: http://www.kpdus.com/jad.html
3
// Decompiler options: packimports(3) 
4
// Source File Name:   JNCSFile.java
5

  
6
package com.ermapper.ecw;
7

  
8
import com.ermapper.util.JNCSDatasetPoint;
9
import com.ermapper.util.JNCSWorldPoint;
10
import java.io.FileInputStream;
11
import java.io.PrintStream;
12
import java.lang.reflect.Field;
13
import java.lang.reflect.Method;
14
import java.util.Properties;
15

  
16
// Referenced classes of package com.ermapper.ecw:
17
//            JNCSNativeLibraryException, JNCSFileOpenFailedException, JNCSInvalidSetViewException, JNCSException, 
18
//            JNCSFileNotOpenException, JNCSProgressiveUpdate
19

  
20
public class JNCSFile
21
    implements JNCSProgressiveUpdate
22
{
23

  
24
    private native int ECWOpen(String s, boolean flag);
25

  
26
    private native void ECWClose(boolean flag);
27

  
28
    private native int ECWSetView(int i, int ai[], int j, int k, int l, int i1, double d, double d1, double d2, double d3, 
29
            int j1, int k1);
30

  
31
    private native int ECWReadLineRGBA(int ai[]);
32

  
33
    private native int ECWReadImageRGBA(int ai[], int i, int j);
34

  
35
    private native short ECWGetPercentComplete();
36

  
37
    private static native String ECWGetErrorString(int i);
38

  
39
    private static native int NCSJNIInit();
40

  
41
    private static native String ECWGetLibVersion();
42

  
43
    static void initClass()
44
        throws JNCSNativeLibraryException
45
    {
46
        boolean flag = false;
47
        boolean flag1 = false;
48
        if(bHaveClassInit)
49
            return;
50
        if(System.getSecurityManager() != null)
51
        {
52
            Object obj = null;
53
            String s3 = System.getProperty("java.vendor");
54
            if(s3.startsWith("Netscape Communications Corporation"))
55
                try
56
                {
57
                    Class class1 = Class.forName("netscape.security.PrivilegeManager");
58
                    Class aclass[] = {
59
                        java.lang.String.class
60
                    };
61
                    Method method = class1.getMethod("enablePrivilege", aclass);
62
                    Object obj1 = class1.newInstance();
63
                    Object aobj[] = {
64
                        new String("UniversalLinkAccess")
65
                    };
66
                    Object aobj1[] = {
67
                        new String("UniversalPropertyRead")
68
                    };
69
                    method.invoke(obj1, aobj);
70
                    method.invoke(obj1, aobj1);
71
                }
72
                catch(NoSuchMethodException nosuchmethodexception)
73
                {
74
                    System.out.println("GetMethod : ".concat(String.valueOf(String.valueOf(nosuchmethodexception.getMessage()))));
75
                }
76
                catch(ClassNotFoundException classnotfoundexception)
77
                {
78
                    System.out.println("ClassNotFoundException : ".concat(String.valueOf(String.valueOf(classnotfoundexception.getMessage()))));
79
                }
80
                catch(Exception exception4)
81
                {
82
                    System.out.println("Netscape Privilige Manager Access Exception : ".concat(String.valueOf(String.valueOf(exception4.getMessage()))));
83
                }
84
            else
85
            if(s3.startsWith("Microsoft Corp."))
86
                try
87
                {
88
                    Class class2 = Class.forName("com.ms.security.PolicyEngine");
89
                    Class class3 = Class.forName("com.ms.security.PermissionID");
90
                    Field field = class3.getField("SYSTEM");
91
                    Field field1 = class3.getField("FILEIO");
92
                    Class aclass1[] = {
93
                        class3
94
                    };
95
                    Method method1 = class2.getMethod("assertPermission", aclass1);
96
                    Object aobj2[] = {
97
                        field.get(null)
98
                    };
99
                    Object aobj3[] = {
100
                        field1.get(null)
101
                    };
102
                    method1.invoke(null, aobj2);
103
                    method1.invoke(null, aobj3);
104
                }
105
                catch(NoSuchMethodException nosuchmethodexception1)
106
                {
107
                    System.out.println("Microsoft Policy Engine NoSuchMethodException : ".concat(String.valueOf(String.valueOf(nosuchmethodexception1.getMessage()))));
108
                }
109
                catch(SecurityException securityexception2)
110
                {
111
                    System.out.println("Microsoft Policy Engine SecurityException : ".concat(String.valueOf(String.valueOf(securityexception2.getMessage()))));
112
                }
113
                catch(Exception exception5)
114
                {
115
                    System.out.println("Microsoft Policy Engine Exception : ".concat(String.valueOf(String.valueOf(exception5.getMessage()))));
116
                }
117
        } else
118
        {
119
            flag1 = true;
120
        }
121
        try
122
        {
123
            System.loadLibrary("NCSUtil");
124
            System.loadLibrary("NCScnet");
125
            System.loadLibrary("NCSEcw");
126
            bUseNativeMethods = true;
127
            bUnsatisfiedLink = false;
128
        }
129
        catch(UnsatisfiedLinkError unsatisfiedlinkerror)
130
        {
131
            bUseNativeMethods = false;
132
            bUnsatisfiedLink = true;
133
            bUseNativeMethods = false;
134
            debug("Got UnsatisfiedLinkError looking on PATH");
135
        }
136
        catch(SecurityException securityexception)
137
        {
138
            bSecurityError = true;
139
            bUseNativeMethods = false;
140
            bUnsatisfiedLink = false;
141
            debug("Got SecurityException looking on PATH");
142
        }
143
        catch(Exception exception)
144
        {
145
            System.err.println("Unknown error loading ECW native libraries : ".concat(String.valueOf(String.valueOf(exception.getMessage()))));
146
            bUseNativeMethods = false;
147
            debug("Got Exception looking on PATH");
148
        }
149
        if(bUseNativeMethods)
150
            try
151
            {
152
                int i = NCSJNIInit();
153
                if(i != 0)
154
                {
155
                    System.err.println("JNCSFile classes found on PATH failed to initialize correctly. Attempting to locate other NCS dlls....");
156
                } else
157
                {
158
                    bHaveClassInit = true;
159
                    return;
160
                }
161
            }
162
            catch(UnsatisfiedLinkError unsatisfiedlinkerror1)
163
            {
164
                debug("Native ECW libraries have been found on the PATH, but could not be loaded. This may be because the version is insufficient to support the Java classes.\nAt least version 1,5,2,0 is required. Attempting to locate other NCS dlls....");
165
            }
166
            catch(Exception exception1)
167
            {
168
                debug("Unknown exception occured initialising ECW native libraries found on the PATH.".concat(String.valueOf(String.valueOf(exception1.getMessage()))));
169
            }
170
        if(flag1 && !bUseNativeMethods && !bSecurityError && System.getSecurityManager() != null)
171
        {
172
            Properties properties = new Properties();
173
            String s4 = null;
174
            String s5 = null;
175
            try
176
            {
177
                String s6 = System.getProperty("user.home");
178
                s5 = System.getProperty("file.separator");
179
                FileInputStream fileinputstream = new FileInputStream(String.valueOf(String.valueOf((new StringBuffer(String.valueOf(String.valueOf(s6)))).append(s5).append("jncsclasses.properties"))));
180
                properties.load(fileinputstream);
181
                s4 = properties.getProperty("clientDLLPath");
182
            }
183
            catch(Exception exception6)
184
            {
185
                s4 = null;
186
            }
187
            try
188
            {
189
                if(s4 != null)
190
                {
191
                    System.load(String.valueOf(String.valueOf((new StringBuffer(String.valueOf(String.valueOf(s4)))).append(s5).append("NCSUtil.dll"))));
192
                    System.load(String.valueOf(String.valueOf((new StringBuffer(String.valueOf(String.valueOf(s4)))).append(s5).append("NCScnet.dll"))));
193
                    System.load(String.valueOf(String.valueOf((new StringBuffer(String.valueOf(String.valueOf(s4)))).append(s5).append("NCSEcw.dll"))));
194
                    bUseNativeMethods = true;
195
                    bUnsatisfiedLink = false;
196
                    bSecurityError = false;
197
                }
198
            }
199
            catch(SecurityException securityexception3)
200
            {
201
                bSecurityError = true;
202
                bUseNativeMethods = false;
203
                bUnsatisfiedLink = false;
204
                debug("Got security exception looking on clientDLLPath");
205
            }
206
            catch(RuntimeException runtimeexception1)
207
            {
208
                System.out.println(runtimeexception1.getMessage());
209
                bUseNativeMethods = false;
210
                bUnsatisfiedLink = true;
211
                debug("Got RuntimeException looking on clientDLLPath");
212
            }
213
            catch(UnsatisfiedLinkError unsatisfiedlinkerror4)
214
            {
215
                bUseNativeMethods = false;
216
                bUnsatisfiedLink = true;
217
                debug("Got UnsatisfiedLinkError looking on clientDLLPath");
218
            }
219
            catch(Exception exception7)
220
            {
221
                System.out.println(exception7.getMessage());
222
                bUseNativeMethods = false;
223
                bUnsatisfiedLink = true;
224
                debug("Got Exception looking on clientDLLPath");
225
            }
226
        }
227
        if(!bUseNativeMethods && !bSecurityError)
228
            try
229
            {
230
                System.load("C:\\Program Files\\Earth Resource Mapping\\Image Web Server\\Client\\NCSUtil.dll");
231
                System.load("C:\\Program Files\\Earth Resource Mapping\\Image Web Server\\Client\\NCScnet.dll");
232
                System.load("C:\\Program Files\\Earth Resource Mapping\\Image Web Server\\Client\\NCSEcw.dll");
233
                bUseNativeMethods = true;
234
                bUnsatisfiedLink = false;
235
                bSecurityError = false;
236
                debug("Loaded ECW libraries in C:\\Program Files\\...");
237
            }
238
            catch(SecurityException securityexception1)
239
            {
240
                bSecurityError = true;
241
                bUseNativeMethods = false;
242
                bUnsatisfiedLink = false;
243
                debug("Got security exception looking on C:\\Program Files\\");
244
            }
245
            catch(RuntimeException runtimeexception)
246
            {
247
                System.out.println(runtimeexception.getMessage());
248
                bUseNativeMethods = false;
249
                bUnsatisfiedLink = true;
250
                debug("Got RuntimeException looking on C:\\Program Files\\");
251
            }
252
            catch(UnsatisfiedLinkError unsatisfiedlinkerror2)
253
            {
254
                bUseNativeMethods = false;
255
                bUnsatisfiedLink = true;
256
                debug("Got UnsatisfiedLinkError looking on C:\\Program Files\\");
257
            }
258
            catch(Exception exception2)
259
            {
260
                System.out.println(exception2.getMessage());
261
                bUseNativeMethods = false;
262
                bUnsatisfiedLink = true;
263
                debug("Got Exception looking on C:\\Program Files\\");
264
            }
265
        if(bUseNativeMethods)
266
            try
267
            {
268
                int j = NCSJNIInit();
269
                if(j != 0)
270
                {
271
                    System.err.println("JNCSFile classes failed to initialize correctly. Unrecoverable error.");
272
                    String s = ECWGetErrorString(j);
273
                    throw new JNCSNativeLibraryException(s);
274
                }
275
                bHaveClassInit = true;
276
            }
277
            catch(UnsatisfiedLinkError unsatisfiedlinkerror3)
278
            {
279
                debug("UnsatisfiedLinkError: ".concat(String.valueOf(String.valueOf(unsatisfiedlinkerror3.getMessage()))));
280
                throw new JNCSNativeLibraryException("Native ECW libraries have been found, but could not be loaded. This may be because the version is insufficient to support the Java classes.\nAt least version 1,5,2,0 is required.");
281
            }
282
            catch(Exception exception3)
283
            {
284
                debug("Exception: ".concat(String.valueOf(String.valueOf(exception3.getMessage()))));
285
                throw new JNCSNativeLibraryException("Unknown exception occured initialising ECW native libraries.".concat(String.valueOf(String.valueOf(exception3.getMessage()))));
286
            }
287
        if(bSecurityError)
288
        {
289
            String s1 = "The security manager has denied loading of native libraries. Only trusted classes and signed JAR files can access native libraries.";
290
            System.out.println(s1);
291
            throw new JNCSNativeLibraryException(s1);
292
        }
293
        if(bUnsatisfiedLink)
294
        {
295
            String s2 = "JNCSFile class failed to resolve some or all of the native ECW libraries.\nCheck that the NCSUtil, NCSCnet, and NCSUtil shared libraries are on the PATH environment variable (Win32),\nor the LD_LIBRARY_PATH (Unix), or that the parameters to the virtual machine specify their location,\nby setting the property : -Djava.library.path=<path_to_ncs_libraries>\nAlternatively, the file jncsclasses.properties in the user's home directory can specify the location.\n\nRefer to the ECW Java SDK documentation for more information on native library search paths.";
296
            throw new JNCSNativeLibraryException(s2);
297
        } else
298
        {
299
            return;
300
        }
301
    }
302

  
303
    public JNCSFile()
304
        throws JNCSException
305
    {
306
        bSetViewIsWorld = false;
307
        progImageClient = null;
308
        initClass();
309
        cellSizeUnits = 0;
310
        bIsOpen = false;
311
    }
312

  
313
    public JNCSFile(String s, boolean flag)
314
        throws JNCSException
315
    {
316
        bSetViewIsWorld = false;
317
        progImageClient = null;
318
        initClass();
319
        open(s, flag);
320
    }
321

  
322
    protected void finalize()
323
        throws Throwable
324
    {
325
        if(bIsOpen)
326
            ECWClose(false);
327
        super.finalize();
328
    }
329

  
330
    public int open(String s, boolean flag)
331
        throws JNCSFileOpenFailedException
332
    {
333
        if(s == null)
334
            throw new IllegalArgumentException();
335
        int i = ECWOpen(s, flag);
336
        if(i != 0)
337
        {
338
            bIsOpen = false;
339
            String s1 = ECWGetErrorString(i);
340
            throw new JNCSFileOpenFailedException(s1);
341
        } else
342
        {
343
            bIsOpen = true;
344
            progressive = flag;
345
            return 0;
346
        }
347
    }
348

  
349
    public void close(boolean flag)
350
    {
351
        ECWClose(flag);
352
        if(!flag);
353
    }
354

  
355
    public void addProgressiveUpdateListener(JNCSProgressiveUpdate jncsprogressiveupdate)
356
    {
357
        progImageClient = jncsprogressiveupdate;
358
    }
359

  
360
    public void refreshUpdate(int i, int j, double d, double d1, double d2, double d3)
361
    {
362
        if(progImageClient != null)
363
            progImageClient.refreshUpdate(i, j, d, d1, d2, d3);
364
    }
365

  
366
    public void refreshUpdate(int i, int j, int k, int l, int i1, int j1)
367
    {
368
        if(progImageClient != null)
369
            progImageClient.refreshUpdate(i, j, k, l, i1, j1);
370
    }
371

  
372
    public int setView(int i, int ai[], int j, int k, int l, int i1, int j1, 
373
            int k1)
374
        throws JNCSFileNotOpenException, JNCSInvalidSetViewException
375
    {
376
        int l1 = ECWSetView(i, ai, j, k, l, i1, 0.0D, 0.0D, 0.0D, 0.0D, j1, k1);
377
        if(l1 != 0)
378
        {
379
            String s = ECWGetErrorString(l1);
380
            throw new JNCSInvalidSetViewException(s);
381
        } else
382
        {
383
            bSetViewIsWorld = false;
384
            return 0;
385
        }
386
    }
387

  
388
    public int setView(int i, int ai[], double d, double d1, double d2, double d3, int j, int k)
389
        throws JNCSFileNotOpenException, JNCSInvalidSetViewException
390
    {
391
        JNCSDatasetPoint jncsdatasetpoint = convertWorldToDataset(d, d1);
392
        JNCSDatasetPoint jncsdatasetpoint1 = convertWorldToDataset(d2, d3);
393
        int l = ECWSetView(i, ai, jncsdatasetpoint.x, jncsdatasetpoint.y, jncsdatasetpoint1.x, jncsdatasetpoint1.y, d, d1, d2, d3, j, k);
394
        if(l != 0)
395
        {
396
            String s = ECWGetErrorString(l);
397
            throw new JNCSInvalidSetViewException(s);
398
        } else
399
        {
400
            bSetViewIsWorld = true;
401
            return 0;
402
        }
403
    }
404

  
405
    public int readLineRGBA(int ai[])
406
        throws JNCSException
407
    {
408
        int i = ECWReadLineRGBA(ai);
409
        if(i != 0)
410
        {
411
            String s = ECWGetErrorString(i);
412
            throw new JNCSException(s);
413
        } else
414
        {
415
            return 0;
416
        }
417
    }
418

  
419
    public int readLineBGRA(int ai[])
420
        throws JNCSException
421
    {
422
        throw new JNCSException("Not Yet Implemented!");
423
    }
424

  
425
    public int readLineBIL(int ai[])
426
        throws JNCSException
427
    {
428
        throw new JNCSException("Not Yet Implemented!");
429
    }
430

  
431
    public int readLineBIL(double ad[])
432
        throws JNCSException
433
    {
434
        throw new JNCSException("Not Yet Implemented!");
435
    }
436

  
437
    public int readImageRGBA(int ai[], int i, int j)
438
        throws JNCSException
439
    {
440
        int k = ECWReadImageRGBA(ai, i, j);
441
        if(k != 0)
442
        {
443
            String s = ECWGetErrorString(k);
444
            throw new JNCSException(s);
445
        } else
446
        {
447
            return 0;
448
        }
449
    }
450

  
451
    public String getLastErrorText(int i)
452
    {
453
        return ECWGetErrorString(i);
454
    }
455

  
456
    public JNCSDatasetPoint convertWorldToDataset(double d, double d1)
457
        throws JNCSFileNotOpenException
458
    {
459
        int i;
460
        int j;
461
        if(bIsOpen)
462
        {
463
            i = (int)Math.round((d - originX) / cellIncrementX);
464
            j = (int)Math.round((d1 - originY) / cellIncrementY);
465
        } else
466
        {
467
            throw new JNCSFileNotOpenException();
468
        }
469
        return new JNCSDatasetPoint(i, j);
470
    }
471

  
472
    public JNCSWorldPoint convertDatasetToWorld(int i, int j)
473
        throws JNCSFileNotOpenException
474
    {
475
        double d;
476
        double d1;
477
        if(bIsOpen)
478
        {
479
            d = originX + (double)i * cellIncrementX;
480
            d1 = originY + (double)j * cellIncrementY;
481
        } else
482
        {
483
            throw new JNCSFileNotOpenException();
484
        }
485
        return new JNCSWorldPoint(d, d1);
486
    }
487

  
488
    public short getPercentComplete()
489
    {
490
        return ECWGetPercentComplete();
491
    }
492

  
493
    public static String getLibVersion()
494
    {
495
        return ECWGetLibVersion();
496
    }
497

  
498
    private static void debug(String s)
499
    {
500
        if(debug)
501
            System.out.println(s);
502
    }
503

  
504
    private static boolean bUseNativeMethods = false;
505
    private static boolean bSecurityError = false;
506
    private static boolean bUnsatisfiedLink = false;
507
    static boolean bHaveClassInit = false;
508
    static boolean debug = false;
509
    public static final int ECW_CELL_UNITS_INVALID = 0;
510
    public static final int ECW_CELL_UNITS_METERS = 1;
511
    public static final int ECW_CELL_UNITS_DEGREES = 2;
512
    public static final int ECW_CELL_UNITS_FEET = 3;
513
    public int numBands;
514
    public int width;
515
    public int height;
516
    public double originX;
517
    public double originY;
518
    public double cellIncrementX;
519
    public double cellIncrementY;
520
    public int cellSizeUnits;
521
    public double compressionRate;
522
    public boolean progressive;
523
    public String fileName;
524
    public String datum;
525
    public String projection;
526
    public boolean bIsOpen;
527
    private long nativeDataPointer;
528
    private static final boolean doGarbageCollectionOnClose = false;
529
    private static final int ECW_OK = 0;
530
    private int nFileSetViewDatasetTLX;
531
    private int nFileSetViewDatasetTLY;
532
    private int nFileSetViewDatasetBRX;
533
    private int nFileSetViewDatasetBRY;
534
    private int nFileSetViewWidth;
535
    private int nFileSetViewHeight;
536
    private double dFileSetViewWorldTLX;
537
    private double dFileSetViewWorldTLY;
538
    private double dFileSetViewWorldBRX;
539
    private double dFileSetViewWorldBRY;
540
    private boolean bSetViewIsWorld;
541
    protected JNCSProgressiveUpdate progImageClient;
542

  
543
}
0 544

  
tags/v02_estable/libraries/libCq CMS for java.old/src-ermapper/com/ermapper/ecw/JNCSFileNotOpenException.java
1
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
2
// Jad home page: http://www.kpdus.com/jad.html
3
// Decompiler options: packimports(3) 
4
// Source File Name:   JNCSFileNotOpenException.java
5

  
6
package com.ermapper.ecw;
7

  
8

  
9
// Referenced classes of package com.ermapper.ecw:
10
//            JNCSException
11

  
12
public class JNCSFileNotOpenException extends JNCSException
13
{
14

  
15
    public JNCSFileNotOpenException()
16
    {
17
    }
18

  
19
    public JNCSFileNotOpenException(String s)
20
    {
21
        super(s);
22
    }
23
}
0 24

  
tags/v02_estable/libraries/libCq CMS for java.old/src-ermapper/com/ermapper/ecw/JNCSReadLineException.java
1
// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
2
// Jad home page: http://www.kpdus.com/jad.html
3
// Decompiler options: packimports(3) 
4
// Source File Name:   JNCSReadLineException.java
5

  
6
package com.ermapper.ecw;
7

  
8

  
9
// Referenced classes of package com.ermapper.ecw:
10
//            JNCSException
11

  
12
public class JNCSReadLineException extends JNCSException
13
{
14

  
15
    public JNCSReadLineException()
16
    {
17
    }
18
}
0 19

  
tags/v02_estable/libraries/libCq CMS for java.old/ant.xml
1
<project name="CMS for Java" default="dist" basedir=".">
2
    <description>
3
        Genera el jar con CMS y sus dependencias
4
    </description>
5
  <!-- set global properties for this build -->
6
  <property name="src" location="src"/>
7
  <property name="build" location="bin"/>
8
  <property name="dist"  location="dist"/>
9
  <property name="jar" value="cms"/>
10
  <!--property name="fmapdir" value="../FMAP"/-->
11
  <property name="targetDir" location="../FMAP/lib"/>
12
  <property name="targetDir2" location="."/>
13

  
14
  <target name="init">
15
    <!-- Create the time stamp -->
16
    <tstamp/>
17
    <!-- Create the build directory structure used by compile -->
18
    <mkdir dir="${build}"/>
19
  </target>
20

  
21
  <target name="compile" depends="init"
22
        description="compile the source " >
23
    <!-- Compile the java code from ${src} into ${build} 
24
    <javac srcdir="${src}" destdir="${build}"/>-->
25
  </target>
26

  
27
  <target name="dist" depends="compile"
28
        description="generate the distribution" >
29
    <!-- Create the distribution directory -->
30
    <mkdir dir="${dist}"/>
31

  
32
    <!-- Put everything in ${build} into the cms-${DSTAMP}.jar file --> 
33
    <jar jarfile="${dist}/${jar}.jar" basedir="${build}"/>
34
    <jar jarfile="${dist}/${jar}.jar" basedir="." includes = "images/*.gif" update="true" />
35
    <copy todir="${dist}">
36
    	<fileset dir="./lib" includes="*.jar"/>
37
    </copy>
38
    <copy todir="${targetDir2}/">
39
    	<fileset dir="${dist}" includes="${jar}.jar"/>
40
    </copy>
41
    <move todir="${targetDir}/">
42
    	<fileset dir="${dist}" includes="**/**"/>
43
    </move>
44
  </target>
45

  
46
  <target name="clean"
47
        description="clean up" >
48
    <!-- Delete the ${build} and ${dist} directory trees -->
49
    <delete dir="${build}"/>
50
    <delete dir="${dist}"/>
51
  </target>
52
</project>
53

  
0 54

  
tags/v02_estable/libraries/libCq CMS for java.old/.project
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>Cq CMS for Java</name>
4
	<comment></comment>
5
	<projects>
6
		<project>CIT MapView</project>
7
		<project>CqMDT</project>
8
		<project>jmGRasterLib</project>
9
	</projects>
10
	<buildSpec>
11
		<buildCommand>
12
			<name>org.eclipse.jdt.core.javabuilder</name>
13
			<arguments>
14
			</arguments>
15
		</buildCommand>
16
	</buildSpec>
17
	<natures>
18
		<nature>org.eclipse.jdt.core.javanature</nature>
19
	</natures>
20
</projectDescription>
0 21

  
tags/v02_estable/libraries/libCq CMS for java.old/doc-files/overview.html
1
<html>
2
	<body>Overview 1
3
</body>
4
</html>
5

  
0 6

  
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff