Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] headless build in ol' 1.1.x

I'm digging in the sdk problem:
In net.refractions.udig.libs.source/jars.xml

<property name="lib" value="src/net.refractions.udig.libs_1.1.0/lib"/>

was defined inside the build.jars target. Clean was called before and
that was breaking it.
So moving the property to global to the script did the job.

So next:

update.gt:
      [get] Getting:
file:////home/moovida/.m2/repository/gt_source/gt2-api-2.2.3-SNAPSHOT-sources.jar
      [get] To:
/container/development/udig/1.1.x_build/builds/1.1.x-sdk/plugins/net.refractions.udig.libs.source/src/net.refractions.udig.libs_1.1.0/lib/gt2-apisrc.zip
      [get] Error getting
file:////home/moovida/.m2/repository/gt_source/gt2-api-2.2.3-SNAPSHOT-sources.jar
to /container/development/udig/1.1.x_build/builds/1.1.x-sdk/plugins/net.refractions.udig.libs.source/src/net.refractions.udig.libs_1.1.0/lib/gt2-apisrc.zip

I get this error because I do not have
/home/moovida/.m2/repository/gt_source/ in my repo. Anyway, strange
enough, after that error,
/container/development/udig/1.1.x_build/builds/1.1.x-sdk/plugins/net.refractions.udig.libs.source/src/net.refractions.udig.libs_1.1.0/lib/gt2-apisrc.zip
exists.

Anyway at some point of the build, I get a filenotfound error:
java.io.FileNotFoundException:
/container/development/udig/1.1.x_build/builds/1.1.x-sdk/features/net.refractions.udig_platform.source-feature/build.xml
(No such file or directory)

The feature folder is there, but the build.xml not. I guess that xml
is created from the pde build engine, so I can only imagine that there
is some missing entry in some feature file?

Jesse, if you are there, send me a sign. :)

Andrea




