| Summary: | [3.1M6] Ant build doesnt use global properties defined in Ant Runtime preferences | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Alexander Mitin <diam> |
| Component: | Ant | Assignee: | Platform-Ant-Inbox <platform-ant-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Ant build doesnt use global properties defined in Ant Runtime preferences Here is the sample: <target name="Create TelegramViewer.zip" depends="Create ucp.jar"> <copy todir="build" file="lib/log4j.jar"/> <copy todir="build" file="${eclipse.home}/plugins/org.eclipse.swt.win32_3.1.0.jar"/> ... </target> eclipse.home is defined in Ant Runtime preferenses. this sample gives error: BUILD FAILED Warning: Could not find file C:\eclipse\workspace\ucp\${eclipse.home}\plugins\org.eclipse.swt.win32_3.1.0.jar to copy. if make explicit <property name="eclipse.home" value="c:\eclipse"/> in target then build runs just fine.