Results 1 to 3 of 3

Thread: Cannot build project due to template.mf build error

  1. #1
    Join Date
    Jan 2011
    Posts
    12

    Default Cannot build project due to template.mf build error

    We are getting the following error upgrading from SB 2.0 to 2.1.6. Does anyone have a clue about what to do to resolve this problem?


    <code>
    3/18/11 10:25:47 AM CDT: Build errors org.apache.maven.lifecycle.LifecycleExecutionExcep tion: Failed to execute goal com.springsource.bundlor:com.springsource.bundlor. maven:1.0.0.RELEASE:bundlor (bundlor-transform) on project x: Manifest template path 'C:\${project_dir}/template.mf' does not exist
    </code>/

  2. #2
    Join Date
    Jun 2005
    Posts
    4,230

    Default

    What is "project x"? If you are trying to build Spring Batch it should work (maybe you need -P bootstrap to start with). If you are building your own project, do you want it to be an OSGi bundle? If not then why are you using bundlor? If yes, then look at the Spring Batch POMs and template.mf to see how we configure it.

  3. #3
    Join Date
    Jan 2011
    Posts
    12

    Default

    Thanks Dave.
    No it was not an OSGI project which was what was leading to my frustration. I relayed your comments to my team and asked them to revisit the upgrade to see what might have inadvertently been included.

    Appears the bundlor plugin was included by mistake and things just snow balled from there.

    Thanks for you help

Posting Permissions

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