You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by "Siegfried Goeschl (Jira)" <ji...@apache.org> on 2020/07/07 12:10:00 UTC
[jira] [Comment Edited] (FREEMARKER-151) [freemarker-cli] Ensure
that build and and examples are running on Windows
[ 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:09 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
In addition to that
* I added various batch files to run integration tests
* Package a "run-examples.bat" into the application
was (Author: sgoeschl):
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 [~ddekany@freemail.hu] 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)