You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Mark McBride <ma...@llnl.gov> on 2003/05/06 20:18:37 UTC
Maven Eclipse Plugin
Hi all,
Do you think it would be beneficial to add the following code to the
eclipse:generate-classpath goal:
<<project.properties entry>>
maven.eclipse.src.hack=src/iutest,src/ide-generated-code,src/java,src/test
<<plug-in code>>
<util:tokenize var="sources" delim=","
trim="true">${maven.eclipse.src.hack}</util:tokenize>
<j:forEach var="source" items="${sources}">
<classpathentry kind="src" path="${source.trim()}"/>
</j:forEach>
This would allow projects that have source directories that don't match up
well with the pom (ie code-generated src directories) the ability to use
eclipse:generate-classpath goal.
Thanks!
-Mark