maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Karasulu <aok...@bellsouth.net>
Subject [idea plugin] trying to muck with plugin to use antlr sources
Date Fri, 24 Sep 2004 08:08:29 GMT
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message