ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ritchie <ganesh.devaraj...@baml.com>
Subject java script error in imported ant file
Date Wed, 19 Jan 2011 15:03:06 GMT

I have a build file -A.xml which imports another build file -B.xml and runs
the targets in the imported file. File B has multiuple targets and one of
the targets has a java script. In the java script i have a line of code
which says " Bproject.setProperty("newtoken", result);" , Bproject is the
name of the project in B.xml. When i run the A.xml the script fails in the
java script.
"C:\*****\A.xml:92: javax.script
.ScriptException: sun.org.mozilla.javascript.internal.EcmaError:
ReferenceError:
 "Bproject" is not defined. (<Unknown source>#9) in <Unknown source> at line
number 9".

Is there a way to solve this?

-- 
View this message in context: http://ant.1045680.n5.nabble.com/java-script-error-in-imported-ant-file-tp3347980p3347980.html
Sent from the Ant - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message