| Author | Topic |
Posts: 4
Registered: August 2009
|
|
|
Posts: 307
Location: Cambridge UK
Registered: February 2005
|
|
Re: building extensions
|
11 Apr '12 08:46
|
 |
|
Thanks Martijn, I applied the changes to the extension build files
although slightly differently as I did it before you mail went through.
Nico
On 11/04/12 16:36, mvaniersel wrote:
> In my setup, the SBML-qual build file can't find the core library anymore.
>
> Here is what I did:
>
> svn co https://jsbml.svn.sourceforge.net/svnroot/jsbml/trunk jsbml
> cd jsbml/core
> ant jar
> cd ../extensions/qual
> ant jar
>
>
> After the last command, I get a complaint that the directories jsbml/build and jsbml/lib don't exist. However, it should use jsbml/core/build and jsbml/core/lib.
>
>
> I propose the following patch, which lets you override the core directory location more easily with e.g. "ant jar -Djsbml.core.dir=../../core"
>
>
> Index: extensions/qual/build.xml
> ===================================================================
> --- extensions/qual/build.xml (revision 1214)
> +++ extensions/qual/build.xml (working copy)
> @@ -46,9 +46,10 @@
> <property name="build.dest" value="${basedir}/build/classes"/>
> <property name="build.javadocs" value="${basedir}/build/apidocs"/>
> <property name="jars.dir" value="${basedir}/lib"/>
> - <property name="jsbml.jars.dir" value="${basedir}/../../lib"/>
> - <property name="jsbml.build.dir" value="${basedir}/../../build"/>
> - <property name="jsbml.build.src" value="${basedir}/../../build/src"/>
> + <property name="jsbml.core.dir" value="${basedir}/../.."/>
> + <property name="jsbml.jars.dir" value="${jsbml.core.dir}/lib"/>
> + <property name="jsbml.build.dir" value="${jsbml.core.dir}/build"/>
> + <property name="jsbml.build.src" value="${jsbml.core.dir}/build/src"/>
> <property name="dist.root" value="${basedir}/dist"/>
> <property name="dist.dir" value="${dist.root}/${name}-${version}"/>
> <property name="package.dir" value="${basedir}/build/package"/>
>
> ____________________________________________________________
> To manage your jsbml-development list subscription, visit
> https://utils.its.caltech.edu/mailman/listinfo/jsbml-development
>
> For a web interface to the jsbml-development mailing list, visit
> http://sbml.org/Forums/
>
> For questions or feedback about the jsbml-development list,
> contact sbml-team@caltech.edu
____________________________________________________________
To manage your jsbml-development list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/jsbml-development
For a web interface to the jsbml-development mailing list, visit
http://sbml.org/Forums/
For questions or feedback about the jsbml-development list,
contact sbml-team@caltech.edu
|
|
|