Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » jsbml-development » building extensions
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
rodrigue


Posts: 307
Location:
Cambridge UK
Registered:
February 2005
Re: building extensions 11 Apr '12 08:46 Go to previous message


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

      

SubjectPosterDate
Read Message   building extensions mvaniersel11 Apr '12 03:27
Read Message   Re: building extensions  rodrigue11 Apr '12 08:46
Previous Topic:Constructors in extension elements
Next Topic:More issues with history elements
Go to forum:
-=] Back to Top [=-

Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)

Please use our issue tracking system for any questions or suggestions about this website.