History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-12766
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Eugene Zhuravlev
Reporter: Alexander Chernikov
Votes: 1
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Ant integration: ant project, target rename does not update reference from imported tasks

Created: 19 Dec 06 19:05   Updated: 06 Nov 08 23:26
Component/s: Ant Integration
Fix Version/s: Undefined

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 6,603


 Description  « Hide
Provide two ant files. File including.xml:
<project name="including" default="main">
	<import file="included.xml"/>

	<target name="subr">
		<echo message="From including."/>
	</target>

	<target name="main" depends="included.subr"/>
</project>

File included.xml:

<project name="included" default="subr">
	<target name="subr">
		<echo message="From included."/>
	</target>
</project>

With such code main target runs successfully. Now Refactor / Rename the "included" project name (not file, but project). After that the element <target name="main" depends="included.subr"/>
is not updated, running build fails.



 All   Comments   Work Log   Change History      Sort Order:
Alexander Chernikov - 19 Dec 06 19:14
Same bug on renaming target.

Alexander Chernikov - 26 Sep 07 20:44
7304: renaming target works, renaming project does not.