Hi Mark,
thank you for your reply. mvn test-compile runs without errors, but it does
not create the test-classes folder inside ./target.
Thanks.
--
Luís
Sent with [ProtonMail](https://protonmail.com) Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, October 21, 2019 7:23 PM, mark <mc.pr...@gmail.com> wrote:
> On 10/21/19 11:59 AM, Luís Moreira de Sousa via GeoTools-Devel wrote:
>
>> Hi all,
>>
>> I am trying to run the projections tests. They all complain of the absence
>> of ScriptRunner, e.g.:
>>
>> $ java -cp target/classes:target/test-classes:$CLASSPATH -ea
>> org.geotools.referencing.ScriptRunner
>> src/test/resources/org/geotools/referencing/test-data/scripts/Sinusoidal.txt
>> Error: Could not find or load main class
>> org.geotools.referencing.ScriptRunner
>>
>> The ScriptRunner indeed does not feature in the class path produced by maven:
>>
>> $ mvn dependency:build-classpath > mvn.out
>> $ cat mvn.out | grep ScriptRunner
>> $
>>
>> Do I need to obtain the class path in a different way?
>
> You need to use the "test" classpath as ScriptRunner is a test class:
> https://github.com/geotools/geotools/blob/master/modules/library/referencing/src/test/java/org/geotools/referencing/ScriptRunner.java
>
> A compiled version should be in ./target/test-classes/ after compiling test
> sources (
>
> mvn test-compile
>
> should make that happen)
>
> -M
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel