You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Jukka Zitting <ju...@gmail.com> on 2008/07/14 19:32:25 UTC

[PATCH] Ant target to generate Eclipse project files for POI

Hi,

See the attached patch for an Ant (1.7+, uses the EchoXML task) target
that creates Eclipse .project and .classpath files that allow POI to
be easily imported in Eclipse. With this target, "ant eclipse" in POI
is roughly equivalent to "mvn eclipse:eclipse" in a Maven project.

I'm not too happy about the solution so far as it hardcodes the
resource paths otherwise referred to as properties like ${main.src}.
The reason for the hardcoding is that Eclipse wants relative paths
instead of the absolute paths used by the current POI properties.

Due to the above flaw I'm not sure if this should be included in svn
trunk, so I'm making the patch available here on the mailing list
instead of the issue tracker.

BR,

Jukka Zitting