ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ritchie <>
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
 "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:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message