8 comments
Comment actions Permalink

yep, shift+F6 like all other renames.

0
Comment actions Permalink

Where to invoke - I've did not got it working and hence asked.

Tom

0
Comment actions Permalink

Invoke it when the cursor is on the target name.

0
Comment actions Permalink

I'm getting the error message: "Cannot perform refactoring. Selected Ant
target is not located inside the project." But it is visible in the
"Project" view and added to the "Ant Build" view.

Tom

0
Comment actions Permalink

Hello Tom,

I'm getting the error message: "Cannot perform refactoring. Selected
Ant target is not located inside the project." But it is visible in
the "Project" view and added to the "Ant Build" view.

Tom


Is the ant file located under the module content root, or attached inside
a library? I.e., open the build file in the editor, press Alt+F1 and jump
into the Project View from the menu. Do you come under Libraries node or
under module content node?

I've got the same error, when the build file is under libraries. And this
is correct: libraries content is not the project content.

(BTW, what IDEA version do you use?)

Alexander.


0
Comment actions Permalink

Is the ant file located under the module content root, or attached
inside a library? I.e., open the build file in the editor, press Alt+F1
and jump into the Project View from the menu. Do you come under
Libraries node or under module content node?


It is shown in the "Project" view. The ANT file is located in the project,
but not in a module or library.

(BTW, what IDEA version do you use?)


#9757

Tom

0
Comment actions Permalink

It is shown in the "Project" view. The ANT file is located in the
project, but not in a module or library.


Then it is probably in the same directory with .ipr / .iws files? The simplest
solution I can suggest is to move ant file under some module's content root.

Alexander.


0
Comment actions Permalink

Then it is probably in the same directory with .ipr / .iws files?


Yes.

The simplest solution I can suggest is to move ant file under some module's
content root.


Until I find another reason to move this file from where it is now, I'll
keep it where it is. I don't want to have tools dictate where I have to
store something.

Tom

0

Please sign in to leave a comment.