[ 
https://issues.apache.org/jira/browse/FREEMARKER-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17152699#comment-17152699
 ] 

Siegfried Goeschl edited comment on FREEMARKER-151 at 7/7/20, 12:12 PM:
------------------------------------------------------------------------

Turned out to be more complicated than expected since Travis does not support 
Windows with JDK so I did the exercise on a local Windows installation. 

Fixed a couple of issues

* Sorting of files from directory scan was depending on OS
* File names to be used for URIs need to have Unix-style slashes
* Settled for "JAVA_HOME" (instead of PWD) for tests with environment variables
* Maven plugin tests were also affected by Windows versus Unix style slashes
* Removed CommonsExecTool integration tests since this would be extra painful 
to maintain

In addition to that 

* I added various batch files to run integration tests
* Package a "run-examples.bat" into the application




was (Author: sgoeschl):
Turned out to be more complicated than expected since Travis does not support 
Windows with JDK so I did the exercise on a local Windows installation. 

Fixed a couple of issues

* Sorting of files from directory scan was depending on OS
* File names to be used for URIs need to have Unix-style slashes
* Settled for "JAVA_HOME" (instead of PWD) for tests with environment variables
* Maven plugin tests were also affected by Windows versus Unix style slashes

In addition to that 

* I added various batch files to run integration tests
* Package a "run-examples.bat" into the application



> [freemarker-cli] Ensure that build and and examples are running on Windows
> --------------------------------------------------------------------------
>
>                 Key: FREEMARKER-151
>                 URL: https://issues.apache.org/jira/browse/FREEMARKER-151
>             Project: Apache Freemarker
>          Issue Type: Task
>            Reporter: Siegfried Goeschl
>            Assignee: Siegfried Goeschl
>            Priority: Major
>
> As mentioned by [[email protected]] we have build problems under Windows 
> which are a bit hard to identify since I work with Mac OS X.
> According to https://docs.travis-ci.com/user/multi-os/ it should be quite 
> easy to use Windows for a Travis build



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to