[jira] [Created] (DATAFU-132) Make DataFu compile with Java 8

2018-01-08 Thread Eyal Allweil (JIRA)
Eyal Allweil created DATAFU-132:
---

 Summary: Make DataFu compile with Java 8
 Key: DATAFU-132
 URL: https://issues.apache.org/jira/browse/DATAFU-132
 Project: DataFu
  Issue Type: Improvement
Affects Versions: 1.3.3
Reporter: Eyal Allweil
 Attachments: DATAFU-132.patch

Currently DataFu only compiles with Java 7. It would be great if Java 8 could 
be used. The attached patch makes this possible by making the Java version 
check more permissive (anything about Java 7).

I've done a build and tests, and deployed the resulting jar and tested a macro 
and UDF with it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (DATAFU-99) Can't build on Windows

2018-01-08 Thread Eyal Allweil (JIRA)

 [ 
https://issues.apache.org/jira/browse/DATAFU-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eyal Allweil updated DATAFU-99:
---
Attachment: DATAFU-99.patch

I've worked out an ugly fix for this problem that sidesteps the problem 
described in the bug.

Basically, the file-locking-with-hashes-when-copying-within-the-same-folder 
problem exists in the [copy 
task|https://docs.gradle.org/3.5.1/userguide/working_with_files.html#sec:copying_files]
 because it attempts to be incremental.

What I did was copy the gradle.properties file to a temporary folder, and then 
use the [copy 
method|https://docs.gradle.org/3.5.1/dsl/org.gradle.api.Project.html#org.gradle.api.Project:copy(org.gradle.api.Action)]
 to copy the changed file back into the original directory.

Like I wrote at the beginning - ugly, but fixes the Windows build and it 
doesn't take long to copy a single small text file one extra time.

> Can't build on Windows
> --
>
> Key: DATAFU-99
> URL: https://issues.apache.org/jira/browse/DATAFU-99
> Project: DataFu
>  Issue Type: Bug
>Reporter: Matthew Hayes
> Attachments: DATAFU-99.patch
>
>
> [~ihadanny] reported that there is an issue building on Windows due to some 
> Gradle bug: 
> https://discuss.gradle.org/t/error-with-a-copy-task-on-windows/1803/3



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)