[
https://jira.codehaus.org/browse/JBEHAVE-430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mauro Talevi resolved JBEHAVE-430.
----------------------------------
Resolution: Duplicate
Fix Version/s: 3.6
Fixed by JBEHAVE-634.
> build.xml may not work due to user rights and can change users {ant.home}/lib
> -----------------------------------------------------------------------------
>
> Key: JBEHAVE-430
> URL: https://jira.codehaus.org/browse/JBEHAVE-430
> Project: JBehave
> Issue Type: Bug
> Components: Ant Tasks
> Affects Versions: 3.1.2
> Environment: linux ubuntu
> Reporter: Zsolt Fabok
> Priority: Minor
> Fix For: 3.6
>
>
> Hi,
> The shipped build.xml of jbehave 3.1.2 has two targets: setup and
> copy-dependencies. The second one depends on the first one, but under certain
> circumstances the setup task may fail, which will make the copy-dependencies
> fail. For example if someone has a globally installed ant version (in case of
> ubuntu apt-get install ant).
> ~/Desktop/jbehave-3.1.2/lib % ant
> Buildfile: /home/zsolt/Desktop/jbehave-3.1.2/lib/build.xml
> setup:
> [copy] Copying 1 file to /usr/share/ant/lib
> BUILD FAILED
> /home/zsolt/Desktop/jbehave-3.1.2/lib/build.xml:9: Failed to copy
> /home/zsolt/Desktop/jbehave-3.1.2/lib/maven-ant-tasks-2.1.0.jar to
> /usr/share/ant/lib/maven-ant-tasks-2.1.0.jar due to
> java.io.FileNotFoundException /usr/share/ant/lib/maven-ant-tasks-2.1.0.jar
> (Permission denied)
> Additionally I don't really like that the setup tasks changes the content of
> my {ant.home/lib} folder, because I might have the latest version (currently
> 2.1.1) of maven-ant-tasks for some reasons, but the build.xml of jbehave
> removes it and replaces it with an older version (2.1.0)
> After removing the dependency between the setup and copy-dependencies tasks I
> was able to download the libraries of jbehave.
> Cheers,
> Zsolt
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email