You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Vikas Saurabh (JIRA)" <ji...@apache.org> on 2014/08/12 14:29:11 UTC

[jira] [Commented] (OAK-2014) oak-run build fails on windows

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

Vikas Saurabh commented on OAK-2014:
------------------------------------

I might be missing some info here. But, afaics, ant instructions before the patch were akin to {{rm oak-run.jar; cp oak-run-oak.jar oak-run.jar}} while after patch it is {{cp oak-run-oak.jar oak-run.jar; rm oak-run-oak.jar}}.

So, with initial instructions, after build, we'd have {{oak-run-oak.jar}}, {{oak-run-jr2.jar}} and {{oak-run.jar}} (which is a copy of {{oak-run-oak.jar}}). But now, we have only 2 of them: {{oak-run-jr2.jar}} and {{oak-run.jar}}.

I don't know which way this is supposed to be, but, imho, the previous version could be achieved by ant's copy with {{overwrite}} flag. Otoh, if we want to keep the current way, we should use ant's move instead.

> 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
(v6.2#6252)