Hi,
On Mon, Jun 29, 2009 at 3:50 PM, Vincent Massol <vincent(a)massol.net> wrote:
On Jun 29, 2009, at 12:04 PM, asiri (SVN) wrote:
Author: asiri
Date: 2009-06-29 12:04:41 +0200 (Mon, 29 Jun 2009)
New Revision: 21686
Modified:
platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
rendering-macro-chart/src/test/java/org/xwiki/rendering/macro/chart/
TestChartMacro.java
Log:
[misc] Removing the hard-coded directory.
Modified: platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/
xwiki-rendering-macro-chart/src/test/java/org/xwiki/rendering/macro/
chart/TestChartMacro.java
===================================================================
--- platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
rendering-macro-chart/src/test/java/org/xwiki/rendering/macro/chart/
TestChartMacro.java 2009-06-29 09:29:03 UTC (rev 21685)
+++ platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-
rendering-macro-chart/src/test/java/org/xwiki/rendering/macro/chart/
TestChartMacro.java 2009-06-29 10:04:41 UTC (rev 21686)
@@ -38,6 +38,6 @@
*/
protected File getChartImageFile(ChartMacroParameters
parameters, String content)
{
- return new File("./target/chart.png");
+ return new File(System.getProperty("java.io.tmpdir") + "/
chart.png");
This is still bad.
See my reply to the other email.
Thanks.
- Asiri
Thanks
-Vincent
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs