Menu

#86 Unable to compile some modules with Ant

jsbml 1.0
closed-fixed
None
5
2015-03-19
2015-03-19
No

Hi,

Using the latest trunk (r. 2147) and Ant, I cannot compile some modules (such as celldesigner or tidy).
This happens when either running "ant module-dist" from the root or "ant jar" from an individual module folder.
Usual error message says: BUILD FAILED [...]/JSBML/build does not exist.

Camille.

Discussion

  • Nicolas Rodriguez

    • status: unread --> closed-fixed
    • assigned_to: Nicolas Rodriguez
     
  • Nicolas Rodriguez

    The problem you encountered might have been related to an error in the distrib build file that prevented the compilation of this extension.

    I have corrected that so now 'ant dist' should work, even from a fresh checkout.

    I have added a README file on the tidy module folder to explain how to compile it. At the moment, it does require to have jsbml-core compiled beforehand and I don't think we will change that in the near future.

     
  • Camille Laibe

    Camille Laibe - 2015-03-19

    Thank you for that. Actually that did not solve my issue. I realised that the 'compile' task of the 'tidy' module Ant needs a folder 'build' at the root of the trunk that is not provided by a clean checkout (and subsequent core compilation). So that I needed to manually create it. Would be worth to add it to the trunk.

     
    • Andreas Dräger

      Andreas Dräger - 2015-03-19

      Am 19.03.15 um 10:16 schrieb Camille Laibe:

      Thank you for that. Actually that did not solve my issue. I realised
      that the 'compile' task of the 'tidy' module Ant needs a folder
      'build' at the root of the trunk that is not provided by a clean
      checkout (and subsequent core compilation). So that I needed to
      manually create it. Would be worth to add it to the trunk.


      Hi Camille,

      Thanks for your feedback. I don't think it should be added to the trunk.
      The Ant script should better generate it if it is missing.

      Thanks
      Andreas

      --
      Dr. Andreas Draeger
      University of California, San Diego, La Jolla, CA 92093-0412, USA
      Bioengineering Dept., Systems Biology Research Group, Office #2506
      Phone: +1-858-534-9717, Fax: +1-858-822-3120, twitter: @dr_drae

       
    • Nicolas Rodriguez

      I have added a README file in the tidy folder. Can you have a look at the instructions to see if that solve your problem.
      Also, if you are doing a 'ant dist' in the trunk folder, you will have the tidy distribution generated along with the jsbml jar files.

       

Log in to post a comment.

MongoDB Logo MongoDB