Hi,
those files are part of the sources, many years ago there was no convention
to put them in src/test/resources
and we adapted the maven build files to allow certain types of file to site
among the sources instead (GeoServer
was not always built with maven).
So, those particular files can be found among the sources:
https://github.com/geoserver/geoserver/tree/master/src/main/src/test/java/org/geoserver/data/test
Code written in more recent times also has resource files in
src/test/resources though, remember to check both
places.
Cheers
Andrea
On Mon, Dec 4, 2017 at 9:34 AM, KuanYu Shen <[email protected]> wrote:
> Hi Andrea,
>
> After I build up the geoserver, it will generate some compile file in the
> geoserver\src\wms\target\test-classes\org\geoserver\wms\dimension.
> In this folder include some class files and zip
> files(watertemp、custwatertemp_time、custwatertemp_depth、custwatertemp).
>
>
> I don't know those zip files how to generate?
>
>
> 2017-12-04 11:18 GMT+08:00 KuanYu Shen <[email protected]>:
>
>> Hi Andrea,
>>
>> If I want to add a breakpoint, it means I have to use the IDE(ex:eclipse)?
>>
>> And I use this command:
>>
>> mvn -DskipTests clean install
>>
>> This result is Build Success, I think the unit test of windows environment
>> have something error.
>>
>> Best regards,
>> KuanYu
>>
>> 2017-12-02 16:59 GMT+08:00 Andrea Aime <[email protected]>:
>>
>>> On Sat, Dec 2, 2017 at 8:08 AM, 沈冠宇 <[email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> I have another question is *MockData.java *this java file create fake
>>>> data to test, so it mean the data is not exist or is at someone dir?
>>>>
>>>
>>> GeoServerTestSupport uses MockData to create on the fly a data directory
>>> for integration tests to use, and the same data dir
>>> is removed at the end of the test. If you put a breakpoint while the
>>> test is running, you will find the data directory
>>> created in target/, with a name like "default<longNumberHere>data".
>>>
>>> Sorry I have a lot of questions because this is my first time join the
>>>> big source project and my ability is not good.
>>>>
>>>
>>> Yeah, GeoServer is big and complex indeed
>>>
>>> Cheers
>>> Andrea
>>>
>>>
>>> --
>>>
>>> Regards,
>>>
>>> Andrea Aime
>>>
>>> ==
>>> GeoServer Professional Services from the experts! Visit
>>> http://goo.gl/it488V for more information.
>>> ==
>>>
>>> Ing. Andrea Aime
>>> @geowolf
>>> Technical Lead
>>>
>>> GeoSolutions S.A.S.
>>> Via di Montramito 3/A
>>> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
>>> 55054 Massarosa
>>> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054+%C2%A0Massarosa&entry=gmail&source=g>
>>> (LU)
>>> phone: +39 0584 962313 <+39%200584%20962313>
>>> fax: +39 0584 1660272 <+39%200584%20166%200272>
>>> mob: +39 339 8844549 <+39%20339%20884%204549>
>>>
>>> http://www.geo-solutions.it
>>> http://twitter.com/geosolutions_it
>>>
>>> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
>>>
>>> Le informazioni contenute in questo messaggio di posta elettronica e/o
>>> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
>>> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
>>> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
>>> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
>>> darcene notizia via e-mail e di procedere alla distruzione del messaggio
>>> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
>>> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
>>> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
>>> principi dettati dal D.Lgs. 196/2003.
>>>
>>> The information in this message and/or attachments, is intended solely
>>> for the attention and use of the named addressee(s) and may be confidential
>>> or proprietary in nature or covered by the provisions of privacy act
>>> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
>>> Code).Any use not in accord with its purpose, any disclosure, reproduction,
>>> copying, distribution, or either dissemination, either whole or partial, is
>>> strictly forbidden except previous formal approval of the named
>>> addressee(s). If you are not the intended recipient, please contact
>>> immediately the sender by telephone, fax or e-mail and delete the
>>> information in this message that has been received in error. The sender
>>> does not give any warranty or accept liability as the content, accuracy or
>>> completeness of sent messages and accepts no responsibility for changes
>>> made after they were sent or for other risks which arise as a result of
>>> e-mail transmission, viruses, etc.
>>>
>>>
>>
>>
>> --
>>
>> *KuanYu Shen*
>>
>>
>> e-mail: [email protected]
>>
>>
>> phone: +886-978822075 <+886%20978%20822%20075>
>>
>>
>
>
> --
>
> *KuanYu Shen*
>
>
> e-mail: [email protected]
>
>
> phone: +886-978822075 <+886%20978%20822%20075>
>
>
--
Regards,
Andrea Aime
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel