Ant / AntConfigurations / AntListener /...
Hi,
I need a little help for the plugin "yWorks Ant Explorer".
There are several problems that I try to solve:
AntListener: I really want to add a global (project) AntListener that
is notified whenever an ant build is started (and also gets notified
when Targets and Tasks are started/finished).
AntConfiguration: I try to get informations about the properties someone
has entered into the ant configuration.
Can anyone help me with that? At the moment I have found the following
entry point, but I don't find the right way to continue.
AntConfiguration antConfiguration = AntConfiguration.getInstance(
project );
antConfiguration.addAntConfigurationListener( new
AntConfigurationListener() {
public void buildFileChanged( BuildFile buildFile ) {
//How can I get the configured properties now???
}
public void buildFileAdded( BuildFile buildFile ) {
}
public void buildFileRemoved( BuildFile buildFile ) {
}
} );
When debugging in, I can see a lot of maps, and in one of the maps I can
see the configured properties. But how can I access them?
Johannes Schneider
Please sign in to leave a comment.
Come on Jetbrains. Please give me a sign...
Any comments?
Johannes Schneider
Johannes Schneider wrote: