#1 Patch to XINS 2.1 to allow dependency "deploy" attribute

closed-fixed
None
5
2007-12-17
2007-10-26
No

I have a scenario where I need some build dependencies, more specifically,
jars that are needed to build my server side functions, that I don't wish
to be included in the built WAR file for deployment.

A good example of this is Apache Jakarta Commons DBCP connection pooling. I
need it to build my API, but Tomcat already comes with it and doesn't need
to be deployed with my WAR file.

Another example is the Spring framework. My app server already contains it,
but to build my API I need it.

I have created a couple of Subversion patches against XINS 2.1 to implement this feature
using the "deploy" attribute on the <dependency> element, it defaults to "true", so building a war acts as it currently does under vanilla XINS 2.1.

Discussion

  • Stephen Gardiner

    Patches to allow deploy attribute on dependency

     
  • Anthony Goubard

    Anthony Goubard - 2007-12-17
    • assigned_to: nobody --> agoubard
     
  • Anthony Goubard

    Anthony Goubard - 2007-12-17
    • status: open --> closed-fixed
     
  • Anthony Goubard

    Anthony Goubard - 2007-12-17

    Logged In: YES
    user_id=987589
    Originator: NO

    Done. Will be in XINS 2.2-alpha1.
    Note that it's not the same implementation.
    The implementation done is:
    - <xsl:template match="dependency" mode="lib">
    + <xsl:template match="dependency[not(@deploy = 'false')]" mode="lib">

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks