java - Ant Script importPackage does not work after upgrading to ant 1.9.2 -


just upgraded eclipse luna contains ant 1.9.2 , <script> targets stopped working in code:

<script language="javascript"><![cdata[     importpackage(java.net);     importpackage(java.io);     ... 

error message:

 javax.script.scriptexception: referenceerror: "importpackage" not defined in <eval> @ line number 2 

what version of java running? rhino has been replaced in java 8.

the following bug might problem: jdk-8025132.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -