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-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to