I have know custwatertemp_time.zip have error in windows and have corrected.
I will continue to debug other errors in windows environment.
···
2017-12-04 23:58 GMT+08:00 KuanYu Shen <sos84418@anonymised.com>:
Hi Andrea,
I find the zip file in the src/wms/src/test/resources/org/geoserver/wms/dimension.
There has one file named custwatertemp_time.zip
In this zip have NCOM_wattemp^2001-05-01T00:00:00.000Z、 NCOM_wattemp^2001-05-02T00:00:00.000Z、 NCOM_wattemp^2001-05-03T00:00:00.000Z tiff files, I find those file have some error(0x80070057 error) in the windows environment when I try to unzip them.
I don’t know this situation whether happens in Linux?
Best regards,
KuanYu
0x80070057
0x80070057
0x80070057
0x80070057
0x8007
–
2017-12-04 17:07 GMT+08:00 Andrea Aime <andrea.aime@anonymised.com>:
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
–
KuanYu Shen
e-mail: sos84418@anonymised.com
phone: +886-978822075
On Mon, Dec 4, 2017 at 9:34 AM, KuanYu Shen <sos84418@anonymised.com> 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?
–
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.
2017-12-04 11:18 GMT+08:00 KuanYu Shen <sos84418@anonymised.com>:
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
–
KuanYu Shen
e-mail: sos84418@anonymised.com
phone: +886-978822075
2017-12-02 16:59 GMT+08:00 Andrea Aime <andrea.aime@anonymised.com>:
–
KuanYu Shen
e-mail: sos84418@anonymised.com
phone: +886-978822075
On Sat, Dec 2, 2017 at 8:08 AM, 沈冠宇 <sos84418@anonymised.com> 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 “defaultdata”.
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
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.
KuanYu Shen
e-mail: sos84418@anonymised.com
phone: +886-978822075