On Tue, Nov 11, 2008 at 10:12 AM, andrea antonello
<andrea.antonello@xxxxxxxxx> wrote:
> Take 3:
>
> I now copied over all the plugins from udig_1.1.1 and at that point it works.
> Do you have any idea about why the build is corrupted?
>
> Andrea
>
>
>
>> It is really strange. I tried to substitute teh udig.libs plugin of
>> the not working udig export with the one from the udig1.1.1 and things
>> do still NOT work.
>> So it doesn't seem to be really a geotools issue.
>>
>> The shapefile file I use works well with 1.1.1 but doesn't work with
>> the udig I export, giving the reported errors. So it isn't a data
>> issues.
>>
>> I'm pretty clueless...
>>
>> Andrea
>>
>>
>>
>> On Tue, Nov 11, 2008 at 9:07 AM, andrea antonello
>> <andrea.antonello@xxxxxxxxx> wrote:
>>>> It looks to me like there is something not in degrees. I think you will want
>>>> to put a break point in and see what is being transformed to what.  And see
>>>> where the CRSs are coming from.
>>>
>>> This doesn't happen with the last udig SDK I was working with.
>>> Since nothing should have changed on the geotools side for that
>>> version I was wondering if this could be due to something else?
>>> I am still not able to build the sdk. I will work on that.
>>>
>>> Andrea
>>>
>>>
>>>>
>>>> Jesse
>>>>
>>>> On 11-Nov-08, at 12:45 AM, andrea antonello wrote:
>>>>
>>>>>> Very interesting indeed.  Not sure why this is the case.  Maybe you can
>>>>>> put
>>>>>> the property in the properties file.  I never noticed this on my build...
>>>>>> Mind you I haven't analyzed it in some while since it seemed to work :P.
>>>>>
>>>>> :) Anyway the build seems to work pretty well.
>>>>>
>>>>> Since I wanted also to be able to inject the JGrass/BeeGIS plugins at
>>>>> some point I opted to port your build.xml ant script into Groovy with
>>>>> AntBuilder.
>>>>> I'm at a good point with that and the packages are deployed, but I get
>>>>> some strange geotools error when I try to visualize a layer (in this
>>>>> case shapefile).
>>>>>
>>>>> ...
>>>>> !ENTRY net.refractions.udig.project 2 0 2008-11-11 00:41:54.157
>>>>> !MESSAGE Longitude 497995°25.9'E is out of range (±180°).
>>>>> !STACK 0
>>>>>
>>>>> org.geotools.referencing.operation.projection.PointOutsideEnvelopeException:
>>>>> Longitude 497995°25.9'E is out of range (±180°).
>>>>>       at
>>>>> org.geotools.referencing.operation.projection.MapProjection.transform(MapProjection.java:621)
>>>>>       at
>>>>> org.geotools.referencing.operation.projection.MapProjection.transform(MapProjection.java:678)
>>>>>       at org.geotools.geometry.jts.JTS.xform(JTS.java:274)
>>>>>       at org.geotools.geometry.jts.JTS.transform(JTS.java:168)
>>>>>       at
>>>>> org.geotools.geometry.jts.ReferencedEnvelope.transform(ReferencedEnvelope.java:230)
>>>>>       at
>>>>> net.refractions.udig.project.internal.render.impl.RenderJob.combineRequests(Unknown
>>>>> Source)
>>>>>       at
>>>>> net.refractions.udig.project.internal.render.impl.RenderJob.run(Unknown
>>>>> Source)
>>>>>       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>>>
>>>>> org.geotools.referencing.operation.projection.PointOutsideEnvelopeException:
>>>>> Longitude 497995°25.9'E is out of range (±180°).
>>>>>       at
>>>>> org.geotools.referencing.operation.projection.MapProjection.transform(MapProjection.java:621)
>>>>>       at
>>>>> org.geotools.referencing.operation.projection.MapProjection.transform(MapProjection.java:678)
>>>>>       at org.geotools.geometry.jts.JTS.xform(JTS.java:274)
>>>>>       at org.geotools.geometry.jts.JTS.transform(JTS.java:168)
>>>>>       at
>>>>> org.geotools.geometry.jts.ReferencedEnvelope.transform(ReferencedEnvelope.java:230)
>>>>>       at
>>>>> net.refractions.udig.project.internal.render.impl.RenderJob.combineRequests(Unknown
>>>>> Source)
>>>>>       at
>>>>> net.refractions.udig.project.internal.render.impl.RenderJob.run(Unknown
>>>>> Source)
>>>>>       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>>>>>
>>>>>
>>>>> That is really strange. It seems to see everything in degrees.
>>>>>
>>>>> I made a Udig-only build of the thing and the error is there still, so
>>>>> it is not something added afterwards by me.
>>>>>
>>>>> Any idea about what could go wrong?
>>>>>
>>>>> Ciao
>>>>> Andrea
>>>>>
>>>>>
>>>>>
>>>>>>
>>>>>> Jesse
>>>>>>
>>>>>> On 10-Nov-08, at 12:34 AM, andrea antonello wrote:
>>>>>>
>>>>>>>>> I am testing the headless build for 1.1.x. The sdk build fails because
>>>>>>>>> a filenotfound thing that is really due to the fact that it is not
>>>>>>>>> able to download several of the source packages (of geotools).
>>>>>>>>> Is it possible that the links are somewhat wrong?
>>>>>>>>
>>>>>>>> could be but could you give me the patch to look at?  I am not sure I
>>>>>>>> understand the issue.
>>>>>>>
>>>>>>> What do you mean by "the patch"?
>>>>>>> It worked just by substituting teh product in the properties file.
>>>>>>>
>>>>>>>
>>>>>>> The errors I get are something like:
>>>>>>>   [get] Getting:
>>>>>>>
>>>>>>>
>>>>>>> file:////home/moovida/.m2/repository/gt_source/gt2-api-2.2.3-SNAPSHOT-sources.jar
>>>>>>>   [get] To:
>>>>>>>
>>>>>>>
>>>>>>> /container/development/udig/1.1.x_build/builds/1.1.x-sdk/plugins/net.refractions.udig.libs.source/${lib}/gt2-apisrc.zip
>>>>>>>   [get] Error getting
>>>>>>>
>>>>>>>
>>>>>>> file:////home/moovida/.m2/repository/gt_source/gt2-api-2.2.3-SNAPSHOT-sources.jar
>>>>>>> to
>>>>>>>
>>>>>>> /container/development/udig/1.1.x_build/builds/1.1.x-sdk/plugins/net.refractions.udig.libs.source/${lib}/gt2-apisrc.zip
>>>>>>>   [get] Getting:
>>>>>>>
>>>>>>>
>>>>>>> file:////home/moovida/.m2/repository/gt_source/gt2-gml-2.2.3-SNAPSHOT-sources.jar
>>>>>>>   [get] To:
>>>>>>>
>>>>>>>
>>>>>>> /container/development/udig/1.1.x_build/builds/1.1.x-sdk/plugins/net.refractions.udig.libs.source/${lib}/gt2-gmlsrc.zip
>>>>>>>   [get] Error getting
>>>>>>>
>>>>>>>
>>>>>>> file:////home/moovida/.m2/repository/gt_source/gt2-gml-2.2.3-SNAPSHOT-sources.jar
>>>>>>> to
>>>>>>>
>>>>>>> /container/development/udig/1.1.x_build/builds/1.1.x-sdk/plugins/net.refractions.udig.libs.source/${lib}/gt2-gmlsrc.zip
>>>>>>>   [get] Getting:
>>>>>>>
>>>>>>>
>>>>>>> file:////home/moovida/.m2/repository/gt_source/gt2-main-2.2.3-SNAPSHOT-sources.jar
>>>>>>>   [get] To:
>>>>>>>
>>>>>>>
>>>>>>> /container/development/udig/1.1.x_build/builds/1.1.x-sdk/plugins/net.refractions.udig.libs.source/${lib}/gt2-mainsrc.zip
>>>>>>>   [get] Error getting
>>>>>>>
>>>>>>>
>>>>>>> file:////home/moovida/.m2/repository/gt_source/gt2-main-2.2.3-SNAPSHOT-sources.jar
>>>>>>> to
>>>>>>>
>>>>>>> /container/development/udig/1.1.x_build/builds/1.1.x-sdk/plugins/net.refractions.udig.libs.source/${lib}/gt2-mainsrc.zip
>>>>>>>   [get] Getting:
>>>>>>>
>>>>>>>
>>>>>>> file:////home/moovida/.m2/repository/gt_source/gt2-render-2.2.3-SNAPSHOT-sources.jar
>>>>>>>   [get] To:
>>>>>>>
>>>>>>>
>>>>>>> /container/development/udig/1.1.x_build/builds/1.1.x-sdk/plugins/net.refractions.udig.libs.source/${lib}/gt2-rendersrc.zip
>>>>>>>   [get] Error getting
>>>>>>>
>>>>>>>
>>>>>>> file:////home/moovida/.m2/repository/gt_source/gt2-render-2.2.3-SNAPSHOT-sources.jar
>>>>>>> to
>>>>>>>
>>>>>>> /container/development/udig/1.1.x_build/builds/1.1.x-sdk/plugins/net.refractions.udig.libs.source/${lib}/gt2-rendersrc.zip
>>>>>>>   [get] Getting:
>>>>>>>
>>>>>>>
>>>>>>> file:////home/moovida/.m2/repository/gt_source/gt2-coverage-2.2.3-SNAPSHOT-sources.jar
>>>>>>>   [get] To:
>>>>>>>
>>>>>>>
>>>>>>> /container/development/udig/1.1.x_build/builds/1.1.x-sdk/plugins/net.refractions.udig.libs.source/${lib}/gt2-coveragesrc.zip
>>>>>>> ...etc
>>>>>>>
>>>>>>> Right now when pasting I note the ${lib} in the path. That is probably
>>>>>>> the reason.
>>>>>>>
>>>>>>> Andrea
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> In help of this hypotesis comes the fact that, if I change the product
>>>>>>>>> file url from udig-sdk to udig, then it produces me a nice well
>>>>>>>>> running udig package (for now tested only on linux for linux).
>>>>>>>>>
>>>>>>>>> Ciao
>>>>>>>>> Andrea
>>>>>>>>> _______________________________________________
>>>>>>>>> User-friendly Desktop Internet GIS (uDig)
>>>>>>>>> http://udig.refractions.net
>>>>>>>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> User-friendly Desktop Internet GIS (uDig)
>>>>>>>> http://udig.refractions.net
>>>>>>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> User-friendly Desktop Internet GIS (uDig)
>>>>>>> http://udig.refractions.net
>>>>>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>>>>
>>>>>> _______________________________________________
>>>>>> User-friendly Desktop Internet GIS (uDig)
>>>>>> http://udig.refractions.net
>>>>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>>>>
>>>>> _______________________________________________
>>>>> User-friendly Desktop Internet GIS (uDig)
>>>>> http://udig.refractions.net
>>>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>>
>>>> _______________________________________________
>>>> User-friendly Desktop Internet GIS (uDig)
>>>> http://udig.refractions.net
>>>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>>>
>>>
>>
>


Back to the top