Results 1 to 2 of 2

Thread: Bundlor: using manifest properties in ant build

  1. #1
    Join Date
    Jun 2009
    Posts
    2

    Default Bundlor: using manifest properties in ant build

    Hi,

    I'm looking for a way to use property substitution in bundlor with ant. I found out that current ant properties are not accessible directly in bundlor, is there any specific reason for it?

    Also bundlor documentation says that we may use property tag within propertyset while ant propertyset only allows propertyref, propertyset or mapper.

    Finally I came up with using propertyref inside propertyset for each ant property in manifest template, like
    Code:
    <bundlor:bundlor ...>
      <propertyset>
        <propertyref name="ant.project.name"/>
      </propertyset>
    </bundlor:bundlor>
    So in my manifest template I can use it like
    Code:
    Project-Name: ${ant.project.name}
    So isn't there any easier way?

  2. #2
    Join Date
    Jun 2009
    Posts
    2

    Default

    Finally, we used wildcard mapper to pass all ant properties into bundlor
    Code:
    <propertyset><mapper from="*" to="*"/></propertyset>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •