Code, content and template assist inside the ant editor for custom tasks [message #674634] |
Fri, 27 May 2011 15:56 |
Eclipse User |
|
|
|
Originally posted by: Roland Laqua
Hi all,
I am developing a plug-in extending ant with some customer tasks. Now I
like to integrate code, content and template assist, but I am still
facing the following problems:
1. Code assist. Code assist works fine as long as I do not define a
custom task namespace via the "uri" parameter in the
"org.eclipse.ant.core.antTasks" extension point. Because I like to
separate my custom tasks in an ant build file by a xmlns declaration in
project task definition
<project
name="xyz"
default="all"
basedir="."
xmlns:sant="antlib:com.asd.ant"
...>
...
</project>
I have to define the "uri". What do I have to do to get the code assist
running for a custom task with a namespace?
2. Content assist. I have absolutely no glue how to integrate code
assist. Is it right, that I have to create the javadocs, e.g. with
"Generate Javadoc ..." action, and then? What do I have to do then? A
pure integration of the "doc" directory in the new plugin does not show
any reaction. How does the ant editor integrate content assist? Even in
the eclipse ant plugin I can not find any javadoc for the basic ant
tasks, although their content assist will be shown?
3. Template assist. Here is the situation more or less the same as for
the content assist. How do I have to define the templates and where do I
have to integrate them?
Cheers in advance!
|
|
|
|
Powered by
FUDForum. Page generated in 0.03471 seconds