sbmlteam / jsbml

JSBML is a community-driven project to create a free, open-source, pure Java™ library for reading, writing, and manipulating SBML files (the Systems Biology Markup Language) and data streams. It is an alternative to the mixed Java/native code-based interface provided in libSBML.
https://sbml.org/software/jsbml/
GNU Lesser General Public License v2.1
37 stars 24 forks source link

Unable to compile some modules with Ant #86

Closed mephenor closed 8 years ago

mephenor commented 9 years ago

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.

Reported by: perkeo

mephenor commented 9 years ago

Original comment by: niko-rodrigue

mephenor commented 9 years ago

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.

Original comment by: niko-rodrigue

mephenor commented 9 years ago

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.

Original comment by: perkeo

mephenor commented 9 years ago

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

Original comment by: draeger

mephenor commented 9 years ago

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.

Original comment by: niko-rodrigue