| Summary: | dev-java/ant-core-1.8.4-r1 can't override system properties for ant | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Ivan Baidakou (dmol) <the.dmol> |
| Component: | [OLD] Java | Assignee: | Java team <java> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.xml | ||
|
Description
Ivan Baidakou (dmol)
2012-09-23 18:12:57 UTC
Created attachment 324730 [details]
build.xml
monsieurp@epsilon ~/ant $ ant -version
Apache Ant(TM) version 1.9.1 compiled on March 15 2015
monsieurp@epsilon ~/ant $ cat demo.xml
<?xml version="1.0" encoding="UTF-8"?>
<project default="dist" basedir="." name="Groovy" >
<target name="dist" >
<echo>home=${user.home}</echo>
</target>
</project>
monsieurp@epsilon ~/ant $ ant -Duser.home=/tmp -f demo.xml
Buildfile: /home/monsieurp/ant/demo.xml
dist:
[echo] home=/tmp
BUILD SUCCESSFUL
Total time: 0 seconds
This bug seems to have been solved in recent versions of Ant. Reopen if you still encounter the issue.
|