Hi Luis,
I'm afraid there is a underlying assumption, that to use those instructions
one has to be proficient with Maven and Java.
I literally followed them verbatim, just generated the classpath and
replaced the _CLASS_PATH_ variable in the
second script with that value.

If you can make a PR to make that easier for newcomers, it would be welcomed

Cheers
Andrea


On Fri, Oct 25, 2019 at 1:30 PM Luí­s Moreira de Sousa <
luis.de.so...@protonmail.ch> wrote:

> Hi Andrea,
>
> thank you for taking the time to address this. The good news is that I
> manage to run the tests following your exact instructions. However, neither
> from the guide, nor from the instructions in the test file, would I gather
> the parameters passed to maven, or the correct folder from which to
> generate the class path. From the guide I had understood maven would have
> to be run from the root of the project.
>
> Cheers.
>
> --
> Luís
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Thursday, October 24, 2019 7:58 PM, Andrea Aime <
> andrea.a...@geo-solutions.it> wrote:
>
> I was referring specifically to the text in the Sinusoidal.txt file but...
> I tried it and it works?
>
> ~/devel/git-gt/modules/library/referencing $ mvn
> dependency:build-classpath -nsu
> [INFO] Scanning for projects...
> [INFO]
> [INFO] --------------------< org.geotools:gt-referencing
> >---------------------
> [INFO] Building Referencing services 23-SNAPSHOT
> [INFO] --------------------------------[ jar
> ]---------------------------------
> [INFO]
> [INFO] --- maven-dependency-plugin:2.8:build-classpath (default-cli) @
> gt-referencing ---
> [INFO] Dependencies classpath:
>
> /home/aaime/.m2/repository/org/ejml/ejml-ddense/0.34/ejml-ddense-0.34.jar:/home/aaime/.m2/repository/org/ejml/ejml-core/0.34/ejml-core-0.34.jar:/home/aaime/.m2/repository/commons-pool/commons-pool/1.5.4/commons-pool-1.5.4.jar:/home/aaime/.m2/repository/org/geotools/gt-metadata/23-SNAPSHOT/gt-metadata-23-SNAPSHOT.jar:/home/aaime/.m2/repository/org/geotools/gt-opengis/23-SNAPSHOT/gt-opengis-23-SNAPSHOT.jar:/home/aaime/.m2/repository/systems/uom/systems-common-java8/0.7.2/systems-common-java8-0.7.2.jar:/home/aaime/.m2/repository/tec/uom/uom-se/1.0.8/uom-se-1.0.8.jar:/home/aaime/.m2/repository/javax/measure/unit-api/1.0/unit-api-1.0.jar:/home/aaime/.m2/repository/tec/uom/lib/uom-lib-common/1.0.2/uom-lib-common-1.0.2.jar:/home/aaime/.m2/repository/si/uom/si-quantity/0.7.1/si-quantity-0.7.1.jar:/home/aaime/.m2/repository/si/uom/si-units-java8/0.7.1/si-units-java8-0.7.1.jar:/home/aaime/.m2/repository/org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar:/home/aaime/.m2/repository/jgridshift/jgridshift-core/1.2/jgridshift-core-1.2.jar:/home/aaime/.m2/repository/javax/javaee-api/7.0/javaee-api-7.0.jar:/home/aaime/.m2/repository/com/sun/mail/javax.mail/1.5.0/javax.mail-1.5.0.jar:/home/aaime/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/home/aaime/.m2/repository/net/sf/geographiclib/GeographicLib-Java/1.49/GeographicLib-Java-1.49.jar:/home/aaime/.m2/repository/org/geotools/gt-sample-data/23-SNAPSHOT/gt-sample-data-23-SNAPSHOT.jar:/home/aaime/.m2/repository/javax/media/jai_codec/1.1.3/jai_codec-1.1.3.jar:/home/aaime/.m2/repository/net/sourceforge/javacsv/javacsv/2.0/javacsv-2.0.jar:/home/aaime/.m2/repository/javax/media/jai_core/1.1.3/jai_core-1.1.3.jar:/home/aaime/.m2/repository/junit/junit/4.12/junit-4.12.jar:/home/aaime/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time:  0.815 s
> [INFO] Finished at: 2019-10-24T19:55:57+02:00
> [INFO]
> ------------------------------------------------------------------------
>
> ~/devel/git-gt/modules/library/referencing ((72e0dcae10...)) $ java -cp
> target/classes:target/test-classes:/home/aaime/.m2/repository/org/ejml/ejml-ddense/0.34/ejml-ddense-0.34.jar:/home/aaime/.m2/repository/org/ejml/ejml-core/0.34/ejml-core-0.34.jar:/home/aaime/.m2/repository/commons-pool/commons-pool/1.5.4/commons-pool-1.5.4.jar:/home/aaime/.m2/repository/org/geotools/gt-metadata/23-SNAPSHOT/gt-metadata-23-SNAPSHOT.jar:/home/aaime/.m2/repository/org/geotools/gt-opengis/23-SNAPSHOT/gt-opengis-23-SNAPSHOT.jar:/home/aaime/.m2/repository/systems/uom/systems-common-java8/0.7.2/systems-common-java8-0.7.2.jar:/home/aaime/.m2/repository/tec/uom/uom-se/1.0.8/uom-se-1.0.8.jar:/home/aaime/.m2/repository/javax/measure/unit-api/1.0/unit-api-1.0.jar:/home/aaime/.m2/repository/tec/uom/lib/uom-lib-common/1.0.2/uom-lib-common-1.0.2.jar:/home/aaime/.m2/repository/si/uom/si-quantity/0.7.1/si-quantity-0.7.1.jar:/home/aaime/.m2/repository/si/uom/si-units-java8/0.7.1/si-units-java8-0.7.1.jar:/home/aaime/.m2/repository/org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar:/home/aaime/.m2/repository/jgridshift/jgridshift-core/1.2/jgridshift-core-1.2.jar:/home/aaime/.m2/repository/javax/javaee-api/7.0/javaee-api-7.0.jar:/home/aaime/.m2/repository/com/sun/mail/javax.mail/1.5.0/javax.mail-1.5.0.jar:/home/aaime/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar:/home/aaime/.m2/repository/net/sf/geographiclib/GeographicLib-Java/1.49/GeographicLib-Java-1.49.jar:/home/aaime/.m2/repository/org/geotools/gt-sample-data/23-SNAPSHOT/gt-sample-data-23-SNAPSHOT.jar:/home/aaime/.m2/repository/javax/media/jai_codec/1.1.3/jai_codec-1.1.3.jar:/home/aaime/.m2/repository/net/sourceforge/javacsv/javacsv/2.0/javacsv-2.0.jar:/home/aaime/.m2/repository/javax/media/jai_core/1.1.3/jai_core-1.1.3.jar:/home/aaime/.m2/repository/junit/junit/4.12/junit-4.12.jar:/home/aaime/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
> -ea org.geotools.referencing.ScriptRunner
> src/test/resources/org/geotools/referencing/test-data/scripts/Sinusoidal.txt
> Running
> "src/test/resources/org/geotools/referencing/test-data/scripts/Sinusoidal.txt"
> ott 24, 2019 7:56:13 PM
> org.geotools.referencing.operation.projection.Sinusoidal transform
> AVVERTENZA: Possible use of "Sinusoidal" projection outside its valid area.
> Longitude 0°00.0'E is out of range (±180°).
> ──────────────────
> Tests:          11
> Errors:          0
> Success rate: 100%
> ──────────────────
>
> Maybe you did not replace the classpath variable with the output fo the
> "mvn dependency:build-classpath" command?
>
> That said, for any development, I would still warmly recommend using a IDE
>
> Cheers
> Andrea
>
> ==
>
> 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
> ------------------------------------------------------- *Con riferimento
> alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
> Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
> circostanza inerente alla presente email (il suo contenuto, gli eventuali
> allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
> destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
> errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
> sarei comunque grato se potesse darmene notizia. This email is intended
> only for the person or entity to which it is addressed and may contain
> information that is privileged, confidential or otherwise protected from
> disclosure. We remind that - as provided by European Regulation 2016/679
> “GDPR” - copying, dissemination or use of this e-mail or the information
> herein by anyone other than the intended recipient is prohibited. If you
> have received this email by mistake, please notify us immediately by
> telephone or e-mail.*
>
>
>

-- 

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
------------------------------------------------------- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to