Generate EAR deployment descriptor from Ivy resolution reportPage edited by Bas NossingChanges (2)
Full ContentAn old blogpost prompted me to try and devise a more current and elegant method of compiling the EAR deployment descriptor (application.xml) from an Ivy resolution report. Being a novice to XSLT use and syntax I chose to base this transformation/translation on the default Ivy report templates provided with the latest distribution (at the time of this writing that is Ivy version 2.2.0). Using the wealth of information available from the resolution report in combination with the ANT ivy:report task I came up with the following solution: The following is just an example ANT target that demonstrates the use of the actual XSLT: <target name="generate" depends="resolve"> <ivy:report todir="${bin.archive.dir}/META-INF" outputpattern="application.xml" graph="false" xslfile="ivy-report-appxml14.xsl"/> </target>
In its current form the XSLT does not take into account the following:
Change Notification Preferences
View Online
|
View Changes
|
Add Comment
|
- [CONF] Apache Ivy (Apache Ant subproject) > Generate EAR de... confluence
- [CONF] Apache Ivy (Apache Ant subproject) > Generate E... confluence
- [CONF] Apache Ivy (Apache Ant subproject) > Generate E... confluence
- [CONF] Apache Ivy (Apache Ant subproject) > Generate E... confluence
- [CONF] Apache Ivy (Apache Ant subproject) > Generate E... confluence
- [CONF] Apache Ivy (Apache Ant subproject) > Generate E... confluence
- [CONF] Apache Ivy (Apache Ant subproject) > Generate E... confluence
- [CONF] Apache Ivy (Apache Ant subproject) > Generate E... confluence
- [CONF] Apache Ivy (Apache Ant subproject) > Generate E... confluence
- [CONF] Apache Ivy (Apache Ant subproject) > Generate E... confluence
- [CONF] Apache Ivy (Apache Ant subproject) > Generate E... confluence
