[Om] Problem using apache-ant-1.7.1 to build OpenMath

Ratish Shrestha ratish at selu.edu
Tue Apr 12 04:29:42 CEST 2011


Hi,

 I am beginning to learn about the OpenMath and have been trying to run the
apache-ant (1.7.1) on the file build.xml which is under OpenMath/www/. I
have been getting the following errors while I run the command "ant".

Unknown file:158:58: Fatal Error! Could not find function: replace

Has anyone come across this problem?  If there are any online resources
where I can find a solution, please let me know.

Any help will be greatly appreciated.

Ratish

Full error message when I run the ant command:

Buildfile: build.xml

link-others:

general-xslt:
     [echo] Now processing "regular xml files"
     [xslt] Transforming into
D:\Spring2011\course\Resources\OpenMath\www\target\site
     [echo] Now processing index.xml of meetings and standard
     [xslt] Transforming into
D:\Spring2011\course\Resources\OpenMath\www\target\site

cds-xslt:
     [xslt] Transforming into
D:\Spring2011\course\Resources\OpenMath\www\target\site\cd
     [xslt] Processing
D:\Spring2011\course\Resources\OpenMath\www\cdfiles2\cd\alg1.ocd to
D:\Spring2011\course\Resources\OpenMath\www\target\site\cd\alg1.xhtml

     [xslt] Loading stylesheet
D:\Spring2011\course\Resources\OpenMath\www\cdfiles2\xsl\cd.xsl
     [xslt] Unknown file:158:58: Fatal Error! Could not find function:
replace
     [xslt] : Fatal Error! Fatal error during transformation Cause: Fatal
error during transformation
     [xslt] Failed to transform using stylesheet
D:\Spring2011\course\Resources\OpenMath\www\cdfiles2\xsl\cd.xsl
     [xslt] Failed to process null

BUILD FAILED
Fatal error during transformation

Total time: 9 seconds
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openmath.org/pipermail/om/attachments/20110411/267ebfad/attachment.htm 


More information about the Om mailing list