I don't think there is a future in specific properties for each
plugin:-) What happens when I write another one? I'm not going to
remember to update the idea plugin...
My solution for idea/xmlbeans is to include an additional property
maven.idea.generated.source=xmlbeans
which adds target/xmlbeans to the idea sources.
This is similar to what the eclipse plugin does.
See http://jira.codehaus.org/browse/MPIDEA-10
thanks
david jencks
On Sep 24, 2004, at 1:08 AM, Alex Karasulu wrote:
Hiya,
I've been playing with the idea plugin to see if I can get it to
include
the antlr generated path. Here's the change I made by the way does not
work:
(cvs diff inside maven-plugins/idea in trunk)
Index: src/plugin-resources/templates/v4/module.jelly
===================================================================
RCS file:
/home/cvspublic/maven-plugins/idea/src/plugin-resources/templates/v4/
module.jelly,v
retrieving revision 1.7
diff -r1.7 module.jelly
123a124,127
<j:if test="${antlrSourcesPresent}">
<maven:makeRelativePath var="value" basedir="${basedir}"
path="${maven.antlr.target.dir}" separator="/" />
<sourceFolder url="file://$$MODULE_DIR$$/${value}"
isTestSource="true"/>
</j:if>
Now this does not work because I did not know if there was an
equivalent
to sourcesPresent for antlr. I made up 'antlrSourcesPresent' above as
a
place holder. Was wondering what I should use here instead or does no
equivalent property exist for antlr sources?
Thanks,
Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]