jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-2014) oak-run build fails on windows
Date Thu, 14 Aug 2014 06:53:12 GMT

    [ https://issues.apache.org/jira/browse/OAK-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14096669#comment-14096669

Chetan Mehrotra commented on OAK-2014:

bq. But now, we have only 2 of them: oak-run-jr2.jar and oak-run.jar

Yes thats intentional as to prevent installing duplicate copy and thus avoid wasting space

bq. Otoh, if we want to keep the current way, we should use ant's move instead.

Move can be used but I initially avoided that as it might pose problem on Windows as Maven
might hold lock on newly created file. If you can provide a patch which works fine on Windows
that would be helpful

> oak-run build fails on windows
> ------------------------------
>                 Key: OAK-2014
>                 URL: https://issues.apache.org/jira/browse/OAK-2014
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: run
>         Environment: Windows 7
>            Reporter: Amit Jain
>            Assignee: Chetan Mehrotra
>             Fix For: 1.1
>         Attachments: OAK-2014.patch
> Following error is returned when building oak-run on windows.
> {code}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (default)
on project oak-run: An Ant BuildException has
> ccured: Unable to delete file C:\Data\Source\oak\oak-run\target\oak-run-1.1-SNAPSHOT.jar
> [ERROR] around Ant part ...<delete file="C:\Data\Source\oak\oak-run\target/oak-run-1.1-SNAPSHOT.jar"/>...
@ 4:78 in C:\Data\Source\oak\oak-r
> n\target\antrun\build-main.xml
> {code}

This message was sent by Atlassian JIRA

View raw message